diff options
| author | Dan Carpenter <[email protected]> | 2018-02-22 09:11:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-02-22 20:33:16 +0000 |
| commit | 370c10522e96bf1b2e7fd9e906dbe8fb5be895d2 (patch) | |
| tree | 64513ef921a3a0a9ae871b4e23ef88ad5c07af19 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | Merge tag 'mac80211-for-davem-2018-02-22' of git://git.kernel.org/pub/scm/lin... (diff) | |
| download | kernel-370c10522e96bf1b2e7fd9e906dbe8fb5be895d2.tar.gz kernel-370c10522e96bf1b2e7fd9e906dbe8fb5be895d2.zip | |
net: aquantia: Fix error handling in aq_pci_probe()
We should check "self->aq_hw" for allocation failure, and also we should
free it on the error paths.
Fixes: 23ee07ad3c2f ("net: aquantia: Cleanup pci functions module")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
