diff options
| author | Dan Carpenter <[email protected]> | 2020-02-18 08:52:47 +0300 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2020-02-21 17:11:40 +0100 |
| commit | 3385ab72d995fc0b876818a36203bf2429445686 (patch) | |
| tree | a6ea30ff903e0161900d9043a667ca49293cca83 /scripts/gdb/linux/vmalloc.py | |
| parent | d6d43a92172085a2681e06a0d06aac53c7bcdd12 (diff) | |
pinctrl: mediatek: Fix some off by one bugs
These comparisons should be >= instead of > to prevent accessing one
element beyond the end of the hw->soc->pins[] array.
Fixes: 3de7deefce69 ("pinctrl: mediatek: Check gpio pin number and use binary search in mtk_hw_pin_field_lookup()")
Fixes: 184d8e13f9b1 ("pinctrl: mediatek: Add support for pin configuration dump via debugfs.")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Matthias Brugger <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions