diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-15 00:07:10 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-04-12 15:25:09 +0100 |
commit | 507b820009a457afa78202da337bcb56791fbb12 (patch) | |
tree | ed0f356548774d64cb02a87e53263891ec6662b7 /net | |
parent | 993d5fe31c7b7cf7f480c6b4bec3ed23a3a24690 (diff) | |
download | linux-507b820009a457afa78202da337bcb56791fbb12.tar.gz linux-507b820009a457afa78202da337bcb56791fbb12.tar.bz2 linux-507b820009a457afa78202da337bcb56791fbb12.zip |
PCI: endpoint: Fix a potential NULL pointer dereference
In case alloc_workqueue() fails, return -ENOMEM to avoid
potential NULL pointer dereferences.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
[lorenzo.pieralisi@arm.com: commit log and code update]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions