[Skiboot] [PATCH 14/25] sparse: fix fsp_fillmsg definition
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Wed Feb 25 03:05:32 AEDT 2015
On 02/24/2015 04:44 PM, Cédric Le Goater wrote:
> hw/fsp/fsp.c:920:13: warning: function 'fsp_fillmsg' with external linkage has definition
I have not seen this warning in my box (Fedora 21).. But fix looks good.
>
> Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
Acked-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
-Vasant
> ---
> hw/fsp/fsp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
> index 21926b6359fd..2755c1221be1 100644
> --- a/hw/fsp/fsp.c
> +++ b/hw/fsp/fsp.c
> @@ -917,7 +917,7 @@ static void __fsp_fillmsg(struct fsp_msg *msg, u32 cmd_sub_mod,
> va_end(list);
> }
>
> -extern void fsp_fillmsg(struct fsp_msg *msg, u32 cmd_sub_mod, u8 add_words, ...)
> +void fsp_fillmsg(struct fsp_msg *msg, u32 cmd_sub_mod, u8 add_words, ...)
> {
> va_list list;
>
>
More information about the Skiboot
mailing list