mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
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: 43fdf27470 ("[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]>