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