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

From: Christoph Hellwig
Date: Tue Dec 30 2014 - 07:05:33 EST

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 problem. This was my attempt at a proper
> fix:

That one looks much more useful to me. Can someone give it a second
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at