Skip to content

Conversation

NOVBobLee
Copy link
Collaborator

proc_remove does nothing when the argument is NULL[1]. We don't need proc_remove after proc_create failed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/proc/generic.c#n789

proc_remove does nothing when the argument is NULL[1]. We don't need
proc_remove after proc_create failed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/proc/generic.c#n789
@jserv jserv merged commit 1fc5305 into sysprog21:master Oct 6, 2024
1 check failed
@jserv
Copy link
Contributor

jserv commented Oct 6, 2024

Thank @NOVBobLee for contributing!

@NOVBobLee NOVBobLee deleted the pr_patch branch October 6, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants