Re: [PATCH] remove return statement

From: kbuild test robot
Date: Sat Apr 15 2017 - 02:55:01 EST


Hi surenderpolsani,

[auto build test ERROR on v4.9-rc8]
[also build test ERROR on next-20170413]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/surenderpolsani/remove-return-statement/20170415-130917
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/staging/rtl8188eu/hal/rtl8188e_dm.c: In function 'rtw_hal_dm_watchdog':
>> drivers/staging/rtl8188eu/hal/rtl8188e_dm.c:165:1: error: label at end of compound statement
skip_dm:
^~~~~~~

vim +165 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c

7ef8ded0 Larry Finger 2013-08-21 159 if (check_fwstate(pmlmepriv, _FW_LINKED))
7ef8ded0 Larry Finger 2013-08-21 160 bLinked = true;
7ef8ded0 Larry Finger 2013-08-21 161 }
7ef8ded0 Larry Finger 2013-08-21 162
177aa53a Ivan Safonov 2016-09-19 163 Adapter->HalData->odmpriv.bLinked = bLinked;
177aa53a Ivan Safonov 2016-09-19 164 ODM_DMWatchdog(&Adapter->HalData->odmpriv);
7ef8ded0 Larry Finger 2013-08-21 @165 skip_dm:
7ef8ded0 Larry Finger 2013-08-21 166 /* Check GPIO to determine current RF on/off and Pbc status. */
7ef8ded0 Larry Finger 2013-08-21 167 /* Check Hardware Radio ON/OFF or not */
7ef8ded0 Larry Finger 2013-08-21 168 }

:::::: The code at line 165 was first introduced by commit
:::::: 7ef8ded0cfdb690e37581af85eea35fa67cdb38d staging: r8188eu: Add files for new driver - part 13

:::::: TO: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip