aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-04-25 07:07:18 +0000
committerDavid S. Miller <davem@davemloft.net>2017-04-25 11:59:36 -0400
commit2f7878c06e2d227aa5c405ddde356403b83e3509 (patch)
tree9cd17f093e988cb08ddba8208222f4c4ac5b39b6 /net/core/dev.c
parentbpf: map_get_next_key to return first key on NULL (diff)
downloadlinux-dev-2f7878c06e2d227aa5c405ddde356403b83e3509.tar.xz
linux-dev-2f7878c06e2d227aa5c405ddde356403b83e3509.zip
qed: fix invalid use of sizeof in qed_alloc_qm_data()
sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Fixes: b5a9ee7cf3be ("qed: Revise QM configuration") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions