On Tue, Jul 11, 2017 at 8:03 PM, Gustavo A. R. Silva
wrote:
> This structure is only used to copy into other structure, so declare
> it as const.
>
> This issue was detected using Coccinelle and the following semantic patch:
>
> @r disable optional_qualifier@
> identifier i;
> position p;
> @@
>
On 07/12/2017 02:13 PM, Eric Anholt wrote:
"Gustavo A. R. Silva" writes:
This structure is only used to copy into other structure, so declare
it as const.
This issue was detected using Coccinelle and the following semantic patch:
Acked-by: Eric Anholt
Thank you, Eric
---
drivers/pin
"Gustavo A. R. Silva" writes:
> This structure is only used to copy into other structure, so declare
> it as const.
>
> This issue was detected using Coccinelle and the following semantic patch:
Acked-by: Eric Anholt
> ---
> drivers/pinctrl/bcm/pinctrl-bcm2835.c | 2 +-
> 1 file changed, 1 in
This structure is only used to copy into other structure, so declare
it as const.
This issue was detected using Coccinelle and the following semantic patch:
@r disable optional_qualifier@
identifier i;
position p;
@@
static struct gpio_chip i@p = { ... };
@ok@
identifier r.i;
expression e;
posit
4 matches
Mail list logo