Re: [PATCH] iio: humidity: hts221: Fix checkpatch blank line warning
From: Joshua Crofts
Date: Sun Aug 02 2026 - 11:39:13 EST
On Sun, 2 Aug 2026 10:06:13 +0800
Adi Nata <adinata.softwareengineer@xxxxxxxxx> wrote:
> Checkpatch warning:
>
> WARNING: Missing a blank line after declarations
> + struct hts221_hw *hw = iio_priv(iio_dev);
>
> Signed-off-by: Adi Nata <adinata.softwareengineer@xxxxxxxxx>
> ---
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