Skip to contentSkip to conversation

staging: comedi: add blank line after declarations

PATCH In review Ian To 2 participants 2 messages Jan 30, 2025 – Jan 31, 2025 Staging

lore
Share & tools
lore

Ian To

author
#0 lore raw

PATCH 1/1 staging: comedi: add blank line after declarations

[email protected]
Cc: [email protected] [email protected] Bcc:
Subject: [PATCH] staging: comedi: add blank line after declarations Reply-To:

Added blank lines after declarations. Reported by checkpatch.

---
 drivers/staging/comedi/comedi_fops.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/staging/comedi/comedi_fops.c +3 -0
index e85a99b68f31..3f70e5dfac39 100644
@@ -2169,6 +2169,7 @@ static long comedi_unlocked_ioctl(struct file *file, unsigned int cmd,
 		break;
 	case COMEDI_CHANINFO: {
 		struct comedi_chaninfo it;
+
 		if (copy_from_user(&it, (void __user *)arg, sizeof(it)))
 			rc = -EFAULT;
 		else
@@ -2177,6 +2178,7 @@ static long comedi_unlocked_ioctl(struct file *file, unsigned int cmd,
 	}
 	case COMEDI_RANGEINFO: {
 		struct comedi_rangeinfo it;
+
 		if (copy_from_user(&it, (void __user *)arg, sizeof(it)))
 			rc = -EFAULT;
 		else
@@ -2249,6 +2251,7 @@ static long comedi_unlocked_ioctl(struct file *file, unsigned int cmd,
 	}
 	case COMEDI_INSN: {
 		struct comedi_insn insn;
+
 		if (copy_from_user(&insn, (void __user *)arg, sizeof(insn)))
 			rc = -EFAULT;
 		else
Signature · 1 line
2.45.3
maintainer
#1 lore raw
Quoted 5 lines · Ian To

[email protected]
Cc: [email protected] [email protected] Bcc:
Subject: [PATCH] staging: comedi: add blank line after declarations Reply-To:

Something went wrong with your email submission here, please fix up and try again.

Also:

Quoted 5 lines

Added blank lines after declarations. Reported by checkpatch.

---
 drivers/staging/comedi/comedi_fops.c | 3 +++

This file is not in the kernel tree right now, are you sure you are working on the proper kernel version to do development with?

thanks,

greg k-h