On Tue, Jul 11, 2017 at 8:34 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;
> @@
>
Hi Bjorn,
Quoting Bjorn Andersson :
On Tue 11 Jul 11:34 PDT 2017, Gustavo A. R. Silva wrote:
[..]
In the following log you can see a significant difference in the code size
and data segment, hence in the dec segment. This log is the output
"dec" is for "decimal" and is the sum of text, data
On Tue 11 Jul 11:34 PDT 2017, Gustavo A. R. Silva wrote:
[..]
> In the following log you can see a significant difference in the code size
> and data segment, hence in the dec segment. This log is the output
"dec" is for "decimal" and is the sum of text, data and bss...
> of the size command, bef
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