summaryrefslogtreecommitdiff
path: root/include/linux/dtlk.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-02-15 22:26:05 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-02-26 23:35:01 +0300
commite85c1b8234e65134ccf801938f98352a43263a9f (patch)
tree38886720a5f2e6f6af71d528967a97f19edc2475 /include/linux/dtlk.h
parent04d4105174349dceccf9545a3e5e421c18f2cc56 (diff)
downloadlinux-e85c1b8234e65134ccf801938f98352a43263a9f.tar.xz
i40evf: pass struct virtchnl_filter by reference rather than by value
Passing struct virtchnl_filter f by value requires a 272 byte copy on x86_64, so instead pass it by reference is much more efficient. Also adjust some lines that are over 80 chars. Detected by CoverityScan, CID#1465285 ("Big parameter passed by value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux/dtlk.h')
0 files changed, 0 insertions, 0 deletions