Re: [PATCH 08/24] drivers/firmware: return actual error on sysfs init

From: Greg KH
Date: Tue Jun 17 2014 - 15:21:55 EST


On Tue, Jun 17, 2014 at 10:29:14PM +0800, Jeff Liu wrote:
> From: Jie Liu <jeff.liu@xxxxxxxxxx>
>
> This patch fix all sysfs init functions under firmware subsystems
> to return the actual error if call kset_create_and_add() failed.
>
> Cc: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
> ---
> drivers/firmware/dmi-sysfs.c | 4 +++-
> drivers/firmware/edd.c | 4 ++--
> drivers/firmware/efi/efivars.c | 4 ++--
> drivers/firmware/efi/runtime-map.c | 4 ++--
> drivers/firmware/memmap.c | 4 ++--
> 5 files changed, 11 insertions(+), 9 deletions(-)

Stefan, please do not take this patch.

thanks,

greg k-h
--
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/