diff options
| author | 2023-06-15 12:30:30 +0200 | |
|---|---|---|
| committer | 2023-07-14 13:08:14 +0200 | |
| commit | 26ce7054d804be73935b9268d6e0ecf2fbbc8aef (patch) | |
| tree | 06bb702ffd71c8aa53fffc962e19fc7c3e8b3dc2 /scripts/Makefile.thinlto | |
| parent | media: ov13b10: add PM control support based on power resources (diff) | |
media: i2c: tvp5150: check return value of devm_kasprintf()
devm_kasprintf() returns a pointer to dynamically allocated memory.
Pointer could be NULL in case allocation fails. Check pointer validity.
Identified with coccinelle (kmerr.cocci script).
Fixes: 0556f1d580d4 ("media: tvp5150: add input source selection of_graph support")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
