[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240311132306.3420135-4-max.kellermann@ionos.com>
Date: Mon, 11 Mar 2024 14:22:59 +0100
From: Max Kellermann <max.kellermann@...os.com>
To: richard.henderson@...aro.org,
ink@...assic.park.msu.ru,
mattst88@...il.com,
linux-alpha@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Max Kellermann <max.kellermann@...os.com>
Subject: [PATCH 04/11] arch/alpha/io: add missing includes to fix -Wmissing-prototypes
Fixes:
arch/alpha/kernel/io.c:654:1: error: no previous prototype for 'scr_memcpyw' [-Werror=missing-prototypes]
654 | scr_memcpyw(u16 *d, const u16 *s, unsigned int count)
| ^~~~~~~~~~~
Signed-off-by: Max Kellermann <max.kellermann@...os.com>
---
arch/alpha/kernel/io.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/alpha/kernel/io.c b/arch/alpha/kernel/io.c
index eda09778268f..fc5f7b80c7ea 100644
--- a/arch/alpha/kernel/io.c
+++ b/arch/alpha/kernel/io.c
@@ -8,6 +8,7 @@
#include <linux/string.h>
#include <linux/module.h>
#include <asm/io.h>
+#include <asm/vga.h> // for the scr_memcpyw() prototype
/* Out-of-line versions of the i/o routines that redirect into the
platform-specific version. Note that "platform-specific" may mean
--
2.39.2
Powered by blists - more mailing lists