diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-02-15 22:26:05 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-02-26 23:35:01 +0300 |
commit | e85c1b8234e65134ccf801938f98352a43263a9f (patch) | |
tree | 38886720a5f2e6f6af71d528967a97f19edc2475 /include/linux/dtlk.h | |
parent | 04d4105174349dceccf9545a3e5e421c18f2cc56 (diff) | |
download | linux-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