Re: [PATCH 2/6] headers_check fix: ia64, fpswa.h

From: Arnd Bergmann
Date: Fri Jun 05 2009 - 05:28:56 EST


On Thursday 04 June 2009, Jaswinder Singh Rajput wrote:

> index 62edfce..797b064 100644
> --- a/arch/ia64/include/asm/fpswa.h
> +++ b/arch/ia64/include/asm/fpswa.h
> @@ -68,6 +68,7 @@ typedef struct {
> efi_fpswa_t fpswa;
> } fpswa_interface_t;
>
> +#ifdef __KERNEL__
> extern fpswa_interface_t *fpswa_interface;
> -
> +#endif
> #endif /* _ASM_IA64_FPSWA_H */

It's pretty obvious that the above data structure also doesn't
apply in user space. In fact it looks like the whole file should
just not be exported. Your patch is not helpful there because
it just silences the warning.

Arnd <><
--
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/