mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
staging: vchiq_arm: add blank line after declarations
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
fd3e03d71f
commit
f299b34ef2
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user