diff options
author | 2022-07-12 23:48:26 +0530 | |
---|---|---|
committer | 2022-07-21 13:43:58 +0200 | |
commit | 06aa2a43c307cf4096f422dcb575e5d2913e528f (patch) | |
tree | ca3c89797439f671063bfd32c444128788f45db4 /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'for-linus-2022052401' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | wireguard-linux-06aa2a43c307cf4096f422dcb575e5d2913e528f.tar.xz wireguard-linux-06aa2a43c307cf4096f422dcb575e5d2913e528f.zip |
HID: amd_sfh: Add NULL check for hid device
On removal of hid device during SFH set report may cause NULL pointer
exception. Hence add NULL check for hid device before accessing.
Fixes: 4b2c53d93a4b ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions