Skip to content
Commit 31b4b673 authored by Longlong Xia's avatar Longlong Xia Committed by Greg Kroah-Hartman
Browse files

driver core: add error handling for devtmpfs_create_node()



In some cases, devtmpfs_create_node() can return error value.
So, make use of it.

Signed-off-by: default avatarLonglong Xia <xialonglong1@huawei.com>
Link: https://lore.kernel.org/r/20230210095444.4067307-2-xialonglong1@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ccfc901f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment