Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1527278 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2016-11-22 08:50 +0100 |
| Last post | 2016-11-22 23:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
linux-next: build warning after merge of the scsi tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-11-22 08:50 +0100
Re: linux-next: build warning after merge of the scsi tree "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-11-22 23:30 +0100
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2016-11-22 08:50 +0100 |
| Subject | linux-next: build warning after merge of the scsi tree |
| Message-ID | <sGe01-4cE-9@gated-at.bofh.it> |
Hi James,
After merging the scsi tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
drivers/scsi/hpsa.c: In function 'hpsa_slave_alloc':
drivers/scsi/hpsa.c:2033:5: warning: 'sd' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!sd)
^
Introduced by commit
4eb307f7b18d ("scsi: hpsa: use bus '3' for legacy HBA devices")
--
Cheers,
Stephen Rothwell
[toc] | [next] | [standalone]
| From | "Martin K. Petersen" <martin.petersen@oracle.com> |
|---|---|
| Date | 2016-11-22 23:30 +0100 |
| Message-ID | <sGrJD-4Po-25@gated-at.bofh.it> |
| In reply to | #1527278 |
>>>>> "Stephen" == Stephen Rothwell <sfr@canb.auug.org.au> writes:
Stephen,
Stephen> drivers/scsi/hpsa.c: In function 'hpsa_slave_alloc':
Stephen> drivers/scsi/hpsa.c:2033:5: warning: 'sd' may be used
Stephen> uninitialized in this function [-Wmaybe-uninitialized]
Stephen> if (!sd)
Stephen> ^
Stephen> Introduced by commit
Stephen> 4eb307f7b18d ("scsi: hpsa: use bus '3' for legacy HBA
Stephen> devices")
Fixed this up.
Thanks!
--
Martin K. Petersen Oracle Linux Engineering
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web