aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorLiang He <[email protected]>2023-03-15 14:20:32 +0800
committerJens Axboe <[email protected]>2023-03-15 08:48:58 -0600
commit6030363199e3a6341afb467ddddbed56640cbf6a (patch)
tree433e822d753a53a5f4e317dff7f693d0301496d7 /drivers/usb/cdns3/cdns3-trace.c
parentb6402014cab0481bdfd1ffff3e1dad714e8e1205 (diff)
block: sunvdc: add check for mdesc_grab() returning NULL
In vdc_port_probe(), we should check the return value of mdesc_grab() as it may return NULL, which can cause potential NPD bug. Fixes: 43fdf27470b2 ("[SPARC64]: Abstract out mdesc accesses for better MD update handling.") Signed-off-by: Liang He <[email protected]> Link: https://lore.kernel.org/r/[email protected] [axboe: style cleanup] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions