Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527987

Re: linux-next: build warning after merge of the scsi tree

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: linux-next: build warning after merge of the scsi tree
Date 2016-11-22 23:30 +0100
Message-ID <sGrJD-4Po-25@gated-at.bofh.it> (permalink)
References <sGe01-4cE-9@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web