summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/str_error.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-07-03 19:50:37 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-03 23:53:07 +0300
commita51df9f8da43e8bf9e508143630849b7d696e053 (patch)
treeeff4e9de9ad6cdf31c4162c70a09741561d069e4 /tools/lib/bpf/str_error.c
parente227701c4583f0408cac33eca0fa96ac4b8ff7d9 (diff)
downloadlinux-a51df9f8da43e8bf9e508143630849b7d696e053.tar.xz
gve: fix -ENOMEM null check on a page allocation
Currently the check to see if a page is allocated is incorrect and is checking if the pointer page is null, not *page as intended. Fix this. Addresses-Coverity: ("Dereference before null check") Fixes: f5cedc84a30d ("gve: Add transmit and receive support") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions