From patchwork Mon Jul 31 12:03:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 108999 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp3565044obm; Mon, 31 Jul 2017 05:04:22 -0700 (PDT) X-Received: by 10.98.18.131 with SMTP id 3mr15117602pfs.19.1501502662637; Mon, 31 Jul 2017 05:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501502662; cv=none; d=google.com; s=arc-20160816; b=neu7yAyZwVsbh0AUrSMI2LaFPFI6RE1+6nFZ8z2fJBSJa7mnlJPJAk1WTRYEGZSHiu jbISNT6iCrfQHHA240xlP6wIOBkqB7t90ZzsWfO5Q8lvrpGwEhflurIuMTZ9MjSs3ixz AUaER210MlB2tvPDfCeyu4OTgsB2Cq1u4MyElcktQEdQ0NSaJClQ2pyfz/yoGfqswCj7 khrF3qsqzz1ugfKMMXtRwgEtj/9N0EkomYauSqSHRxLF01XxUfHXsLgcKzMkiUhQB9MF Jim+1wAIMQL4Vbzw0gvzqcZoDJg6z47YA9jyY93u/q9pJQwp2Fk6srUa15tnYCzTAcUo kmhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=8WPoOakeXs899Dbrx0kn9CHqB8lOrov4aEgb2IhAezc=; b=lkkDVX1cvBDmpE7EbyoMBCFGRIWC8q1tp0X7j4QYw35h77RSKh5QEmUf8iP4BXXy7r GAf+LYesegn5PiZ4YWqdPKBNCsvbG7slNnQ5GlYfkDQFNHEpXsFCkB2JIswKB0eMmIiZ E88o0I7Dyy/LDI9kBQ6yZyMEMXGEuTotnOAvFImKIHQcEYVwyLg6HPFs2sNs1JL49BwK fMUFT6H0f8jgbS/gEWsApyihw1h3O2bKe0eG4gWZVR1rer9fp7XTVnP0VUYZgntH0jtb uOweENrn92wnTFsxi006GQegJ5IshwMvWGQw7JQua99hxWP/gjwgCzP5/5OD8Q0wP3SB gqKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=eLQm5H4p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n79si4247231pfj.613.2017.07.31.05.04.22; Mon, 31 Jul 2017 05:04:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.b=eLQm5H4p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752147AbdGaMES (ORCPT + 26 others); Mon, 31 Jul 2017 08:04:18 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:42178 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751950AbdGaMEP (ORCPT ); Mon, 31 Jul 2017 08:04:15 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id v6VC3uoN029888; Mon, 31 Jul 2017 21:03:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com v6VC3uoN029888 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1501502637; bh=8WPoOakeXs899Dbrx0kn9CHqB8lOrov4aEgb2IhAezc=; h=From:To:Cc:Subject:Date:From; b=eLQm5H4pExNXhPnC8Xs8cRCv9Zz2/WrNZjs82+RazzPhnafByq93eeunKPnRa0N7S Btt+02PUxxrOBwYMr+/k5p5oGUWS9EpnbQNRWmHowQlx/lSsbw7g1L2BBAT3om+Uwc rcX7Q4j/iY7AqM7jol1071dmhjM/1C7E3KmPO6X65vC7FrEhycCAfqejxE9f9774yG z2MGmsYSrSw2fMA3o3wUJVW3Jh+6YXusCmke+18OgGx7CmiMWR2omJdfxT3WF/I20i 0E2SsYa+0bO/a+T1ty4hJGoxTUpGlcQSFc9eUsUqA+5DFH+oxlJMssqVyB6tkiBgBs s6P1TukoE8cbw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mmc@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, Ulf Hansson Subject: [PATCH] mmc: of_mmc_spi: fix restricted cast warning of sparse Date: Mon, 31 Jul 2017 21:03:53 +0900 Message-Id: <1501502633-14205-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sparse reports "warning: cast to restricted __be32". Signed-off-by: Masahiro Yamada --- drivers/mmc/host/of_mmc_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 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;