[PATCH][next] i2c: digicolor: Use fallthrough pseudo-keyword

Gustavo A. R. Silva gustavo at embeddedor.com
Tue Jul 21 19:00:45 EDT 2020


Hi Baruch,

On 7/16/20 23:38, Baruch Siach wrote:
> Hi Gustavo,
> 
> On Thu, Jul 16, 2020 at 05:00:55PM -0500, Gustavo A. R. Silva wrote:
>> Replace the existing /* fall through */ comments and its variants with
>> the new pseudo-keyword macro fallthrough[1].
>>
>> [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
> 
> This URL is likely to break at some point as documentation contest changes. 
> Just refer to in kernel Documentation/process/deprecated.rst file.
> 

You're right. Helpdesk just generated the proper doc for v5.7:

https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

> Other than that:
> 
> Acked-by: Baruch Siach <baruch at tkos.co.il>
> 

I'll send v2 with the URL above and your Acked-by, shortly.

Thanks
--
Gustavo



More information about the linux-arm-kernel mailing list