Skip to content
Commit 26be3a5d authored by Mitali Borkar's avatar Mitali Borkar Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192e: Fix incorrect pointer check



In commit 92172da2 ("staging: rtl8192e: replace comparison to NULL
by bool") a check was changed from looking at the data to the pointer,
which was incorrect, so revert that portion of the commit to have the
proper logic restored.

Reported-by: default avatarJulia Lawall <julia.lawall@inria.fr>
Signed-off-by: default avatarMitali Borkar <mitaliborkar810@gmail.com>
Fixes: 92172da2 ("staging: rtl8192e: replace comparison to NULL by bool")
Link: https://lore.kernel.org/r/YHG8qARLUX2KPWwI@kali


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 32abcac8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment