diff options
author | Pan Bian <bianpan2016@163.com> | 2017-04-23 10:06:36 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:50:18 +0200 |
commit | 40343d06f727faf9125ae61ce66fee27787abd4c (patch) | |
tree | 5da27b45cf866dc8ce6ea51401baa1e7d77092d1 /drivers/net/phy/phy.c | |
parent | 766da58378855d4216ae47cfe63517acf005af0b (diff) |
cx25840: fix unchecked return values
[ Upstream commit 35378ce143071c2a6bad4b59a000e9b9f8f6ea67 ]
In functions cx25840_initialize(), cx231xx_initialize(), and
cx23885_initialize(), the return value of create_singlethread_workqueue()
is used without validation. This may result in NULL dereference and cause
kernel crash. This patch fixes it.
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions