[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200617055455.GA25631@kroah.com>
Date: Wed, 17 Jun 2020 07:54:55 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: dan love <danlovecomputing@...il.com>
Cc: danlove99@...mail.co.uk, devel@...verdev.osuosl.org,
Xin Tan <tanxin.ctf@...il.com>,
Xiyu Yang <xiyuyang19@...an.edu.cn>,
linux-kernel@...r.kernel.org, abbotti@....co.uk,
Al Viro <viro@...iv.linux.org.uk>,
Michel Lespinasse <walken@...gle.com>
Subject: Re: [PATCH] Fixed styling issues by adding blank line after
definitions.
On Tue, Jun 16, 2020 at 09:26:55PM +0100, dan love wrote:
> Signed-off-by: dan love <danlove99@...mail.co.uk>
> ---
> drivers/staging/comedi/comedi_fops.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
> index e85a99b68f31..3f70e5dfac39 100644
> --- a/drivers/staging/comedi/comedi_fops.c
> +++ b/drivers/staging/comedi/comedi_fops.c
> @@ -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.17.1
>
> _______________________________________________
> devel mailing list
> devel@...uxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- You did not specify a description of why the patch is needed, or
possibly, any description at all, in the email body. Please read the
section entitled "The canonical patch format" in the kernel file,
Documentation/SubmittingPatches for what is needed in order to
properly describe the change.
- You did not write a descriptive Subject: for the patch, allowing Greg,
and everyone else, to know what this patch is all about. Please read
the section entitled "The canonical patch format" in the kernel file,
Documentation/SubmittingPatches for what a proper Subject: line should
look like.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
Powered by blists - more mailing lists