Re: aic94xx: maybe uninitialized variable in asd_process_ctrl_a_user

2014-04-11 Thread Paul Bolle
On Thu, 2014-04-10 at 22:13 -0700, Filipe Brandenburger wrote: > While building a recent kernel with -Werror I found this warning: > > drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_read_flash': > drivers/scsi/aic94xx/aic94xx_sds.c:597:21: error: 'offs' may be used > uninitialized in this

Re: aic94xx: maybe uninitialized variable in asd_process_ctrl_a_user

2014-04-11 Thread Paul Bolle
On Thu, 2014-04-10 at 22:13 -0700, Filipe Brandenburger wrote: While building a recent kernel with -Werror I found this warning: drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_read_flash': drivers/scsi/aic94xx/aic94xx_sds.c:597:21: error: 'offs' may be used uninitialized in this

aic94xx: maybe uninitialized variable in asd_process_ctrl_a_user

2014-04-10 Thread Filipe Brandenburger
Hi James, While building a recent kernel with -Werror I found this warning: drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_read_flash': drivers/scsi/aic94xx/aic94xx_sds.c:597:21: error: 'offs' may be used uninitialized in this function [-Werror=maybe-uninitialized]

aic94xx: maybe uninitialized variable in asd_process_ctrl_a_user

2014-04-10 Thread Filipe Brandenburger
Hi James, While building a recent kernel with -Werror I found this warning: drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_read_flash': drivers/scsi/aic94xx/aic94xx_sds.c:597:21: error: 'offs' may be used uninitialized in this function [-Werror=maybe-uninitialized]