Re: [PATCH] qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
From: David Miller
Date: Wed Sep 26 2018 - 23:19:27 EST
From: Nathan Chancellor <natechancellor@xxxxxxxxx>
Date: Mon, 24 Sep 2018 14:05:27 -0700
> 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@xxxxxxxxx>
Applied