[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <04c331f6bfce57c253cb86208ebd28f6363e04c0.camel@perches.com>
Date: Thu, 17 Dec 2020 15:58:16 -0800
From: Joe Perches <joe@...ches.com>
To: Daniel West <daniel.west.dev@...il.com>, gregkh@...uxfoundation.org
Cc: hverkuil-cisco@...all.nl, mchehab+huawei@...nel.org,
christian.gromm@...rochip.com, masahiroy@...nel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: most: video: fixed a parentheses coding style
issue.
On Thu, 2020-12-17 at 15:45 -0800, Daniel West wrote:
> Fixed a coding style issue.
It may pass checkpatch without warning, but it's uncommon kernel coding style.
> diff --git a/drivers/staging/most/video/video.c b/drivers/staging/most/video/video.c
[]
> @@ -365,8 +365,8 @@ static const struct video_device comp_videodev_template = {
>
>
> /**************************************************************************/
>
>
> -static struct most_video_dev *get_comp_dev(
> - struct most_interface *iface, int channel_idx)
> +static struct most_video_dev *get_comp_dev
> + (struct most_interface *iface, int channel_idx)
This would be better using any of:
(most common)
static struct most_video_dev *get_comp_dev(struct most_interface *iface,
int channel_idx)
or (less common)
static struct most_video_dev *
get_comp_dev(struct most_interface *iface, int channel_idx)
or (> 80 columns)
static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx)
Powered by blists - more mailing lists