Re: [PATCH] firmware: edd: fix a NULL pointer dereference

2019-03-25 Thread Johannes Thumshirn
On 23/03/2019 23:10, Kangjie Lu wrote: > As other functions in this module do, edev should be checked to > ensure that it is not NULL. > The fix inserts such as check to avoid potential NULL pointer > dereference. > > Signed-off-by: Kangjie Lu > --- > drivers/firmware/edd.c | 2 ++ > 1 file

[PATCH] firmware: edd: fix a NULL pointer dereference

2019-03-23 Thread Kangjie Lu
As other functions in this module do, edev should be checked to ensure that it is not NULL. The fix inserts such as check to avoid potential NULL pointer dereference. Signed-off-by: Kangjie Lu --- drivers/firmware/edd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git