Thread (3 messages) 3 messages, 2 authors, 2021-12-20

Re: [PATCH v3] USB: host: Check for null res pointer

From: Sergey Shtylyov <hidden>
Date: 2021-12-20 16:48:11
Also in: lkml

On 12/20/21 4:42 PM, Jiasheng Jiang wrote:
The return value of platform_get_resource() needs to be checked.
To avoid use of error pointer in case that there is no suitable resource.
   s/error/NULL/ -- platform_get_resource() doesn't return error pointers...
Fixes: 4808a1c02611 ("[PATCH] USB: Add isp116x-hcd USB host controller driver")
Signed-off-by: Jiasheng Jiang <redacted>
[...]

MBR, Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help