diff options
author | 2018-12-13 15:48:45 +0100 | |
---|---|---|
committer | 2019-04-02 09:58:07 +0200 | |
commit | fa4d36712f20e2425171ab1f62341ebb6416d3ea (patch) | |
tree | 2be6017e307c6e142f130f918b2068327c5b3674 /tools/perf/scripts/python | |
parent | pinctrl: sh-pfc: Validate enum IDs for regs with fixed-width fields (diff) | |
download | linux-dev-fa4d36712f20e2425171ab1f62341ebb6416d3ea.tar.xz linux-dev-fa4d36712f20e2425171ab1f62341ebb6416d3ea.zip |
pinctrl: sh-pfc: Validate enum IDs for regs with variable-width fields
Add a run-time check to the PINMUX_CFG_REG_VAR() macro, to ensure the
number of provided enum IDs is correct. This cannot be done at build
time, as the number of values depends on the variable-width fields in
the config register.
This helps catching bugs early.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions