public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ethan Tidmore" <ethantidmore06@gmail.com>
To: "Oskar Ray-Frayssinet" <rayfraytech@gmail.com>,
	<hansg@kernel.org>, <mchehab@kernel.org>
Cc: <sakari.ailus@linux.intel.com>, <andy@kernel.org>,
	<gregkh@linuxfoundation.org>, <linux-media@vger.kernel.org>,
	<linux-staging@lists.linux.dev>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] staging: media: atomisp: remove unnecessary braces in single statement blocks
Date: Tue, 10 Mar 2026 22:08:59 -0500	[thread overview]
Message-ID: <DGZMF7K42X4O.109GY06JLBRFW@gmail.com> (raw)
In-Reply-To: <20260310203646.8869-1-rayfraytech@gmail.com>

On Tue Mar 10, 2026 at 3:36 PM CDT, Oskar Ray-Frayssinet wrote:
> Remove unnecessary braces around single statement blocks throughout
> the atomisp driver to comply with kernel coding style.
>
> Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
> ---

$ ./scripts/checkpatch.pl --strict -g HEAD
ERROR: trailing whitespace
#201: FILE: drivers/staging/media/atomisp/pci/hive_isp_css_common/host/irq.c:326:
+^Iif (idx == IRQ_N_CHANNEL[IRQ0_ID]) $

Alway use "./scripts/checkpatch.pl --strict" before sending a patch off
to catch things like this.

Thanks,

ET

  reply	other threads:[~2026-03-11  3:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-10 20:36 [PATCH] staging: media: atomisp: remove unnecessary braces in single statement blocks Oskar Ray-Frayssinet
2026-03-11  3:08 ` Ethan Tidmore [this message]
2026-03-11 17:04 ` [PATCH v2] " Oskar Ray-Frayssinet
2026-03-12  2:12   ` Ethan Tidmore
2026-03-17  7:59   ` Sakari Ailus
2026-03-17 11:50     ` Oskar Ray-Frayssinet

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=DGZMF7K42X4O.109GY06JLBRFW@gmail.com \
    --to=ethantidmore06@gmail.com \
    --cc=andy@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=mchehab@kernel.org \
    --cc=rayfraytech@gmail.com \
    --cc=sakari.ailus@linux.intel.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