Messages in this thread Patch in this message | | | Date | Fri, 14 Jul 2023 14:57:59 +0800 | From | huzhi001@208suo ... | Subject | [PATCH] proc: Fix four errors in kmsg.c |
| |
The following checkpatch errors are removed: ERROR: "foo * bar" should be "foo *bar" ERROR: "foo * bar" should be "foo *bar" ERROR: "foo * bar" should be "foo *bar" ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: ZhiHu <huzhi001@208suo.com> --- fs/proc/kmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c index 2fc92a13f9f8..64025da60e2a 100644 --- a/fs/proc/kmsg.c +++ b/fs/proc/kmsg.c @@ -17,12 +17,12 @@
#include <asm/io.h>
-static int kmsg_open(struct inode * inode, struct file * file) +static int kmsg_open(struct inode *inode, struct file *file) { return do_syslog(SYSLOG_ACTION_OPEN, NULL, 0, SYSLOG_FROM_PROC); }
-static int kmsg_release(struct inode * inode, struct file * file) +static int kmsg_release(struct inode *inode, struct file *file) { (void) do_syslog(SYSLOG_ACTION_CLOSE, NULL, 0, SYSLOG_FROM_PROC); return 0;
| |