summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2022-01-17 11:28:52 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-01-23 21:03:37 +0300
commit576434fd93b91d36cb62d531888e88dac5e52540 (patch)
tree0ffbd9d6a5c604b467b327a518fb8ab272c1a37c /include
parentb617693a5d139dec0a3a19a909d687d2d95d78bc (diff)
downloadlinux-576434fd93b91d36cb62d531888e88dac5e52540.tar.xz
iio: adc: tsc2046: add sanity check to avoid to big allocations
To avoid problematic devicetree configurations. Set allocation limit with error message and suggestion on what can be done to solve this issue. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.kernel.org/r/20220117082852.3370869-2-o.rempel@pengutronix.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions