[media] media: rc: lirc_dev: check kobject_set_name() result
Backport from upstream kernel:
Author: Vasiliy Kulikov <firstname.lastname@example.org>
Date: Fri Nov 26 14:06:41 2010 -0300
kobject_set_name() may fail with -ENOMEM, check for it.
Signed-off-by: Vasiliy Kulikov <email@example.com>
Acked-by: Jarod Wilson <firstname.lastname@example.org>
Signed-off-by: Mauro Carvalho Chehab <email@example.com>
Signed-off-by: Jarod Wilson <firstname.lastname@example.org>
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.