Re: [PATCH] firmware/efi : use NULL instead of 0 for pointer

From: Matt Fleming
Date: Thu Feb 13 2014 - 06:06:39 EST


On Thu, 13 Feb, at 06:54:48PM, Daeseok Youn wrote:
> From 1c70573009a3b50cef2acaae1e5a8cd350edfe6d Mon Sep 17 00:00:00 2001
> From: Daeseok Youn <daeseok.youn@xxxxxxxxx>
> Date: Thu, 13 Feb 2014 17:16:36 +0900
> Subject: [PATCH] firmware/efi : use NULL instead of 0 for pointer
>
> following sparse warnings:
>
> drivers/firmware/efi/efivars.c:230:66: warning:
> Using plain integer as NULL pointer
> drivers/firmware/efi/efi.c:236:27: warning:
> Using plain integer as NULL pointer
>
> Signed-off-by: Daeseok Youn <daeseok.youn@xxxxxxxxx>
> ---
> drivers/firmware/efi/efi.c | 2 +-
> drivers/firmware/efi/efivars.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

This patch doesn't apply because it is corrupt,

fatal: corrupt patch at line 11
Patch failed at 0001 efi: Use NULL instead of 0 for pointer

Please attach the patch in a reply.

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