summaryrefslogtreecommitdiff
path: root/net/tipc/sysctl.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2019-01-19 22:52:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-29 10:21:41 +0100
commitcd3e61eee354e97ca3ca6aba5578790288960921 (patch)
tree7e982a7993a7325181ed9ed6adbc285e2eee1de3 /net/tipc/sysctl.c
parent7b75beadcde0f67db33a6e5af9860f47ab3374ec (diff)
media: cx23885: check allocation return
[ Upstream commit a3d7f22ef34ec4206b50ee121384d5c8bebd5591 ] Checking of kmalloc() seems to have been committed - as cx23885_dvb_register() is checking for != 0 return, returning -ENOMEM should be fine here. While at it address the coccicheck suggestion to move to kmemdup rather than using kmalloc+memcpy. Fixes: 46b21bbaa8a8 ("[media] Add support for DViCO FusionHDTV DVB-T Dual Express2") Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc/sysctl.c')
0 files changed, 0 insertions, 0 deletions