]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.17.12/powerpc-32-add-a-missing-include-header.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.17.12 / powerpc-32-add-a-missing-include-header.patch
1 From foo@baz Sat Jul 28 10:14:30 CEST 2018
2 From: Mathieu Malaterre <malat@debian.org>
3 Date: Thu, 22 Mar 2018 21:20:03 +0100
4 Subject: powerpc/32: Add a missing include header
5
6 From: Mathieu Malaterre <malat@debian.org>
7
8 [ Upstream commit c89ca593220931c150cffda24b4d4ccf82f13fc8 ]
9
10 The header file <linux/syscalls.h> was missing from the includes. Fix the
11 following warning, treated as error with W=1:
12
13 arch/powerpc/kernel/pci_32.c:286:6: error: no previous prototype for ‘sys_pciconfig_iobase’ [-Werror=missing-prototypes]
14
15 Signed-off-by: Mathieu Malaterre <malat@debian.org>
16 Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
17 Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 ---
20 arch/powerpc/kernel/pci_32.c | 1 +
21 1 file changed, 1 insertion(+)
22
23 --- a/arch/powerpc/kernel/pci_32.c
24 +++ b/arch/powerpc/kernel/pci_32.c
25 @@ -11,6 +11,7 @@
26 #include <linux/sched.h>
27 #include <linux/errno.h>
28 #include <linux/bootmem.h>
29 +#include <linux/syscalls.h>
30 #include <linux/irq.h>
31 #include <linux/list.h>
32 #include <linux/of.h>