From patchwork Fri Jun 13 16:01:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 31880 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6AB072054B for ; Fri, 13 Jun 2014 16:03:59 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id il7sf8250216vcb.8 for ; Fri, 13 Jun 2014 09:03:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=K9kMVTJc32mTo/RGfXrmJdE5n/dY1q6BE6+UiHP8M+g=; b=Hsg5wCu9dY18Lw1sIPtpNGBNNxx6ZgegTHvt5XFp3QsgCIVcAShkMllF+BqfAP0FLw +AlSw6A6IZvD4YM5mFIRFj3UisuiJLnQjMf80Sn0DfgQ4oufdmQDz2RW6/vK36+J0FLR Dpt+BjgT9DzRfcTfizvlGQJZQ83Hfu3o6HOTa2Qb0HdS8G/nkYHaLX2SwjlEbZ8Ic6A0 besrGKXh8woDY1xGyCTYvpEZxy+sbFhWKWD28yIVKW5ZNPhZmSIasl6BXvdzx9x93x1D sc6LiYk0/WAnSUOGIhIEPO+wSnxgvqqpFsi+D1wIPQq4dI/YbQExXU89zy1VibDs+BTT cJvQ== X-Gm-Message-State: ALoCoQkS83h6dJlbZ9b82BadhIHo5I2+hS6MKFg9Gb49N/XkJUE2C4CZuv3iTiR4K1h3RnZDzrIC X-Received: by 10.236.72.197 with SMTP id t45mr766811yhd.44.1402675439279; Fri, 13 Jun 2014 09:03:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.40 with SMTP id m37ls3649193qgd.18.gmail; Fri, 13 Jun 2014 09:03:59 -0700 (PDT) X-Received: by 10.221.44.73 with SMTP id uf9mr2437412vcb.9.1402675439152; Fri, 13 Jun 2014 09:03:59 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id dr3si373456vec.89.2014.06.13.09.03.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Jun 2014 09:03:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jx11so828259veb.19 for ; Fri, 13 Jun 2014 09:03:59 -0700 (PDT) X-Received: by 10.58.112.65 with SMTP id io1mr1287696veb.61.1402675439071; Fri, 13 Jun 2014 09:03:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp503375vcb; Fri, 13 Jun 2014 09:03:58 -0700 (PDT) X-Received: by 10.224.29.211 with SMTP id r19mr4934852qac.47.1402675438621; Fri, 13 Jun 2014 09:03:58 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id 19si2271227qgm.95.2014.06.13.09.03.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jun 2014 09:03:58 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WvTw8-00043T-A1; Fri, 13 Jun 2014 16:02:40 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WvTvP-0003oK-Gm for linux-arm-kernel@lists.infradead.org; Fri, 13 Jun 2014 16:01:59 +0000 Received: from wuerfel.lan (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue007) with ESMTP (Nemesis) id 0M6t73-1WaXLq0Dq9-00wmYH; Fri, 13 Jun 2014 18:01:31 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 14/14] ARM: EXYNOS: Fix compilation warning Date: Fri, 13 Jun 2014 18:01:16 +0200 Message-Id: <1402675276-538682-15-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1402675276-538682-1-git-send-email-arnd@arndb.de> References: <1402675276-538682-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V02:K0:bL1wVgPePT3rle/ocBtKARZZhdpMHYWJ7VvKlIXdn/k Aw1F9muyGSoxoPB6XuMwU973wZWuNzUJfEpcia+6/FB3dxPjBK ABFRe9B3URaAGSpmam+aMtEKFgUtR6sKF8Xe8EFQ+/zvBpYc3y LCuJLwEJ1kNOmRmyiYL0LW6k06yEXvknM0zdOWWt+32KvSE2lX NrV5Vd1mvpH2Bw86uX7OSlivlTM/9okY1XNj8cc16Rdqoqau7x 45Whz1L8SnpWSKo+s/lM/MpHWN3SGOxp2sxtJVkCFHLQX3xh4L bLW83ztKX8rTdAVIA5Ux507ABOySHl3+eKtbyJ0q414Ij3rgUE Kz0hbjSXW10/enB1g6IdDnMespqmrE65mVXbDOxOd X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140613_090155_930137_BF7D5E25 X-CRM114-Status: GOOD ( 10.07 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.187 listed in wl.mailspike.net] Cc: Sachin Kamat , Rob Herring , arm@kernel.org, Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: arnd@arndb.de X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Sachin Kamat of_get_flat_dt_prop return type is now const. Fixes the following compilation warning introduced by commit 9d0c4dfedd96 ("of/fdt: update of_get_flat_dt_prop in prep for libfdt") arch/arm/mach-exynos/exynos.c:259:6: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] Signed-off-by: Sachin Kamat Reviewed-by: Tushar Behera Cc: Rob Herring Signed-off-by: Arnd Bergmann --- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index fb1eadd..f38cf7c 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -220,7 +220,7 @@ static int __init exynos_fdt_map_chipid(unsigned long node, const char *uname, int depth, void *data) { struct map_desc iodesc; - __be32 *reg; + const __be32 *reg; int len; if (!of_flat_dt_is_compatible(node, "samsung,exynos4210-chipid") &&