[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdWtEZ3WqFw0ihSAAcTP76TdR+jtqjkX+=UwOi+=04xOWQ@mail.gmail.com>
Date: Mon, 10 Jan 2022 15:21:39 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Laurent Vivier <laurent@...ier.eu>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-m68k <linux-m68k@...ts.linux-m68k.org>,
linux-rtc@...r.kernel.org, Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>
Subject: Re: [PATCH v3 1/2] m68k: add asm/config.h
Hi Laurent,
On Mon, Jan 10, 2022 at 9:42 AM Laurent Vivier <laurent@...ier.eu> wrote:
> To avoid 'warning: no previous prototype for' error, declare all
> the parse_bootinfo and config functions prototypes into asm/config.h
> and include it in arch/m68k/kernel/setup_mm.c and arch/m68k/*/config.c
>
> Signed-off-by: Laurent Vivier <laurent@...ier.eu>
Thanks for your patch!
> --- /dev/null
> +++ b/arch/m68k/include/asm/config.h
> @@ -0,0 +1,33 @@
> +// SPDX-License-Identifier: GPL-2.0
scripts/checkpatch.pl says this is the wrong one.
> +
> +/*
> + * This file contains prototypes provided by each m68k machine
> + * to parse bootinfo datastructure and to configure the machine
data structures
> + */
> +
> +#ifndef _M68K_CONFIG_H
> +#define _M68K_CONFIG_H
> +
> +extern int amiga_parse_bootinfo(const struct bi_record *);
> +extern int atari_parse_bootinfo(const struct bi_record *);
> +extern int mac_parse_bootinfo(const struct bi_record *);
> +extern int q40_parse_bootinfo(const struct bi_record *);
> +extern int bvme6000_parse_bootinfo(const struct bi_record *);
> +extern int mvme16x_parse_bootinfo(const struct bi_record *);
> +extern int mvme147_parse_bootinfo(const struct bi_record *);
> +extern int hp300_parse_bootinfo(const struct bi_record *);
> +extern int apollo_parse_bootinfo(const struct bi_record *);
Missing parameter names.
I can fix those while applying.
Reviewed-by: Geert Uytterhoeven <geert@...ux-m68k.org>
i.e. will queue in the m68k for-v5.18 branch.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
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
Powered by blists - more mailing lists