Re: [PATCH] Initialize off value in asd_process_ctrl_a_user()

2014-12-30 Thread Christoph Hellwig
On Sun, Dec 28, 2014 at 04:12:16PM +0100, Ben Hutchings wrote: > On Tue, 2014-12-02 at 11:34 -0500, Eric B Munson wrote: > > If the asd_find_flash_de() function returns ENOENT the off value will > > be used uninitialized in the call to asd_read_flash_seg(). > > This is just papering over the probl

Re: [PATCH] Initialize off value in asd_process_ctrl_a_user()

2014-12-28 Thread Ben Hutchings
On Tue, 2014-12-02 at 11:34 -0500, Eric B Munson wrote: > If the asd_find_flash_de() function returns ENOENT the off value will > be used uninitialized in the call to asd_read_flash_seg(). This is just papering over the problem. This was my attempt at a proper fix: http://article.gmane.org/gmane.

[PATCH] Initialize off value in asd_process_ctrl_a_user()

2014-12-02 Thread Eric B Munson
If the asd_find_flash_de() function returns ENOENT the off value will be used uninitialized in the call to asd_read_flash_seg(). Signed-off-by: Eric B Munson Cc: sta...@vger.kernel.org --- drivers/scsi/aic94xx/aic94xx_sds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv