[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180926.201923.1069088146895213641.davem@davemloft.net>
Date: Wed, 26 Sep 2018 20:19:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: natechancellor@...il.com
Cc: Ariel.Elior@...ium.com, everest-linux-l2@...ium.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
From: Nathan Chancellor <natechancellor@...il.com>
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@...il.com>
Applied
Powered by blists - more mailing lists