Re: [PATCH] checkpatch: Add uart_ops to normally const structs

From: Maxime Coquelin
Date: Tue Apr 07 2015 - 03:55:28 EST


Hi Joe,

2015-04-04 19:47 GMT+02:00 Joe Perches <joe@xxxxxxxxxxx>:
> Add another struct to the list of normally const struct types
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
>
> On Fri, 2015-04-03 at 10:43 -0700, Joe Perches wrote:
>> On Fri, 2015-04-03 at 19:01 +0200, Maxime Coquelin wrote:
>> > This drivers adds support to the STM32 USART controller, which is a
>> > standard serial driver.
>> trivia:
>> > diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
>> []
>> > +static struct uart_ops stm32_uart_ops = {
>> could be const
>> and it could be updated in a separate patch later too.
>
> scripts/checkpatch.pl | 1 +
> 1 file changed, 1 insertion(+)
>

For what it's worth, you can add:
Acked-by: Maxime Coquelin <mcoquelin.stm32@xxxxxxxxx>

Regards,
Maxime
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/