aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-gimple-pass.h
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2017-04-23 17:09:11 +0800
committerDoug Ledford <[email protected]>2017-04-28 13:09:55 -0400
commit9ef63f31ad0ba28c68c8367e5b1cbba720fec597 (patch)
tree24a845ec47fad4a696d527530d93e2fcb97102da /scripts/gcc-plugins/gcc-generate-gimple-pass.h
parent27b0b83233ced9e6b7448875a40382f7384daccd (diff)
iw_cxgb4: check return value of alloc_skb
Function alloc_skb() will return a NULL pointer when there is no enough memory. However, the return value of alloc_skb() is directly used without validation in function send_fw_pass_open_req(). This patches checks the return value of alloc_skb() against NULL. Signed-off-by: Pan Bian <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions