Re: [PATCH] ibmvnic: remove default label from to_string switch

From: David Miller
Date: Mon May 03 2021 - 16:47:27 EST


From: Lijun Pan <lijunp213@xxxxxxxxx>
Date: Mon, 3 May 2021 13:21:00 -0500

> On Mon, May 3, 2021 at 5:54 AM Michal Suchanek <msuchanek@xxxxxxx> wrote:
>>
>> This way the compiler warns when a new value is added to the enum but
>> not the string transation like:
>
> s/transation/translation/
>
> This trick works.
> Since the original code does not generate gcc warnings/errors, should
> this patch be sent to net-next as an improvement?

Yes.