Re: [PATCH] staging: rts5208: Add a check for ms_read_extra_data

2019-01-02 Thread Dan Carpenter
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 Yup. It doesn't make sense to use stale

[PATCH] staging: rts5208: Add a check for ms_read_extra_data

2018-12-27 Thread Aditya Pakki
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 --- drivers/staging/rts5208/ms.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git