aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools
diff options
context:
space:
mode:
authorMateusz Palczewski <[email protected]>2022-01-27 15:16:40 +0100
committerTony Nguyen <[email protected]>2022-03-01 08:50:11 -0800
commit8fc16be67dbaf46d96dc96390c727bc76a12f07c (patch)
tree81106056c60a2f44a63a207ac31734fce4b2b299 /scripts/clang-tools
parentbae569d01a1f4929ce28093be80bbbbacbf1b127 (diff)
iavf: Fix incorrect use of assigning iavf_status to int
Currently there are functions in iavf_virtchnl.c for polling specific virtchnl receive events. These are all assigning iavf_status values to int values. Fix this and explicitly assign int values if iavf_status is not IAVF_SUCCESS. Also, refactor a small amount of duplicated code that can be reused by all of the previously mentioned functions. Finally, fix some spacing errors for variable assignment and get rid of all the goto statements in the refactored functions for clarity. Signed-off-by: Brett Creeley <[email protected]> Signed-off-by: Mateusz Palczewski <[email protected]> Tested-by: Konrad Jankowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'scripts/clang-tools')
0 files changed, 0 insertions, 0 deletions