Re: [PATCH -next 0/3] cleanup of devtmpfs_*_node()

From: Longlong Xia
Date: Fri Feb 10 2023 - 02:35:07 EST


The test steps:
1. Set the SElinux label of /dev to user_home_t
2. modprobe zram num_devices=1000

The above test result is that there is no zram device was found in the
/dev. And don't see any errors printed in jouranls/dmesg. Of course,
it is rare to create 1000 zram devices, use dev_err may be better.

Longlong Xia (3):
devtmpfs: add debug info to handle()
driver core: add error handling for devtmpfs_create_node()
devtmpfs: remove return value of devtmpfs_delete_node()

drivers/base/base.h | 4 ++--
drivers/base/core.c | 8 ++++++--
drivers/base/devtmpfs.c | 20 ++++++++++++++------
3 files changed, 22 insertions(+), 10 deletions(-)

Best Regards,
Longlong Xia