Re: [PATCH] rts5208: fix a missing check of the status of sd_init_power

2019-01-02 Thread Dan Carpenter
On Tue, Dec 25, 2018 at 02:33:32AM -0600, Kangjie Lu wrote: > sd_init_power() could fail. The fix inserts a check of its status. If it > fails, returns STATUS_FAIL. > > Signed-off-by: Kangjie Lu > --- > drivers/staging/rts5208/sd.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >

[PATCH] rts5208: fix a missing check of the status of sd_init_power

2018-12-25 Thread Kangjie Lu
sd_init_power() could fail. The fix inserts a check of its status. If it fails, returns STATUS_FAIL. Signed-off-by: Kangjie Lu --- drivers/staging/rts5208/sd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c