From: Jonathan Cameron <jic23@kernel.org>
To: Bruna Bispo <blbispo1@gmail.com>
Cc: lars@metafoo.de, linux-iio@vger.kernel.org
Subject: Re: [PATCH] iio: chemical: ams-iaq-core: clean up codestyle warning
Date: Sun, 2 Jun 2024 12:30:53 +0100 [thread overview]
Message-ID: <20240602123053.5e679d86@jic23-huawei> (raw)
In-Reply-To: <20240528143816.13409-1-blbispo1@gmail.com>
On Tue, 28 May 2024 11:38:16 -0300
Bruna Bispo <blbispo1@gmail.com> wrote:
> This fixes a checkpatch warning by changing the struct attribute from __attribute__((__packed__)) to __packed.
>
> Signed-off-by: Bruna Bispo <blbispo1@gmail.com>
Applied
> ---
> drivers/iio/chemical/ams-iaq-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/chemical/ams-iaq-core.c b/drivers/iio/chemical/ams-iaq-core.c
> index 164facac5..197a205ea 100644
> --- a/drivers/iio/chemical/ams-iaq-core.c
> +++ b/drivers/iio/chemical/ams-iaq-core.c
> @@ -24,7 +24,7 @@ struct ams_iaqcore_reading {
> u8 status;
> __be32 resistance;
> __be16 voc_ppb;
> -} __attribute__((__packed__));
> +} __packed;
>
> struct ams_iaqcore_data {
> struct i2c_client *client;
prev parent reply other threads:[~2024-06-02 11:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 14:38 [PATCH] iio: chemical: ams-iaq-core: clean up codestyle warning Bruna Bispo
2024-06-02 11:30 ` Jonathan Cameron [this message]
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=20240602123053.5e679d86@jic23-huawei \
--to=jic23@kernel.org \
--cc=blbispo1@gmail.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
/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