[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210503.134721.2149322673805635760.davem@davemloft.net>
Date: Mon, 03 May 2021 13:47:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lijunp213@...il.com
Cc: msuchanek@...e.de, netdev@...r.kernel.org, mpe@...erman.id.au,
benh@...nel.crashing.org, paulus@...ba.org, drt@...ux.ibm.com,
sukadev@...ux.ibm.com, tlfalcon@...ux.ibm.com, kuba@...nel.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ibmvnic: remove default label from to_string switch
From: Lijun Pan <lijunp213@...il.com>
Date: Mon, 3 May 2021 13:21:00 -0500
> On Mon, May 3, 2021 at 5:54 AM Michal Suchanek <msuchanek@...e.de> 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.
Powered by blists - more mailing lists