Re: [PATCH] media: rc: lirc_dev: check kobject_set_name() result
From: Jarod Wilson
Date: Wed Dec 01 2010 - 21:45:47 EST
On Nov 26, 2010, at 12:06 PM, Vasiliy Kulikov wrote:
> kobject_set_name() may fail with -ENOMEM, check for it.
>
> Signed-off-by: Vasiliy Kulikov <segoon@xxxxxxxxxxxx>
> ---
> Compile tested only.
Works for me.
Acked-by: Jarod Wilson <jarod@xxxxxxxxxx>
--
Jarod Wilson
jarod@xxxxxxxxxxxx
--
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/