mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 23:20:50 +07:00
rtl8192e: don't use create_proc_entry() for directories
proc_mkdir() is there for purpose... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
021ada7dff
commit
e3e7b40c19
@ -246,7 +246,7 @@ int __init rtllib_init(void)
|
||||
struct proc_dir_entry *e;
|
||||
|
||||
rtllib_debug_level = debug;
|
||||
rtllib_proc = create_proc_entry(DRV_NAME, S_IFDIR, init_net.proc_net);
|
||||
rtllib_proc = proc_mkdir(DRV_NAME, init_net.proc_net);
|
||||
if (rtllib_proc == NULL) {
|
||||
RTLLIB_ERROR("Unable to create " DRV_NAME
|
||||
" proc directory\n");
|
||||
|
Loading…
Reference in New Issue
Block a user