]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: wacom: Add error check to wacom_parse_and_register()
authorDenis Arefev <arefev@swemel.ru>
Thu, 27 Apr 2023 11:47:45 +0000 (14:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jun 2023 08:18:40 +0000 (10:18 +0200)
commit99de9a18e646dcb5cc5699dc7eb860581493544c
tree72b9ec0f2be35c75a834a503d2bf1ff43b2b040a
parent2af8d9637270c9fb0300299458d115f625ee8c84
HID: wacom: Add error check to wacom_parse_and_register()

[ Upstream commit 16a9c24f24fbe4564284eb575b18cc20586b9270 ]

   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>
drivers/hid/wacom_sys.c