From patchwork Thu Dec 24 14:00:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 7918011 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 73AEEBEEE5 for ; Thu, 24 Dec 2015 14:03:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9F7320608 for ; Thu, 24 Dec 2015 14:03:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F21CB2052F for ; Thu, 24 Dec 2015 14:03:34 +0000 (UTC) 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 1aC6T5-0000b4-Vt; Thu, 24 Dec 2015 14:02:12 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aC6Sh-0000U6-Ul for linux-arm-kernel@lists.infradead.org; Thu, 24 Dec 2015 14:01:49 +0000 Received: by mail-wm0-x22c.google.com with SMTP id p187so179043339wmp.0 for ; Thu, 24 Dec 2015 06:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kYOXHBJByyNmOJK5Tw73/FWR4msOd3YuDva/GeLIb8s=; b=nXrZOPkX/BlehjMBHVvADo1lC1SiIB74mC3AOQimWD6ZnSdwqoBkPHswEpaa8pptCo GPtR1SBIwnWXuyl0goeq2vgeOfXH3AETTj6GAfsVxgGlxrJ6ZIsfpLDHWablXrRYzEyC qb80RerI8zkuvlCNEbUjW7IhBX6HW1ra3gR4l9Gst7+d+6yhxm7h8CiUvwNN6pDrOppV 3dUxWq9xFDsMLaC1WDWqdxNu/mvnNrOhYHAGUt61mX2cezFzmNE5MUp+rrT+ZD+o5rCV R5/Tyjz0dW5bXEY5KUsvk22Ygq8V56Xu1Nsol42IbQFCySTdRgSYhFjtyLAh6EMThz/o 0LwA== X-Received: by 10.28.225.8 with SMTP id y8mr621814wmg.98.1450965686383; Thu, 24 Dec 2015 06:01:26 -0800 (PST) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id wf8sm9442165wjb.45.2015.12.24.06.01.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Dec 2015 06:01:25 -0800 (PST) From: Ivaylo Dimitrov To: linux@arm.linux.org.uk, tony@atomide.com, nicolas.pitre@linaro.org, arnd@arndb.de, pali.rohar@gmail.com Subject: [PATCH 2/3] ARM: ATAGS: Fix declaration of function save_atags Date: Thu, 24 Dec 2015 16:00:57 +0200 Message-Id: <1450965658-2675-3-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450965658-2675-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <1450965658-2675-1-git-send-email-ivo.g.dimitrov.75@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151224_060148_305384_A79BA7F3 X-CRM114-Status: GOOD ( 10.74 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ivaylo Dimitrov , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In file atags_proc.c function save_atags() expect const argument, but in atags.h file is declarated as non const. Fix declaration in atags.h file to match what is expected. Signed-off-by: Ivaylo Dimitrov --- arch/arm/include/asm/atags.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/atags.h b/arch/arm/include/asm/atags.h index ec4164d..2dfc30f 100644 --- a/arch/arm/include/asm/atags.h +++ b/arch/arm/include/asm/atags.h @@ -1,7 +1,7 @@ #ifdef CONFIG_ATAGS_PROC -extern void save_atags(struct tag *tags); +extern void save_atags(const struct tag *tags); #else -static inline void save_atags(struct tag *tags) { } +static inline void save_atags(const struct tag *tags) { } #endif void convert_to_tag_list(struct tag *tags);