diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-09-25 00:05:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-27 06:17:24 +0300 |
commit | db803f36e56f23b5a2266807e190d1dc11554d54 (patch) | |
tree | f8fafa6e534381a5cd4074224781cc352f8473ef /tools/perf/scripts/python | |
parent | a898fba32229efd5e6b6154f83fa86a7145156b9 (diff) | |
download | linux-db803f36e56f23b5a2266807e190d1dc11554d54.tar.xz |
qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
Clang complains when one enumerated type is implicitly converted to
another.
drivers/net/ethernet/qlogic/qed/qed_vf.c:686:6: warning: implicit
conversion from enumeration type 'enum qed_tunn_mode' to different
enumeration type 'enum qed_tunn_clss' [-Wenum-conversion]
QED_MODE_L2GENEVE_TUNN,
^~~~~~~~~~~~~~~~~~~~~~
Update mask's parameter to expect qed_tunn_mode, which is what was
intended.
Link: https://github.com/ClangBuiltLinux/linux/issues/125
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions