All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch added to the 3.12 stable tree] rc-core: fix remove uevent generation
@ 2015-09-30  9:59 Jiri Slaby
  2015-09-30  9:59 ` [patch added to the 3.12 stable tree] v4l: omap3isp: Fix sub-device power management code Jiri Slaby
                   ` (29 more replies)
  0 siblings, 30 replies; 33+ messages in thread
From: Jiri Slaby @ 2015-09-30  9:59 UTC (permalink / raw)
  To: stable; +Cc: David Härdeman, Mauro Carvalho Chehab, Jiri Slaby

From: David Härdeman <david@hardeman.nu>

This patch has been added to the 3.12 stable tree. If you have any
objections, please let us know.

===============

commit a66b0c41ad277ae62a3ae6ac430a71882f899557 upstream.

The input_dev is already gone when the rc device is being unregistered
so checking for its presence only means that no remove uevent will be
generated.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 drivers/media/rc/rc-main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 46da365c9c84..f972de9f02e6 100644
--- a/drivers/media/rc/rc-main.c
+++ b/drivers/media/rc/rc-main.c
@@ -978,9 +978,6 @@ static int rc_dev_uevent(struct device *device, struct kobj_uevent_env *env)
 {
 	struct rc_dev *dev = to_rc_dev(device);
 
-	if (!dev || !dev->input_dev)
-		return -ENODEV;
-
 	if (dev->rc_map.name)
 		ADD_HOTPLUG_VAR("NAME=%s", dev->rc_map.name);
 	if (dev->driver_name)
-- 
2.6.0


^ permalink raw reply related	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2015-09-30 11:47 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30  9:59 [patch added to the 3.12 stable tree] rc-core: fix remove uevent generation Jiri Slaby
2015-09-30  9:59 ` [patch added to the 3.12 stable tree] v4l: omap3isp: Fix sub-device power management code Jiri Slaby
2015-09-30  9:59 ` [patch added to the 3.12 stable tree] Btrfs: check if previous transaction aborted to avoid fs corruption Jiri Slaby
2015-09-30  9:59 ` [patch added to the 3.12 stable tree] NFSv4: don't set SETATTR for O_RDONLY|O_EXCL Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] NFS: nfs_set_pgio_error sometimes misses errors Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] parisc: Filter out spurious interrupts in PA-RISC irq handler Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] vmscan: fix increasing nr_isolated incurred by putback unevictable pages Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] fs: if a coredump already exists, unlink and recreate with O_EXCL Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] mmc: core: fix race condition in mmc_wait_data_done Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] md/raid10: always set reshape_safe when initializing reshape_position Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] xen/gntdev: convert priv->lock to a mutex Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] hfs: fix B-tree corruption after insertion at position 0 Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] IB/qib: Change lkey table allocation to support more MRs Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] IB/uverbs: reject invalid or unknown opcodes Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] IB/uverbs: Fix race between ib_uverbs_open and remove_one Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] IB/mlx4: Forbid using sysfs to change RoCE pkeys Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] IB/mlx4: Use correct SL on AH query under RoCE Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] stmmac: fix check for phydev being open Jiri Slaby
2015-09-30 11:28   ` Sergei Shtylyov
2015-09-30 11:47     ` Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] stmmac: troubleshoot unexpected bits in des0 & des1 Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] hfs,hfsplus: cache pages correctly between bnode_create and bnode_free Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] ip6_gre: release cached dst on tunnel removal Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] ipv6: fix exthdrs offload registration in out_rt path Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] net/ipv6: Correct PIM6 mrt_lock handling Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] netlink, mmap: transform mmap skb into full skb on taps Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] sctp: fix race on protocol/netns initialization Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] openvswitch: Zero flows on allocation Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] fib_rules: fix fib rule dumps across multiple skbs Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] x86/nmi/64: Improve nested NMI comments Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] x86/nmi/64: Reorder nested NMI checks Jiri Slaby
2015-09-30 10:00 ` [patch added to the 3.12 stable tree] x86/nmi/64: Use DF to avoid userspace RSP confusing nested NMI detection Jiri Slaby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.