qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
commitdb803f36e56f23b5a2266807e190d1dc11554d54
authorNathan Chancellor <natechancellor@gmail.com>
Mon, 24 Sep 2018 21:05:27 +0000 (24 14:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2018 03:17:24 +0000 (26 20:17 -0700)
treef8fafa6e534381a5cd4074224781cc352f8473ef
parenta898fba32229efd5e6b6154f83fa86a7145156b9
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>
drivers/net/ethernet/qlogic/qed/qed_vf.c