On 22 May 2013 19:50, Alan Stern wrote:
> On Wed, 22 May 2013, Sachin Kamat wrote:
>
>> 'hcd' is dereferenced before NULL check. Move the assignment after
>> the check to avoid potential NULL pointer dereferencing error.
>
> Since the pointer in question can never be NULL, you should remove the
>
On Wed, 22 May 2013, Sachin Kamat wrote:
> 'hcd' is dereferenced before NULL check. Move the assignment after
> the check to avoid potential NULL pointer dereferencing error.
Since the pointer in question can never be NULL, you should remove the
check entirely instead of moving the reference.
F
On 22 May 2013 09:05, Sachin Kamat wrote:
> 'hcd' is dereferenced before NULL check. Move the assignment after
> the check to avoid potential NULL pointer dereferencing error.
>
> Signed-off-by: Sachin Kamat
> Cc: Viresh Kumar
> ---
> drivers/usb/host/ehci-spear.c |5 -
> 1 file changed
'hcd' is dereferenced before NULL check. Move the assignment after
the check to avoid potential NULL pointer dereferencing error.
Signed-off-by: Sachin Kamat
Cc: Viresh Kumar
---
drivers/usb/host/ehci-spear.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/usb