From: Greg KH <gregkh@linuxfoundation.org>
To: chenguohua@jari.cn
Cc: linux@armlinux.org.uk, prathubaronia2011@gmail.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] vidio: Clean up errors in serial.h
Date: Wed, 27 Sep 2023 10:22:15 +0200 [thread overview]
Message-ID: <2023092730-shampoo-anytime-f437@gregkh> (raw)
In-Reply-To: <706285a.86e.18ad556b0e1.Coremail.chenguohua@jari.cn>
On Wed, Sep 27, 2023 at 02:32:23PM +0800, chenguohua@jari.cn wrote:
> Fix the following errors reported by checkpatch:
>
> ERROR: space required after that ',' (ctx:VxV)
>
> Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
Your subject line is very odd.
> ---
> include/linux/amba/clcd.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/amba/clcd.h b/include/linux/amba/clcd.h
> index b6e0cbeaf533..64df8235d9cc 100644
> --- a/include/linux/amba/clcd.h
> +++ b/include/linux/amba/clcd.h
> @@ -244,7 +244,7 @@ static inline int clcdfb_check(struct clcd_fb *fb, struct fb_var_screeninfo *var
> var->xres_virtual = var->xres = (var->xres + 15) & ~15;
> var->yres_virtual = var->yres = (var->yres + 1) & ~1;
>
> -#define CHECK(e,l,h) (var->e < l || var->e > h)
> +#define CHECK(e, l, h) (var->e < l || var->e > h)
There is nothing wrong with the original code here, please do not run
checkpatch on code that is NOT in drivers/staging/ unless you get the
approval of the maintainer to do so.
thanks,
greg k-h
prev parent reply other threads:[~2023-09-27 8:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 6:32 chenguohua
2023-09-27 8:22 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2023092730-shampoo-anytime-f437@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=chenguohua@jari.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=prathubaronia2011@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®