diff options
| author | Charles Han <[email protected]> | 2024-11-18 09:02:08 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-12-07 17:23:41 +0000 |
| commit | bcb394bb28e55312cace75362b8e489eb0e02a30 (patch) | |
| tree | 06e1f1c80d0fc75f0e40b0039c849e9cede43cb7 /net/unix/af_unix.c | |
| parent | iio: adc: stm32-dfsdm: handle label as an optional property (diff) | |
| download | kernel-bcb394bb28e55312cace75362b8e489eb0e02a30.tar.gz kernel-bcb394bb28e55312cace75362b8e489eb0e02a30.zip | |
iio: adc: ti-ads1298: Add NULL check in ads1298_init
devm_kasprintf() can return a NULL pointer on failure. A check on the
return value of such a call in ads1298_init() is missing. Add it.
Fixes: 00ef7708fa60 ("iio: adc: ti-ads1298: Add driver")
Signed-off-by: Charles Han <[email protected]>
Link: https://patch.msgid.link/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
