Commit e1bdccbe authored by Helge Deller's avatar Helge Deller Committed by sanglipeng
Browse files

fbdev: stifb: Fix info entry in sti_struct on error path

stable inclusion
from stable-v5.10.183
commit 29f6b42a73b3bfe6f877cf99168b64da03fab7e8
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=29f6b42a73b3bfe6f877cf99168b64da03fab7e8



--------------------------------

[ Upstream commit 0bdf1ad8 ]

Minor fix to reset the info field to NULL in case of error.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 50da9779
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment