Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1297865 > unrolled thread

[PATCH 2/3] ARM: ATAGS: Fix declaration of function save_atags

Started byIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
First post2015-12-24 15:10 +0100
Last post2015-12-24 15:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/3] ARM: ATAGS: Fix declaration of function save_atags Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2015-12-24 15:10 +0100

#1297865 — [PATCH 2/3] ARM: ATAGS: Fix declaration of function save_atags

FromIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Date2015-12-24 15:10 +0100
Subject[PATCH 2/3] ARM: ATAGS: Fix declaration of function save_atags
Message-ID<qJeKB-7HG-1@gated-at.bofh.it>
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 <ivo.g.dimitrov.75@gmail.com>
---
 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);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web