diff options
author | 2012-03-22 12:42:41 +0530 | |
---|---|---|
committer | 2012-03-28 14:25:35 -0400 | |
commit | e90c7e712980bf794f88f749e2a1270e4a4a116e (patch) | |
tree | e037a02e279b449c6889dcbee8b76424655f4036 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/wireless: ipw2x00: fix a typo in wiphy struct initilization (diff) | |
download | linux-dev-e90c7e712980bf794f88f749e2a1270e4a4a116e.tar.xz linux-dev-e90c7e712980bf794f88f749e2a1270e4a4a116e.zip |
net: orinoco: add error handling for failed kmalloc().
With flag 'GFP_ATOMIC', probability of allocation failure is more.
Add error handling after kmalloc() call to avoid null dereference.
Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions