Re: [PATCH] iio: humidity: hts221: Fix checkpatch blank line warning

Joshua Crofts <[email protected]> Sun, 2 Aug 2026 17:38:52 +0200
Newsgroups dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <20260802173852.32b4bc52@systembl0wer>
On Sun,  2 Aug 2026 10:06:13 +0800
Adi Nata <[email protected]> wrote:

> Checkpatch warning:
> 
> WARNING: Missing a blank line after declarations
> +	struct hts221_hw *hw = iio_priv(iio_dev);
> 
> Signed-off-by: Adi Nata <[email protected]>
> ---

This seems like churn on its own, Jonathan may not apply it.

Also, I feel like just putting checkpatch warnings directly into the
commit message is bad practice. Much better if it were "Add a blank line
after variable declarations per checkpatch warning."

-- 
Kind regards,
Joshua Crofts