public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-iio@vger.kernel.org,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: Re: [PATCH] iio: pressure: bmp280 endian tidy ups
Date: Fri, 18 Oct 2019 19:57:05 +0100	[thread overview]
Message-ID: <20191018195705.55171c78@archlinux> (raw)
In-Reply-To: <CACRpkdaW-UXaKcgWA0DpxF1QWhajDXwOYcZhUKztq9UY3mh5fA@mail.gmail.com>

On Wed, 16 Oct 2019 14:20:29 +0200
Linus Walleij <linus.walleij@linaro.org> wrote:

> On Sun, Oct 13, 2019 at 12:19 PM <jic23@kernel.org> wrote:
> 
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > There is a somewhat interesting mixture of be16 and le16 going on in
> > this one function.  Changes here formalize that a little more.
> >
> > CHECK   drivers/iio/pressure/bmp280-core.c
> > drivers/iio/pressure/bmp280-core.c:215:35: warning: cast to restricted __le16
> > drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16
> > drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16
> > drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16
> > drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16
> > drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16
> > drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16
> > drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16
> > drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16
> > drivers/iio/pressure/bmp280-core.c:237:37: warning: cast to restricted __le16
> >
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > Cc: Linus Walleij <linus.walleij@linaro.org>  
> 
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> 
Applied.  Thanks,

Jonathan

> Yours,
> Linus Walleij


      reply	other threads:[~2019-10-18 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-13 10:17 [PATCH] iio: pressure: bmp280 endian tidy ups jic23
2019-10-16 12:20 ` Linus Walleij
2019-10-18 18:57   ` 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=20191018195705.55171c78@archlinux \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=linus.walleij@linaro.org \
    --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