Re: [PATCH] iio: chemical: cleanup codestyle warning
Joshua Crofts <[email protected]> Thu, 23 Jul 2026 23:53:12 +0200
| Newsgroups | dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260723235312.432a895c@systembl0wer> |
On Thu, 23 Jul 2026 23:51:39 +0200 Joshua Crofts <[email protected]> wrote: > On Fri, 24 Jul 2026 00:10:38 +0800 > Adi Nata <[email protected]> wrote: > > > Reported by checkpatch: > > FILE: drivers/iio/chemical/ccs811.c > > > > WARNING: Prefer __packed over __attribute__((__packed__)) > > +} __attribute__((__packed__)); > > Perhaps a nit, but I'd change the commit title to "prefer __packed" > and the commit message to something like: > > "Change instance of __attribute__((__packed__)) to __packed per > checkpatch.pl warning. > > Other than that: > > Reviewed-by: Joshua Crofts <[email protected]> Additionally, you're missing the driver name in the subject/commit message, it should be something like "iio: chemical: ccs811: prefer __packed" -- Kind regards, Joshua Crofts