Skip to contentSkip to conversation

fs/filesystems.c: ERROR: "(foo*)" should be "(foo *)"

PATCH In review [email protected] 2 participants 2 messages Jul 17, 2023 – Jul 19, 2023 1 message not in the archive VFS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 fs/filesystems.c: ERROR: "(foo*)" should be "(foo *)"

Fix five occurrences of the checkpatch.pl error:
ERROR: "(foo*)" should be "(foo *)"

---
 fs/filesystems.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
fs/filesystems.c +10 -10
index 58b9067b2391..6a93b4904d27 100644
@@ -69,10 +69,10 @@ static struct file_system_type **find_filesystem(const char *name, unsigned len)
  *    unregistered.
  */
 
-int register_filesystem(struct file_system_type * fs)
+int register_filesystem(struct file_system_type *fs)
 {
     int res = 0;
-    struct file_system_type ** p;
+    struct file_system_type **p;
 
     if (fs->parameters &&
         !fs_validate_description(fs->name, fs->parameters))
@@ -105,9 +105,9 @@ EXPORT_SYMBOL(register_filesystem);
  *    may be freed or reused.
  */
 
-int unregister_filesystem(struct file_system_type * fs)
+int unregister_filesystem(struct file_system_type *fs)
 {
-    struct file_system_type ** tmp;
+    struct file_system_type **tmp;
 
     write_lock(&file_systems_lock);
     tmp = &file_systems;
@@ -129,9 +129,9 @@ int unregister_filesystem(struct file_system_type * fs)
 EXPORT_SYMBOL(unregister_filesystem);
 
 #ifdef CONFIG_SYSFS_SYSCALL
-static int fs_index(const char __user * __name)
+static int fs_index(const char __user *__name)
 {
-    struct file_system_type * tmp;
+    struct file_system_type *tmp;
     struct filename *name;
     int err, index;
 
@@ -153,9 +153,9 @@ static int fs_index(const char __user * __name)
     return err;
 }
 
-static int fs_name(unsigned int index, char __user * buf)
+static int fs_name(unsigned int index, char __user *buf)
 {
-    struct file_system_type * tmp;
+    struct file_system_type *tmp;
     int len, res;
 
     read_lock(&file_systems_lock);
@@ -175,7 +175,7 @@ static int fs_name(unsigned int index, char __user * buf)
 
 static int fs_maxindex(void)
 {
-    struct file_system_type * tmp;
+    struct file_system_type *tmp;
     int index;
 
     read_lock(&file_systems_lock);
@@ -236,7 +236,7 @@ int __init list_bdev_fs_names(char *buf, size_t size)
 #ifdef CONFIG_PROC_FS
 static int filesystems_proc_show(struct seq_file *m, void *v)
 {
-    struct file_system_type * tmp;
+    struct file_system_type *tmp;
 
     read_lock(&file_systems_lock);
     tmp = file_systems;