[PATCH AUTOSEL 4.14 18/30] media: pci: cx23885: handle adding to list failure

2018-11-04 Thread Sasha Levin
From: Nicholas Mc Guire [ Upstream commit c5d59528e24ad22500347b199d52b9368e686a42 ] altera_hw_filt_init() which calls append_internal() assumes that the node was successfully linked in while in fact it can silently fail. So the call-site needs to set return to -ENOMEM on append_internal()

[PATCH AUTOSEL 4.14 18/30] media: pci: cx23885: handle adding to list failure

2018-11-04 Thread Sasha Levin
From: Nicholas Mc Guire [ Upstream commit c5d59528e24ad22500347b199d52b9368e686a42 ] altera_hw_filt_init() which calls append_internal() assumes that the node was successfully linked in while in fact it can silently fail. So the call-site needs to set return to -ENOMEM on append_internal()