RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 589711 - btrfs: Fix compiler warnings
Summary: btrfs: Fix compiler warnings
Keywords:
Status: CLOSED DUPLICATE of bug 603733
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Josef Bacik
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-06 18:08 UTC by Robert Peterson
Modified: 2010-09-15 20:49 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-15 20:49:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Robert Peterson 2010-05-06 18:08:35 UTC
Description of problem:
I was building a rhel6 kernel today from the srpm and noticed
some compiler warnings when btrfs was building.  They scrolled
off my screen pretty fast, but I got some of them:

fs/btrfs/ordered-data.c:136: warning: ‘prev’ may be used uninitialized in this function
fs/btrfs/ordered-data.c:136: note: ‘prev’ was declared here
fs/btrfs/ordered-data.c: In function ‘btrfs_lookup_first_ordered_extent’:
fs/btrfs/ordered-data.c:136: warning: ‘prev’ may be used uninitialized in this function
fs/btrfs/ordered-data.c:136: note: ‘prev’ was declared here
fs/btrfs/ordered-data.c: In function ‘btrfs_lookup_ordered_extent’:
fs/btrfs/ordered-data.c:136: warning: ‘prev’ may be used uninitialized in this f

Version-Release number of selected component (if applicable):
RHEL6.0

How reproducible:
Always

Steps to Reproduce:
1. Download and install the latest rhel6 kernel src.rpm
2. rpmbuild it
3. make
  
Actual results:
See above

Expected results:
No compiler warnings

Additional info:
I was using kernel-2.6.32-24.el6.src.rpm

Comment 2 RHEL Program Management 2010-05-06 19:55:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 RHEL Program Management 2010-07-15 14:47:25 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release. It has
been denied for the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 4 Josef Bacik 2010-09-15 20:49:49 UTC

*** This bug has been marked as a duplicate of bug 603733 ***


Note You need to log in before you can comment on or make changes to this bug.