diff options
author | 2017-10-18 15:34:25 -0500 | |
---|---|---|
committer | 2017-11-27 13:50:35 -0800 | |
commit | c30bf8cecebabb119aa1fbb17de84f924a8ab8f7 (patch) | |
tree | 46fa929e068861bba227fec36f45498fa6d8a9a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'mac80211-for-davem-2017-11-27' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 (diff) | |
download | wireguard-linux-c30bf8cecebabb119aa1fbb17de84f924a8ab8f7.tar.xz wireguard-linux-c30bf8cecebabb119aa1fbb17de84f924a8ab8f7.zip |
i40e/virtchnl: fix application of sizeof to pointer
sizeof when applied to a pointer typed expression gives the size of
the pointer.
The proper fix in this particular case is to code sizeof(*vfres)
instead of sizeof(vfres).
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A R Silva <garsilva@embeddedor.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions