Re: [PATCH] efi: Fix compiler warnings (unused, const, type)

From: Fleming, Matt
Date: Mon Jun 02 2014 - 07:31:26 EST


On 2 June 2014 11:31, Catalin Marinas <catalin.marinas@xxxxxxx> wrote:
> This patch fixes a few compiler warning in the efi code for unused
> variable, discarding const qualifier and wrong pointer type:
>
> drivers/firmware/efi/fdt.c|66 col 22| warning: unused variable ânameâ [-Wunused-variable]
> drivers/firmware/efi/efi.c|368 col 3| warning: passing argument 3 of âof_get_flat_dt_propâ from incompatible pointer type [enabled by default]
> drivers/firmware/efi/efi.c|368 col 8| warning: assignment discards âconstâ qualifier from pointer target type [enabled by default]
>
> Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>
> ---
>
> Matt,
>
> Unless you have fixed these already, please consider applying (warnings in
> latest next/master branch).

Thanks, applied to arm64-efi.
--
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/