[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100210165133.0dd46452.sfr@canb.auug.org.au>
Date: Wed, 10 Feb 2010 16:51:33 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: James Bottomley <James.Bottomley@...senPartnership.com>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Giridhar Malavali <giridhar.malavali@...gic.com>,
Sarang Radke <sarang.radke@...gic.com>
Subject: linux-next: build warning after merge of the scsi tree
Hi all,
After merging the percpu tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:
drivers/scsi/qla2xxx/qla_attr.c: In function 'qla2x00_process_vendor_specific':
drivers/scsi/qla2xxx/qla_attr.c:2150: warning: 'req_data' may be used uninitialized in this function
drivers/scsi/qla2xxx/qla_attr.c:2152: warning: 'req_data_len' may be used uninitialized in this function
If the first "goto done_unmap_sg;" in this function is followed, the
req_data will be tested even though it has not been assigned to yet and
if it is non zero, it and req_data_len will be passed to
dma_free_coherent() while still uninitialised.
Introduced by commit 9a069e196767d7b87184fd8d8211d22bb5b9c0b8 ("[SCSI]
qla2xxx: Add BSG support for FC ELS/CT passthrough and vendor commands").
The compiler also produces these:
drivers/scsi/qla2xxx/qla_attr.c:2144: warning: 'command_sent' may be used uninitialized in this function
drivers/scsi/qla2xxx/qla_attr.c:2146: warning: 'type' may be used uninitialized in this function
but I can't easily tell if they are false positives.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists