summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorNadezda Lutovinova <lutovinova@ispras.ru>2020-08-19 17:37:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-05 11:08:40 +0100
commit17c4ba10aec5e2b9d20dbf5f47ad4ca0851cf1b3 (patch)
tree78b9a157f6b53312936bb96c6908aefe7cfe7414 /include/uapi
parent9d8e083bcf6b5540d404a278f9311095a4284fff (diff)
drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly
[ Upstream commit f688a345f0d7a6df4dd2aeca8e4f3c05e123a0ee ] 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 <lutovinova@ispras.ru> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200819143756.30626-1-lutovinova@ispras.ru Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions