HID: wacom: Add error check to wacom_parse_and_register()
stable inclusion from stable-v5.10.186 commit 49a2b18f49724b5504771a8d10f9ab57807afba4 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8J4KH Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=49a2b18f49724b5504771a8d10f9ab57807afba4 -------------------------------- [ Upstream commit 16a9c24f ] Added a variable check and transition in case of an error Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by:Denis Arefev <arefev@swemel.ru> Reviewed-by:
Ping Cheng <ping.cheng@wacom.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment