* [PATCH 00/20] Fix another ton of missing prototype warnings
@ 2018-11-09 9:52 Sascha Hauer
2018-11-09 9:52 ` [PATCH 01/20] ARM: interrupts: Avoid missing prototypes warning Sascha Hauer
` (19 more replies)
0 siblings, 20 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
With this series imx_v7_defconfig compiles without warnings when
-Wmissing-prototypes is enabled.
The last patch in this series adds -Wmissing-prototypes to all
architectures. I'm not sure yet if I merge this into master given
the amount of warnings this generates for other defconfigs, but
I think I'll merge it to -next to increase the visibility of the
warnings in the hope that I get more fixes for them.
Sascha
Sascha Hauer (20):
ARM: interrupts: Avoid missing prototypes warning
ARM: psci: Avoid missing prototypes warning
gui: lodepng: Avoid missing prototypes warning
ARM: sm: Make locally used function static
fs: ubifs: Avoid missing prototype warning
ARM: start: Add missing include
ARM: start: Add missing prototype
ARM: Add missing prototype for arm_mem_ramoops_get()
ARM: i.MX50: Make locally used function static
ARM: i.MX27: Add missing prototype for imx27_get_boot_source()
ARM: i.MX: add missing include
ARM: i.MX6 usb: Add missing include
imx-bbu-nand: Make locally used functions static
clk: imx: Avoid missing prototype warnings
dma: apbh: make locally used function static
pinctrl: at91: Add missing include
video: vpl: make locally used function static
fs: devfs: Make locally used function static
nvmem: Add prototype for exported functions
Make: Add -Wmissing-prototypes
Makefile | 2 +-
arch/arm/cpu/interrupts.c | 8 +++++
arch/arm/cpu/psci.c | 7 ++++
arch/arm/cpu/sm.c | 2 +-
arch/arm/cpu/start.c | 4 +++
arch/arm/cpu/uncompress.c | 2 ++
arch/arm/include/asm/barebox-arm.h | 2 ++
arch/arm/mach-imx/imx50.c | 2 +-
arch/arm/mach-imx/include/mach/generic.h | 1 +
arch/arm/mach-imx/nand.c | 1 +
arch/arm/mach-imx/usb-imx6.c | 2 +-
arch/mips/Makefile | 2 +-
common/imx-bbu-nand-fcb.c | 4 +--
drivers/clk/imx/clk-gate2.c | 9 +----
drivers/dma/apbh_dma.c | 2 +-
drivers/pinctrl/pinctrl-at91.c | 9 +----
drivers/video/vpl.c | 2 +-
fs/devfs.c | 2 +-
fs/ubifs/super.c | 10 +-----
fs/ubifs/ubifs.c | 2 +-
include/linux/nvmem-consumer.h | 4 +++
lib/gui/lodepng.c | 42 +-----------------------
lib/gui/lodepng.h | 28 ++++++++++++++++
23 files changed, 72 insertions(+), 77 deletions(-)
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 01/20] ARM: interrupts: Avoid missing prototypes warning
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 02/20] ARM: psci: " Sascha Hauer
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
Add prototypes for various functions. Since these are called from
assembly add the prototype in the C file itself.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/cpu/interrupts.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/cpu/interrupts.c b/arch/arm/cpu/interrupts.c
index 73f023bd71..b9b91f3153 100644
--- a/arch/arm/cpu/interrupts.c
+++ b/arch/arm/cpu/interrupts.c
@@ -28,6 +28,14 @@
#include <asm/unwind.h>
#include <init.h>
+/* Avoid missing prototype warning, called from assembly */
+void do_undefined_instruction (struct pt_regs *pt_regs);
+void do_software_interrupt (struct pt_regs *pt_regs);
+void do_prefetch_abort (struct pt_regs *pt_regs);
+void do_data_abort (struct pt_regs *pt_regs);
+void do_fiq (struct pt_regs *pt_regs);
+void do_irq (struct pt_regs *pt_regs);
+
/**
* Display current register set content
* @param[in] regs Guess what
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 02/20] ARM: psci: Avoid missing prototypes warning
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
2018-11-09 9:52 ` [PATCH 01/20] ARM: interrupts: Avoid missing prototypes warning Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 03/20] gui: lodepng: " Sascha Hauer
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
Avoid missing prototypes warning by adding prototypes. Since these
functions are called from assembly add the prototypes to the C file
directly.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/cpu/psci.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/cpu/psci.c b/arch/arm/cpu/psci.c
index 1c8197aa3f..c4c8c64cbe 100644
--- a/arch/arm/cpu/psci.c
+++ b/arch/arm/cpu/psci.c
@@ -156,6 +156,10 @@ static unsigned long psci_system_reset(void)
restart_machine();
}
+/* Avoid missing prototype warning, called from assembly */
+void psci_entry(u32 r0, u32 r1, u32 r2, u32 r3, u32 r4, u32 r5, u32 r6,
+ struct arm_smccc_res *res);
+
void psci_entry(u32 r0, u32 r1, u32 r2, u32 r3, u32 r4, u32 r5, u32 r6,
struct arm_smccc_res *res)
{
@@ -209,6 +213,9 @@ static int of_psci_fixup(struct device_node *root, void *unused)
return 0;
}
+/* Avoid missing prototype warning, called from assembly */
+int psci_cpu_entry_c(void);
+
int psci_cpu_entry_c(void)
{
void (*entry)(u32 context);
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 03/20] gui: lodepng: Avoid missing prototypes warning
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
2018-11-09 9:52 ` [PATCH 01/20] ARM: interrupts: Avoid missing prototypes warning Sascha Hauer
2018-11-09 9:52 ` [PATCH 02/20] ARM: psci: " Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 04/20] ARM: sm: Make locally used function static Sascha Hauer
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
- move prototypes to header file
- remove some unused functions
- make locally used functions static.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
lib/gui/lodepng.c | 42 +-----------------------------------------
lib/gui/lodepng.h | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 41 deletions(-)
diff --git a/lib/gui/lodepng.c b/lib/gui/lodepng.c
index ba21cd235f..9cc59d7097 100644
--- a/lib/gui/lodepng.c
+++ b/lib/gui/lodepng.c
@@ -74,34 +74,6 @@ static void myfree(void* ptr)
free(ptr);
}
-/*
-Declaration of the custom functions used if LODEPNG_COMPILE_ZLIB isn't defined
-or LODEPNG_CUSTOM_ZLIB_DECODER or LODEPNG_CUSTOM_ZLIB_ENCODER are enabled.
-
-In that case, you need to define these yourself (which you can do in one of your
-own source files) so that LodePNG can link to it.
-
-By default, this is not needed. If LODEPNG_COMPILE_ZLIB isn't defined, then only
-the two zlib related ones are needed.
-
-If needed, the functions must act as follows:
-*out must be NULL and *outsize must be 0 initially, and after the function is done,
-*out must point to the decompressed data, *outsize must be the size of it, and must
-be the size of the useful data in bytes, not the alloc size.
-*/
-unsigned lodepng_custom_zlib_decompress(unsigned char** out, size_t* outsize,
- const unsigned char* in, size_t insize,
- const LodePNGDecompressSettings* settings);
-unsigned lodepng_custom_zlib_compress(unsigned char** out, size_t* outsize,
- const unsigned char* in, size_t insize,
- const LodePNGCompressSettings* settings);
-unsigned lodepng_custom_inflate(unsigned char** out, size_t* outsize,
- const unsigned char* in, size_t insize,
- const LodePNGDecompressSettings* settings);
-unsigned lodepng_custom_deflate(unsigned char** out, size_t* outsize,
- const unsigned char* in, size_t insize,
- const LodePNGCompressSettings* settings);
-
/* ////////////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////////////// */
/* // Tools for C, and common code for PNG and Zlib. // */
@@ -348,7 +320,7 @@ static void string_set(char** out, const char* in)
/* ////////////////////////////////////////////////////////////////////////// */
-unsigned lodepng_read32bitInt(const unsigned char* buffer)
+static unsigned lodepng_read32bitInt(const unsigned char* buffer)
{
return (buffer[0] << 24) | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3];
}
@@ -2668,11 +2640,6 @@ size_t lodepng_get_raw_size(unsigned w, unsigned h, const LodePNGColorMode* colo
return (w * h * lodepng_get_bpp(color) + 7) / 8;
}
-size_t lodepng_get_raw_size_lct(unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth)
-{
- return (w * h * lodepng_get_bpp_lct(colortype, bitdepth) + 7) / 8;
-}
-
#ifdef LODEPNG_COMPILE_ANCILLARY_CHUNKS
static void LodePNGUnknownChunks_init(LodePNGInfo* info)
@@ -2906,13 +2873,6 @@ unsigned lodepng_info_copy(LodePNGInfo* dest, const LodePNGInfo* source)
return 0;
}
-void lodepng_info_swap(LodePNGInfo* a, LodePNGInfo* b)
-{
- LodePNGInfo temp = *a;
- *a = *b;
- *b = temp;
-}
-
/* ////////////////////////////////////////////////////////////////////////// */
/*index: bitgroup index, bits: bitgroup size(1, 2 or 4, in: bitgroup value, out: octet array to add bits to*/
diff --git a/lib/gui/lodepng.h b/lib/gui/lodepng.h
index 50d5303055..7f636f0a73 100644
--- a/lib/gui/lodepng.h
+++ b/lib/gui/lodepng.h
@@ -855,6 +855,34 @@ unsigned compress(std::vector<unsigned char>& out, const std::vector<unsigned ch
} //namespace lodepng
#endif /*LODEPNG_COMPILE_CPP*/
+/*
+Declaration of the custom functions used if LODEPNG_COMPILE_ZLIB isn't defined
+or LODEPNG_CUSTOM_ZLIB_DECODER or LODEPNG_CUSTOM_ZLIB_ENCODER are enabled.
+
+In that case, you need to define these yourself (which you can do in one of your
+own source files) so that LodePNG can link to it.
+
+By default, this is not needed. If LODEPNG_COMPILE_ZLIB isn't defined, then only
+the two zlib related ones are needed.
+
+If needed, the functions must act as follows:
+*out must be NULL and *outsize must be 0 initially, and after the function is done,
+*out must point to the decompressed data, *outsize must be the size of it, and must
+be the size of the useful data in bytes, not the alloc size.
+*/
+unsigned lodepng_custom_zlib_decompress(unsigned char** out, size_t* outsize,
+ const unsigned char* in, size_t insize,
+ const LodePNGDecompressSettings* settings);
+unsigned lodepng_custom_zlib_compress(unsigned char** out, size_t* outsize,
+ const unsigned char* in, size_t insize,
+ const LodePNGCompressSettings* settings);
+unsigned lodepng_custom_inflate(unsigned char** out, size_t* outsize,
+ const unsigned char* in, size_t insize,
+ const LodePNGDecompressSettings* settings);
+unsigned lodepng_custom_deflate(unsigned char** out, size_t* outsize,
+ const unsigned char* in, size_t insize,
+ const LodePNGCompressSettings* settings);
+
/*
TODO:
[.] test if there are no memory leaks or security exploits - done a lot but needs to be checked often
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 04/20] ARM: sm: Make locally used function static
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (2 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 03/20] gui: lodepng: " Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 05/20] fs: ubifs: Avoid missing prototype warning Sascha Hauer
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
To avoid missing prototype warning.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/cpu/sm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/sm.c b/arch/arm/cpu/sm.c
index 6fad30adab..633c9e8c83 100644
--- a/arch/arm/cpu/sm.c
+++ b/arch/arm/cpu/sm.c
@@ -94,7 +94,7 @@ static unsigned long get_gicc_base_address(void)
#define GICD_IGROUPRn 0x0080
-int armv7_init_nonsec(void)
+static int armv7_init_nonsec(void)
{
void __iomem *gicd = IOMEM(get_gicd_base_address());
unsigned itlinesnr, i;
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 05/20] fs: ubifs: Avoid missing prototype warning
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (3 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 04/20] ARM: sm: Make locally used function static Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 06/20] ARM: start: Add missing include Sascha Hauer
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
Remove unused ubifs_iput() and make locally used functions static.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
fs/ubifs/super.c | 10 +---------
fs/ubifs/ubifs.c | 2 +-
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index 2fe2f3f640..fd1b645f9f 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -37,14 +37,6 @@
#include "ubifs.h"
#include <mtd/ubi-user.h>
-int ubifs_iput(struct inode *inode)
-{
- list_del_init(&inode->i_sb_list);
-
- free(inode);
- return 0;
-}
-
/* from include/linux/fs.h */
static inline void i_uid_write(struct inode *inode, uid_t uid)
{
@@ -56,7 +48,7 @@ static inline void i_gid_write(struct inode *inode, gid_t gid)
inode->i_gid = gid;
}
-void unlock_new_inode(struct inode *inode)
+static void unlock_new_inode(struct inode *inode)
{
return;
}
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
index bbe382dab0..7545dd4c9b 100644
--- a/fs/ubifs/ubifs.c
+++ b/fs/ubifs/ubifs.c
@@ -401,7 +401,7 @@ static loff_t ubifs_lseek(struct device_d *dev, FILE *f, loff_t pos)
return pos;
}
-void ubifs_set_rootarg(struct ubifs_priv *priv, struct fs_device_d *fsdev)
+static void ubifs_set_rootarg(struct ubifs_priv *priv, struct fs_device_d *fsdev)
{
struct ubi_volume_info vi = {};
struct ubi_device_info di = {};
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 06/20] ARM: start: Add missing include
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (4 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 05/20] fs: ubifs: Avoid missing prototype warning Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 07/20] ARM: start: Add missing prototype Sascha Hauer
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
entry.h provides prototypes for some functions, so include it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/cpu/start.c | 2 ++
arch/arm/cpu/uncompress.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c
index a79d64eaa6..540480d04e 100644
--- a/arch/arm/cpu/start.c
+++ b/arch/arm/cpu/start.c
@@ -34,6 +34,8 @@
#include <debug_ll.h>
+#include "entry.h"
+
unsigned long arm_stack_top;
static unsigned long arm_barebox_size;
static void *barebox_boarddata;
diff --git a/arch/arm/cpu/uncompress.c b/arch/arm/cpu/uncompress.c
index 048bca0c95..21d72c58b2 100644
--- a/arch/arm/cpu/uncompress.c
+++ b/arch/arm/cpu/uncompress.c
@@ -34,6 +34,8 @@
#include <debug_ll.h>
+#include "entry.h"
+
unsigned long free_mem_ptr;
unsigned long free_mem_end_ptr;
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 07/20] ARM: start: Add missing prototype
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (5 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 06/20] ARM: start: Add missing include Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 08/20] ARM: Add missing prototype for arm_mem_ramoops_get() Sascha Hauer
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
start() has no prototype, add it. Since it is not called from
anywhere in the barebox binary just add the prototype to the C file.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/cpu/start.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c
index 540480d04e..0b3722e31d 100644
--- a/arch/arm/cpu/start.c
+++ b/arch/arm/cpu/start.c
@@ -239,6 +239,8 @@ void NAKED __section(.text_entry) start(void)
}
#else
+
+void start(unsigned long membase, unsigned long memsize, void *boarddata);
/*
* First function in the uncompressed image. We get here from
* the pbl. The stack already has been set up by the pbl.
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 08/20] ARM: Add missing prototype for arm_mem_ramoops_get()
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (6 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 07/20] ARM: start: Add missing prototype Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 09/20] ARM: i.MX50: Make locally used function static Sascha Hauer
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
To avoid missing prototype warning.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/include/asm/barebox-arm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h
index c0c749ae34..e065b479e3 100644
--- a/arch/arm/include/asm/barebox-arm.h
+++ b/arch/arm/include/asm/barebox-arm.h
@@ -85,6 +85,8 @@ static inline void boarddata_create(void *adr, u32 machine)
u32 barebox_arm_machine(void);
+unsigned long arm_mem_ramoops_get(void);
+
struct barebox_arm_boarddata_compressed_dtb {
#define BAREBOX_ARM_BOARDDATA_COMPRESSED_DTB_MAGIC 0x7b66bcbd
u32 magic;
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 09/20] ARM: i.MX50: Make locally used function static
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (7 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 08/20] ARM: Add missing prototype for arm_mem_ramoops_get() Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 10/20] ARM: i.MX27: Add missing prototype for imx27_get_boot_source() Sascha Hauer
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
imx50_init_lowlevel_early() is only used locally, so make it static.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-imx/imx50.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx50.c b/arch/arm/mach-imx/imx50.c
index 4fd5481670..b76e3794e3 100644
--- a/arch/arm/mach-imx/imx50.c
+++ b/arch/arm/mach-imx/imx50.c
@@ -86,7 +86,7 @@ int imx50_devices_init(void)
return 0;
}
-void imx50_init_lowlevel_early(unsigned int cpufreq_mhz)
+static void imx50_init_lowlevel_early(unsigned int cpufreq_mhz)
{
void __iomem *ccm = IOMEM(MX50_CCM_BASE_ADDR);
u32 r;
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 10/20] ARM: i.MX27: Add missing prototype for imx27_get_boot_source()
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (8 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 09/20] ARM: i.MX50: Make locally used function static Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 11/20] ARM: i.MX: add missing include Sascha Hauer
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
imx27_get_boot_source() is exported, so add a prototype for it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-imx/include/mach/generic.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/include/mach/generic.h b/arch/arm/mach-imx/include/mach/generic.h
index dc537941a7..be58da4da2 100644
--- a/arch/arm/mach-imx/include/mach/generic.h
+++ b/arch/arm/mach-imx/include/mach/generic.h
@@ -19,6 +19,7 @@ void vf610_boot_save_loc(void);
void imx8_boot_save_loc(void);
void imx25_get_boot_source(enum bootsource *src, int *instance);
+void imx27_get_boot_source(enum bootsource *src, int *instance);
void imx35_get_boot_source(enum bootsource *src, int *instance);
void imx51_get_boot_source(enum bootsource *src, int *instance);
void imx53_get_boot_source(enum bootsource *src, int *instance);
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 11/20] ARM: i.MX: add missing include
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (9 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 10/20] ARM: i.MX27: Add missing prototype for imx27_get_boot_source() Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 12/20] ARM: i.MX6 usb: Add " Sascha Hauer
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
mach/imx-nand.h provides the prototype for imx_nand_set_layout() which
this file implements, so include the header file.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-imx/nand.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/nand.c b/arch/arm/mach-imx/nand.c
index f298a36046..7574fe80b2 100644
--- a/arch/arm/mach-imx/nand.c
+++ b/arch/arm/mach-imx/nand.c
@@ -17,6 +17,7 @@
#include <mach/imx25-regs.h>
#include <mach/imx27-regs.h>
#include <mach/imx35-regs.h>
+#include <mach/imx-nand.h>
#include <io.h>
#define RCSR_NFC_FMS (1 << 8)
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 12/20] ARM: i.MX6 usb: Add missing include
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (10 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 11/20] ARM: i.MX: add missing include Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 13/20] imx-bbu-nand: Make locally used functions static Sascha Hauer
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
include header file providing the protype for functions that usb-imx6.c
implements.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-imx/usb-imx6.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/usb-imx6.c b/arch/arm/mach-imx/usb-imx6.c
index 5e3df10e44..4236bcb772 100644
--- a/arch/arm/mach-imx/usb-imx6.c
+++ b/arch/arm/mach-imx/usb-imx6.c
@@ -20,6 +20,7 @@
#include <common.h>
#include <io.h>
#include <mach/imx6-regs.h>
+#include <mach/usb.h>
#define SET 0x4
#define CLR 0x8
@@ -33,7 +34,6 @@
#define USB_UH1_USBCMD 0x340
#define USB_CMD_RUNSTOP (1 << 0)
-#define USB_CMD_RESET (1 << 1)
#define USB_OVER_CUR_DIS (1 << 7)
#define USBPHY_CTRL_SFTRST (1 << 31)
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 13/20] imx-bbu-nand: Make locally used functions static
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (11 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 12/20] ARM: i.MX6 usb: Add " Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 14/20] clk: imx: Avoid missing prototype warnings Sascha Hauer
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
To avoid missing prototypes warning.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
common/imx-bbu-nand-fcb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/imx-bbu-nand-fcb.c b/common/imx-bbu-nand-fcb.c
index 8842ba6c58..8c276a43c0 100644
--- a/common/imx-bbu-nand-fcb.c
+++ b/common/imx-bbu-nand-fcb.c
@@ -204,7 +204,7 @@ static void encode_bch_ecc(void *buf, struct fcb_block *fcb, int eccbits)
free_bch(bch);
}
-struct fcb_block *read_fcb_bch(void *rawpage, int eccbits)
+static struct fcb_block *read_fcb_bch(void *rawpage, int eccbits)
{
int i, j, ret, errbit, m = 13;
int blocksize = 128;
@@ -308,7 +308,7 @@ static uint32_t calc_chksum(void *buf, size_t size)
return ~chksum;
}
-struct fcb_block *read_fcb_hamming_13_8(void *rawpage)
+static struct fcb_block *read_fcb_hamming_13_8(void *rawpage)
{
int i;
int bitflips = 0, bit_to_flip;
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 14/20] clk: imx: Avoid missing prototype warnings
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (12 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 13/20] imx-bbu-nand: Make locally used functions static Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 15/20] dma: apbh: make locally used function static Sascha Hauer
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
clk_gate2_free() is unused, so remove it. clk_gate2_alloc() is only
used locally, so make it static.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/clk/imx/clk-gate2.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/clk/imx/clk-gate2.c b/drivers/clk/imx/clk-gate2.c
index f2e704cdb2..8d5ed7e05c 100644
--- a/drivers/clk/imx/clk-gate2.c
+++ b/drivers/clk/imx/clk-gate2.c
@@ -87,7 +87,7 @@ static struct clk_ops clk_gate2_ops = {
.is_enabled = clk_gate2_is_enabled,
};
-struct clk *clk_gate2_alloc(const char *name, const char *parent,
+static struct clk *clk_gate2_alloc(const char *name, const char *parent,
void __iomem *reg, u8 shift, u8 cgr_val,
unsigned long flags)
{
@@ -106,13 +106,6 @@ struct clk *clk_gate2_alloc(const char *name, const char *parent,
return &g->clk;
}
-void clk_gate2_free(struct clk *clk)
-{
- struct clk_gate2 *g = to_clk_gate2(clk);
-
- free(g);
-}
-
struct clk *clk_gate2(const char *name, const char *parent, void __iomem *reg,
u8 shift, u8 cgr_val, unsigned long flags)
{
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 15/20] dma: apbh: make locally used function static
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (13 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 14/20] clk: imx: Avoid missing prototype warnings Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 16/20] pinctrl: at91: Add missing include Sascha Hauer
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
To avoid missing prototype warning.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/dma/apbh_dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c
index 79f25109f9..72c2f364c5 100644
--- a/drivers/dma/apbh_dma.c
+++ b/drivers/dma/apbh_dma.c
@@ -67,7 +67,7 @@ static struct apbh_dma *apbh_dma;
/*
* Test is the DMA channel is valid channel
*/
-int mxs_dma_validate_chan(int channel)
+static int mxs_dma_validate_chan(int channel)
{
struct mxs_dma_chan *pchan;
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 16/20] pinctrl: at91: Add missing include
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (14 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 15/20] dma: apbh: make locally used function static Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 17/20] video: vpl: make locally used function static Sascha Hauer
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
mach/iomux.h provides prototypes for functions that the pinctrl driver
implements, so include it. With this we have a duplicate definition of
enum at91_mux so remove it from the pinctrl driver.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/pinctrl/pinctrl-at91.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index 3201eb9cb1..11e00833c5 100644
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -32,6 +32,7 @@
#include <mach/at91_pio.h>
#include <mach/gpio.h>
+#include <mach/iomux.h>
#include <pinctrl.h>
@@ -46,14 +47,6 @@ struct at91_gpio_chip {
struct at91_pinctrl_mux_ops *ops; /* ops */
};
-enum at91_mux {
- AT91_MUX_GPIO = 0,
- AT91_MUX_PERIPH_A = 1,
- AT91_MUX_PERIPH_B = 2,
- AT91_MUX_PERIPH_C = 3,
- AT91_MUX_PERIPH_D = 4,
-};
-
#define MAX_GPIO_BANKS 5
#define to_at91_pinctrl(c) container_of(c, struct at91_pinctrl, pctl);
#define to_at91_gpio_chip(c) container_of(c, struct at91_gpio_chip, chip)
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 17/20] video: vpl: make locally used function static
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (15 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 16/20] pinctrl: at91: Add missing include Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 18/20] fs: devfs: Make " Sascha Hauer
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
of_find_vpl() is only used locally, so make it static.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/video/vpl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/vpl.c b/drivers/video/vpl.c
index 99ad180eec..82ceeebada 100644
--- a/drivers/video/vpl.c
+++ b/drivers/video/vpl.c
@@ -36,7 +36,7 @@ int vpl_register(struct vpl *vpl)
return 0;
}
-struct vpl *of_find_vpl(struct device_node *node)
+static struct vpl *of_find_vpl(struct device_node *node)
{
struct vpl *vpl;
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 18/20] fs: devfs: Make locally used function static
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (16 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 17/20] video: vpl: make locally used function static Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 19/20] nvmem: Add prototype for exported functions Sascha Hauer
2018-11-09 9:52 ` [PATCH 20/20] Make: Add -Wmissing-prototypes Sascha Hauer
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
devfs_iterate() is only used locally, so make it static.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
fs/devfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/devfs.c b/fs/devfs.c
index 717e66c5dc..81ae2c25a5 100644
--- a/fs/devfs.c
+++ b/fs/devfs.c
@@ -193,7 +193,7 @@ static struct inode *devfs_alloc_inode(struct super_block *sb)
return &node->inode;
}
-int devfs_iterate(struct file *file, struct dir_context *ctx)
+static int devfs_iterate(struct file *file, struct dir_context *ctx)
{
struct cdev *cdev;
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 19/20] nvmem: Add prototype for exported functions
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (17 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 18/20] fs: devfs: Make " Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
2018-11-09 9:52 ` [PATCH 20/20] Make: Add -Wmissing-prototypes Sascha Hauer
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
nvmem_device_cell_read() and nvmem_device_cell_write() are exported, so
add a prototype to the header file.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
include/linux/nvmem-consumer.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/nvmem-consumer.h b/include/linux/nvmem-consumer.h
index 0ec2f05b97..32ea46e3bf 100644
--- a/include/linux/nvmem-consumer.h
+++ b/include/linux/nvmem-consumer.h
@@ -40,6 +40,10 @@ int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len);
/* direct nvmem device read/write interface */
struct nvmem_device *nvmem_device_get(struct device_d *dev, const char *name);
void nvmem_device_put(struct nvmem_device *nvmem);
+ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem,
+ struct nvmem_cell_info *info, void *buf);
+int nvmem_device_cell_write(struct nvmem_device *nvmem,
+ struct nvmem_cell_info *info, void *buf);
#else
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 20/20] Make: Add -Wmissing-prototypes
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
` (18 preceding siblings ...)
2018-11-09 9:52 ` [PATCH 19/20] nvmem: Add prototype for exported functions Sascha Hauer
@ 2018-11-09 9:52 ` Sascha Hauer
19 siblings, 0 replies; 21+ messages in thread
From: Sascha Hauer @ 2018-11-09 9:52 UTC (permalink / raw)
To: Barebox List
-Wmissing-prototypes is a useful warning, so add it to the build.
With this we can detect conflicting function prototypes. When a file
implements a function but doesn't include the header file which
provides the prototype for it then conflicting prototypes would go
unnoticed without this warning.
MIPS already had that warning, so we can remove it from the MIPS
Makefile.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Makefile | 2 +-
arch/mips/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index db474af502..203ae20e7e 100644
--- a/Makefile
+++ b/Makefile
@@ -307,7 +307,7 @@ CPPFLAGS := -D__KERNEL__ -D__BAREBOX__ $(LINUXINCLUDE) -fno-builtin -ffre
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-Werror-implicit-function-declaration \
- -fno-strict-aliasing -fno-common -Os -pipe
+ -fno-strict-aliasing -fno-common -Os -pipe -Wmissing-prototypes
AFLAGS := -D__ASSEMBLY__
LDFLAGS_barebox := -Map barebox.map
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 3342e0eafd..6338dc174d 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -12,7 +12,7 @@ endif
CPPFLAGS += -D__MIPS__ -fno-strict-aliasing -fno-merge-constants
cflags-y += -G 0 -mno-abicalls -fno-pic -pipe
-cflags-y += -Wall -Wmissing-prototypes -Wstrict-prototypes \
+cflags-y += -Wall -Wstrict-prototypes \
-Wno-uninitialized -Wno-format -Wno-main
ifdef CONFIG_32BIT
--
2.19.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2018-11-09 9:53 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 9:52 [PATCH 00/20] Fix another ton of missing prototype warnings Sascha Hauer
2018-11-09 9:52 ` [PATCH 01/20] ARM: interrupts: Avoid missing prototypes warning Sascha Hauer
2018-11-09 9:52 ` [PATCH 02/20] ARM: psci: " Sascha Hauer
2018-11-09 9:52 ` [PATCH 03/20] gui: lodepng: " Sascha Hauer
2018-11-09 9:52 ` [PATCH 04/20] ARM: sm: Make locally used function static Sascha Hauer
2018-11-09 9:52 ` [PATCH 05/20] fs: ubifs: Avoid missing prototype warning Sascha Hauer
2018-11-09 9:52 ` [PATCH 06/20] ARM: start: Add missing include Sascha Hauer
2018-11-09 9:52 ` [PATCH 07/20] ARM: start: Add missing prototype Sascha Hauer
2018-11-09 9:52 ` [PATCH 08/20] ARM: Add missing prototype for arm_mem_ramoops_get() Sascha Hauer
2018-11-09 9:52 ` [PATCH 09/20] ARM: i.MX50: Make locally used function static Sascha Hauer
2018-11-09 9:52 ` [PATCH 10/20] ARM: i.MX27: Add missing prototype for imx27_get_boot_source() Sascha Hauer
2018-11-09 9:52 ` [PATCH 11/20] ARM: i.MX: add missing include Sascha Hauer
2018-11-09 9:52 ` [PATCH 12/20] ARM: i.MX6 usb: Add " Sascha Hauer
2018-11-09 9:52 ` [PATCH 13/20] imx-bbu-nand: Make locally used functions static Sascha Hauer
2018-11-09 9:52 ` [PATCH 14/20] clk: imx: Avoid missing prototype warnings Sascha Hauer
2018-11-09 9:52 ` [PATCH 15/20] dma: apbh: make locally used function static Sascha Hauer
2018-11-09 9:52 ` [PATCH 16/20] pinctrl: at91: Add missing include Sascha Hauer
2018-11-09 9:52 ` [PATCH 17/20] video: vpl: make locally used function static Sascha Hauer
2018-11-09 9:52 ` [PATCH 18/20] fs: devfs: Make " Sascha Hauer
2018-11-09 9:52 ` [PATCH 19/20] nvmem: Add prototype for exported functions Sascha Hauer
2018-11-09 9:52 ` [PATCH 20/20] Make: Add -Wmissing-prototypes Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox