[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230210073309.4050841-1-xialonglong1@huawei.com>
Date: Fri, 10 Feb 2023 07:33:06 +0000
From: Longlong Xia <xialonglong1@...wei.com>
To: <gregkh@...uxfoundation.org>
CC: <chenwandun@...wei.com>, <linux-kernel@...r.kernel.org>,
<rafael@...nel.org>, <sunnanyong@...wei.com>,
<wangkefeng.wang@...wei.com>, <xialonglong1@...wei.com>
Subject: Re: [PATCH -next 0/3] cleanup of devtmpfs_*_node()
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
Powered by blists - more mailing lists