diff options
| author | Kangjie Lu <[email protected]> | 2019-03-15 05:07:10 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2019-04-12 14:25:09 +0000 |
| commit | 507b820009a457afa78202da337bcb56791fbb12 (patch) | |
| tree | ed0f356548774d64cb02a87e53263891ec6662b7 /drivers/pci/controller/dwc | |
| parent | tools: PCI: Handle pcitest.sh independently from pcitest (diff) | |
| download | kernel-507b820009a457afa78202da337bcb56791fbb12.tar.gz kernel-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 <[email protected]>
[[email protected]: commit log and code update]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions
