summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-04-17 19:54:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 18:31:19 +0200
commit2e034e0390c8c60f0ffd8ade744701f7bec7674a (patch)
treeb2fc8c734215762fca180b4dbe2f87aeca1d36a7 /include/linux
parentc77031960762b95e85e857c91e9766cd2ba498eb (diff)
downloadcachepc-linux-2e034e0390c8c60f0ffd8ade744701f7bec7674a.tar.gz
cachepc-linux-2e034e0390c8c60f0ffd8ade744701f7bec7674a.zip
staging: r8188eu: check firmware header existence before access
We should access the fields of fwhdr only if the check for firmware header existence is true. Move the affected code into the if block that checks firmware header existence. Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220417175441.13830-9-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions