diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-09-24 14:05:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 20:17:24 -0700 |
commit | db803f36e56f23b5a2266807e190d1dc11554d54 (patch) | |
tree | f8fafa6e534381a5cd4074224781cc352f8473ef /lib/netdev-notifier-error-inject.c | |
parent | a898fba32229efd5e6b6154f83fa86a7145156b9 (diff) |
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 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions