diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2019-03-12 03:05:02 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-11 12:23:55 +0200 |
| commit | 50d25ca802f5a8827325750b05ac5f57cf75de91 (patch) | |
| tree | b8c20ac512e236a7d20a6e9e7959e26acf77c342 /tools/perf/scripts/python/syscall-counts.py | |
| parent | af2fb022b390da9b8e3e068bc176a1547584949f (diff) | |
net: cw1200: fix a NULL pointer dereference
[ Upstream commit 0ed2a005347400500a39ea7c7318f1fea57fb3ca ]
In case create_singlethread_workqueue fails, the fix free the
hardware and returns NULL to avoid NULL pointer dereference.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
