mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
Staging: comedi: Added blank lines to fix coding style issue
Fixed a coding style issue by adding a blank line after declarations Signed-off-by: Divyansh Kamboj <kambojdivyansh2000@gmail.com> Link: https://lore.kernel.org/r/20200605032140.31287-1-kambojdivyansh2000@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5631feed39
commit
76cd0c7cc2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user