diff options
author | John Zhao <john.zhao@intel.com> | 2020-09-22 09:03:32 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-09-28 09:29:03 +0000 |
commit | d51449d017410fedb55e93f71fb322749ba888b5 (patch) | |
tree | 332ce5e92dcc05057bcd197994b986a27bf9060b /src/include/halt.h | |
parent | 06b35e5cede9c20e9af5c9f1c3f6f93745106749 (diff) |
soc/intel/xeon_sp: Improve performance efficiencies
Coverity detects performance inefficiencies as IIO_RESOUCE_INSTANCE
structure (size 623 bytes) is PASS_BY_VALUE. Fix it with
PASS_BY_REFERENCE.
Found-by: Coverity CID 1432759
TEST=None
Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: I9ae9ae38fe2c13c5433aa5e1dcbb30ebd30622ab
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45608
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/include/halt.h')
0 files changed, 0 insertions, 0 deletions