summaryrefslogtreecommitdiff
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2023-03-29 07:35:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-26 11:21:53 +0200
commit0915a439e575e2fce7ecebb55d2f3add7ef74b74 (patch)
treefd8af36b790f91e6323b3da6424995a9034ff721 /scripts/asn1_compiler.c
parent280b76c3f79f84fe31ab5ecab562b209d7ace29d (diff)
iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
commit 73a428b37b9b538f8f8fe61caa45e7f243bab87c upstream. The at91_adc_allocate_trigger() function is supposed to return error pointers. Returning a NULL will cause an Oops. Fixes: 5e1a1da0f8c9 ("iio: adc: at91-sama5d2_adc: add hw trigger and buffer support") Signed-off-by: Dan Carpenter <error27@gmail.com> Link: https://lore.kernel.org/r/5d728f9d-31d1-410d-a0b3-df6a63a2c8ba@kili.mountain Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions