>
> On Thu, Jan 17, 2019 at 09:24:20AM +, Peter Chen wrote:
> > During the static checker, "data->usbmisc_data" may be NULL.
>
> I can not quite parse this sentance. Do you mean that a static checker found
> this
> issue?
I think "yes", Dan Carpenter reported it.
https://www.spinics.net
On Thu, Jan 17, 2019 at 09:24:20AM +, Peter Chen wrote:
> During the static checker, "data->usbmisc_data" may be NULL.
I can not quite parse this sentance. Do you mean that a static checker
found this issue?
> Fix it by adding this pointer judgement before using.
>
> Reported-by: Dan Carpen
During the static checker, "data->usbmisc_data" may be NULL.
Fix it by adding this pointer judgement before using.
Reported-by: Dan Carpenter
Signed-off-by: Peter Chen
---
drivers/usb/chipidea/ci_hdrc_imx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipid
During the static checker, "data->usbmisc_data" may be NULL.
Fix it by this pointer judgement before using.
Reported-by: Dan Carpenter
Signed-off-by: Peter Chen
---
drivers/usb/chipidea/ci_hdrc_imx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/ci_h