m68k sparse void return
Subsystems (2)
Geert Uytterhoeven
maintainerPATCH 1/1 m68k sparse void return
M68k: Don't return anything in functions returning void (found by sparse)
Signed-off-by Geert Uytterhoeven <[email protected]>
arch/m68k/mac/macints.c +2 -1
@@ -545,7 +545,8 @@#endif if (irq <VIA1_SOURCE_BASE ) { -return cpu_free_irq (irq, dev_id); +cpu_free_irq (irq, dev_id); +return ; }if (irq >=NUM_MAC_SOURCES ) {
arch/m68k/mm/kmap.c +1 -1
@@ -45,7 +45,7 @@static inline void free_io_area (void *addr) { -return vfree ((void *)(PAGE_MASK & (unsigned long )addr)); +vfree ((void *)(PAGE_MASK & (unsigned long )addr)); }#else
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds