diff options
author | Geert Uytterhoeven <[email protected]> | 2020-01-10 14:19:19 +0100 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2020-02-21 13:57:44 +0100 |
commit | 12d057bad683b1c60476681ecc835c858018df60 (patch) | |
tree | e6449d56414e20a031c518b7ff846d56ef32dc55 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 3c26186472726fd22234fa63a6bc7c08112a4152 (diff) |
pinctrl: sh-pfc: checker: Add check for enum ID conflicts
Add a helper to verify that enum IDs are unique, and use it to validate
the enum ID arrays in config register descriptors.
This exposes bugs like those fixed in:
- commit 805f635703b2562b ("pinctrl: sh-pfc: r8a7778: Fix duplicate
SDSELF_B and SD1_CLK_B"),
- commit 884caadad128efad ("pinctrl: sh-pfc: sh7734: Fix duplicate
TCLK1_B"),
- commit 2a069a92811fb35b ("pinctrl: sh-pfc: sh7264: Fix Port K I/O
Register 0 definition").
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions