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@
>
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
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
---
"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
> ---
>
"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
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;
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;
8 matches
Mail list logo