From: Jonathan Cameron <jic23@kernel.org>
To: Peter Meerwald <pmeerw@pmeerw.net>, linux-iio@vger.kernel.org
Cc: kbuild test robot <fengguang.wu@intel.com>
Subject: Re: [PATCH] iio:pressure:mpl3115: Fix sparse cast to restricted __be32 warning
Date: Sat, 11 Jan 2014 16:16:19 +0000 [thread overview]
Message-ID: <52D16E53.3050404@kernel.org> (raw)
In-Reply-To: <1389452093-16214-1-git-send-email-pmeerw@pmeerw.net>
On 11/01/14 14:54, Peter Meerwald wrote:
>>> drivers/iio/pressure/mpl3115.c:101:46: sparse: cast to restricted __be32
>>> drivers/iio/pressure/mpl3115.c:115:46: sparse: cast to restricted __be32
>
> Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
> Cc: kbuild test robot <fengguang.wu@intel.com>
Applied ot the togreg branch of iio.git.
I upped the Cc to a reported-by to give the credit where it is due.
Thanks,
> ---
> drivers/iio/pressure/mpl3115.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/pressure/mpl3115.c b/drivers/iio/pressure/mpl3115.c
> index ac8c8ab..ba6d0c5 100644
> --- a/drivers/iio/pressure/mpl3115.c
> +++ b/drivers/iio/pressure/mpl3115.c
> @@ -77,7 +77,7 @@ static int mpl3115_read_raw(struct iio_dev *indio_dev,
> int *val, int *val2, long mask)
> {
> struct mpl3115_data *data = iio_priv(indio_dev);
> - s32 tmp = 0;
> + __be32 tmp = 0;
> int ret;
>
> switch (mask) {
>
prev parent reply other threads:[~2014-01-11 16:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-11 14:54 [PATCH] iio:pressure:mpl3115: Fix sparse cast to restricted __be32 warning Peter Meerwald
2014-01-11 16:16 ` 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=52D16E53.3050404@kernel.org \
--to=jic23@kernel.org \
--cc=fengguang.wu@intel.com \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.