staging: vchiq_arm: add blank line after declarations
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 15 May 2021 19:10:51 +0000 (21:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 15:56:31 +0000 (17:56 +0200)
Improve the readability by add a blank line after declarations. This
was found with checkpatch.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1621105859-30215-13-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c

index 50f0cd200487743ca9adb1c1931e86ff940d02dc..4f30b57850318da5bfbd240623dc0ef0ebdd7139 100644 (file)
@@ -1019,6 +1019,7 @@ static inline int vchiq_get_user_ptr(void __user **buf, void __user *ubuf, int i
        if (in_compat_syscall()) {
                compat_uptr_t ptr32;
                compat_uptr_t __user *uptr = ubuf;
+
                ret = get_user(ptr32, uptr + index);
                if (ret)
                        return ret;
@@ -1026,6 +1027,7 @@ static inline int vchiq_get_user_ptr(void __user **buf, void __user *ubuf, int i
                *buf = compat_ptr(ptr32);
        } else {
                uintptr_t ptr, __user *uptr = ubuf;
+
                ret = get_user(ptr, uptr + index);
 
                if (ret)
@@ -1798,6 +1800,7 @@ static long
 vchiq_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 {
        void __user *argp = compat_ptr(arg);
+
        switch (cmd) {
        case VCHIQ_IOC_CREATE_SERVICE32:
                return vchiq_compat_ioctl_create_service(file, cmd, argp);
index da550b6cd7fba6f9b3f2f2bfba4f371deb1855d8..8f3d9cb2d562425788972995b41af7683f232e1a 100644 (file)
@@ -35,6 +35,7 @@ static struct vchiq_debugfs_log_entry vchiq_debugfs_log_entries[] = {
        { "susp", &vchiq_susp_log_level },
        { "arm",  &vchiq_arm_log_level },
 };
+
 static int n_log_entries = ARRAY_SIZE(vchiq_debugfs_log_entries);
 
 static int debugfs_log_show(struct seq_file *f, void *offset)