Re: [PATCH] staging: rts5208: Add a check for ms_read_extra_data
From: Dan Carpenter
Date: Wed Jan 02 2019 - 05:51:35 EST
On Thu, Dec 27, 2018 at 01:35:53PM -0600, Aditya Pakki wrote:
> In ms_copy_page, the function ms_read_extra_data may fail for many
> reasons. The fix adds a check similar to other invocation to return
> error upstream.
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>
Yup. It doesn't make sense to use stale "extra" data.
Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>