Skip to contentSkip to conversation

Staging: comedi: comedi_fops: fixed a spacing coding style issue

PATCH In review Agam Kohli 2 participants 2 messages Jun 9, 2022 Staging

lore
Share & tools
lore

Agam Kohli

author
#0 lore raw

PATCH 1/1 Staging: comedi: comedi_fops: fixed a spacing coding style issue

Fixed a coding style issue.

---
 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

2.36.0

#1 lore raw

drivers/staging/comedi/comedi_fops.c

Quoted 11 lines · Agam Kohli

Fixed a coding style issue.

---
  drivers/staging/comedi/comedi_fops.c | 3 +++
  1 file changed, 3 insertions(+)
drivers/staging/comedi/comedi_fops.c +0 -0
index e85a99b68f31..3f70e5dfac39 100644

comedi moved out of "drivers/staging" in the 5.13 kernel.

Signature · 4 lines
-=( Ian Abbott <[email protected]> || MEV Ltd. is a company  )=-
-=( registered in England & Wales.  Regd. number: 02862268.  )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-