Re: [PATCH] x86: fix two sparse warnings in early boot string handling

From: Matt Fleming
Date: Thu Feb 13 2014 - 05:31:25 EST


On Wed, 12 Feb, at 03:31:05PM, H. Peter Anvin wrote:
>
> The real answer IMO ought to be that since arch/x86/boot/string.c is now
> used separately from boot.h (eboot.c which includes efi-stub-helper.c
> does *not* include boot.h) we may have to move those string functions
> into a separate header file.
>
> Matt, do you have any opinions here?

This makes sense to me. Perhaps arch/x86/boot/lib/string.c which would
be useable by both arch/x86/boot/*.c and arch/x86/boot/compressed/*.c?

--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/