diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-12-12 13:38:59 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-12-18 11:25:56 +0100 |
commit | f83f97684a737f66c9a10437544c92e3436ca4e0 (patch) | |
tree | 61acef36685fc366e31e9c80e42f1d14284f13a2 /drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c | |
parent | ce16e8dd0db2701265e6dfdb4fbed632b6ff61c2 (diff) | |
download | talos-obmc-linux-f83f97684a737f66c9a10437544c92e3436ca4e0.tar.gz talos-obmc-linux-f83f97684a737f66c9a10437544c92e3436ca4e0.zip |
pinctrl: sh-pfc: Make pinmux_cfg_reg.var_field_width[] variable-length
pinmux_cfg_reg.var_field_width[] is actually a variable-length array,
terminated by a zero, and counting at most r_width entries.
Usually the number of entries is much smaller than r_width, so the
ability to catch bugs at compile time through an "excess elements in
array initializer" warning is fairly limited.
Hence make the array variable-length, decreasing kernel size slightly.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c')
0 files changed, 0 insertions, 0 deletions