diff options
| author | Nadezda Lutovinova <[email protected]> | 2020-08-19 14:37:56 +0000 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2020-08-23 15:08:51 +0000 |
| commit | f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee (patch) | |
| tree | 28d82c84f28ddb6393fe0ab4b93e9186c0851e2b /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/bridge/tc358775: Fix for PTR_ERR (diff) | |
| download | kernel-f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee.tar.gz kernel-f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee.zip | |
drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly
If ge_b850v3_lvds_init() does not allocate memory for ge_b850v3_lvds_ptr,
then a null pointer dereference is accessed.
The patch adds checking of the return value of ge_b850v3_lvds_init().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Nadezda Lutovinova <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
