diff options
| author | Larry Finger <Larry.Finger@lwfinger.net> | 2017-04-08 19:07:35 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-09 10:26:28 +0300 |
| commit | 21a9509e2ac9a45a03140fbb420697254adc89d4 (patch) | |
| tree | 01367ef55ebc63c608233eba48e7921d32c1b1ab /scripts/basic | |
| parent | f195f7d5fdbfb70c6634224dab13eb190d665445 (diff) | |
| download | linux-21a9509e2ac9a45a03140fbb420697254adc89d4.tar.xz | |
staging: rtl8723bs: Fix possible usage of NULL pointer in core/rtw_debug.c
Smatch reports the following:
CHECK drivers/staging/rtl8723bs/core/rtw_debug.c
drivers/staging/rtl8723bs/core/rtw_debug.c:454 proc_get_survey_info() error: we previously assumed 'phead' could be null (see line 453)
drivers/staging/rtl8723bs/core/rtw_debug.c:455 proc_get_survey_info() warn: variable dereferenced before check 'phead' (see line 454)
In the code, there are two successive calls to get_head(). The second
is removed.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
