diff options
| author | 2018-04-12 06:14:26 -0400 | |
|---|---|---|
| committer | 2018-04-23 13:57:32 -0400 | |
| commit | bad04a55ab1fadfeb83999d338e7fe511d2edfd9 (patch) | |
| tree | cebc63371e4017376e843b681ead5f63bd68e0d4 /scripts/const_structs.checkpatch | |
| parent | media: ov7740: Fix number of controls hint (diff) | |
media: ov7740: Check for possible NULL return value in control creation
Check that creating the control actually succeeded before accessing it.
A failure would lead to NULL pointer reference. Fix this.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
