diff options
author | Bartosz Golaszewski <[email protected]> | 2023-10-04 20:39:06 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-10-10 13:12:11 +0100 |
commit | 9aaa25df9b02bfe5579cbc9b4cc1177c662ec33f (patch) | |
tree | f1836e5004e2eb9ded21e5a5d074df38704526b3 /tools/perf/util/trace-event-scripting.c | |
parent | 8a6b446d8a13673bfcf44fbd09d737ae4ccf0bfd (diff) |
spi: bcm2835: add a sentinel at the end of the lookup array
GPIOLIB expects the array of lookup entries to be terminated with an
empty member. We need to increase the size of the variable length array
in the lookup table by 1.
Fixes: 21f252cd29f0 ("spi: bcm2835: reduce the abuse of the GPIO API")
Reported-by: Hans de Goede <[email protected]>
Closes: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions