Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1699976 > unrolled thread
| Started by | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| First post | 2017-07-31 14:10 +0200 |
| Last post | 2017-08-03 13:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] mmc: of_mmc_spi: fix restricted cast warning of sparse Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-07-31 14:10 +0200
Re: [PATCH] mmc: of_mmc_spi: fix restricted cast warning of sparse Ulf Hansson <ulf.hansson@linaro.org> - 2017-08-03 13:00 +0200
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Date | 2017-07-31 14:10 +0200 |
| Subject | [PATCH] mmc: of_mmc_spi: fix restricted cast warning of sparse |
| Message-ID | <u9hGi-686-13@gated-at.bofh.it> |
Sparse reports "warning: cast to restricted __be32". Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- drivers/mmc/host/of_mmc_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c index 85bbebfde02e..c9eed8436b6b 100644 --- a/drivers/mmc/host/of_mmc_spi.c +++ b/drivers/mmc/host/of_mmc_spi.c @@ -71,7 +71,7 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi) struct device *dev = &spi->dev; struct device_node *np = dev->of_node; struct of_mmc_spi *oms; - const u32 *voltage_ranges; + const __be32 *voltage_ranges; int num_ranges; int i; -- 2.7.4
[toc] | [next] | [standalone]
| From | Ulf Hansson <ulf.hansson@linaro.org> |
|---|---|
| Date | 2017-08-03 13:00 +0200 |
| Message-ID | <uam1c-7ff-23@gated-at.bofh.it> |
| In reply to | #1699976 |
On 31 July 2017 at 14:03, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > Sparse reports "warning: cast to restricted __be32". > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Thanks, applied for next! Kind regards Uffe > --- > > drivers/mmc/host/of_mmc_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c > index 85bbebfde02e..c9eed8436b6b 100644 > --- a/drivers/mmc/host/of_mmc_spi.c > +++ b/drivers/mmc/host/of_mmc_spi.c > @@ -71,7 +71,7 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi) > struct device *dev = &spi->dev; > struct device_node *np = dev->of_node; > struct of_mmc_spi *oms; > - const u32 *voltage_ranges; > + const __be32 *voltage_ranges; > int num_ranges; > int i; > > -- > 2.7.4 >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web