[PATCH] staging/ks7010: Fix coding style problems

kernel test robot lkp at intel.com
Tue Aug 17 03:07:20 UTC 2021


Hi Leon,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on staging/staging-testing]

url:    https://github.com/0day-ci/linux/commits/Leon-Krieg/staging-ks7010-Fix-coding-style-problems/20210817-020753
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 9caf92ab573fd83c7455b65d4eefcefc1a9d2188
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-348-gf0e6938b-dirty
        # https://github.com/0day-ci/linux/commit/5e90bce950e7fa0f0331bb9620b538d3109f04c6
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Leon-Krieg/staging-ks7010-Fix-coding-style-problems/20210817-020753
        git checkout 5e90bce950e7fa0f0331bb9620b538d3109f04c6
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 distclean

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> Error: kernelrelease not valid - run 'make prepare' to update it
--
>> drivers/staging/ks7010/Kconfig:12: syntax error
   drivers/staging/ks7010/Kconfig:11: invalid statement
   drivers/staging/ks7010/Kconfig:12:warning: ignoring unsupported character '.'
   drivers/staging/ks7010/Kconfig:12: unknown statement "SDW-823"
--
>> drivers/staging/ks7010/Kconfig:12: syntax error
   drivers/staging/ks7010/Kconfig:11: invalid statement
   drivers/staging/ks7010/Kconfig:12:warning: ignoring unsupported character '.'
   drivers/staging/ks7010/Kconfig:12: unknown statement "SDW-823"
   make[3]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
   make[2]: *** [Makefile:625: syncconfig] Error 2
   make[1]: *** [Makefile:735: include/config/auto.conf.cmd] Error 2
   make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
   make[1]: Failed to remake makefile 'include/config/auto.conf'.
>> make[1]: *** No rule to make target 'modules_prepare'.
   make: *** [Makefile:220: __sub-make] Error 2
   make: Target 'modules_prepare' not remade because of errors.
--
>> drivers/staging/ks7010/Kconfig:12: syntax error
   drivers/staging/ks7010/Kconfig:11: invalid statement
   drivers/staging/ks7010/Kconfig:12:warning: ignoring unsupported character '.'
   drivers/staging/ks7010/Kconfig:12: unknown statement "SDW-823"
   make[2]: *** [scripts/kconfig/Makefile:77: olddefconfig] Error 1
   make[1]: *** [Makefile:625: olddefconfig] Error 2
   make: *** [Makefile:220: __sub-make] Error 2
   make: Target 'olddefconfig' not remade because of errors.
--
>> drivers/staging/ks7010/Kconfig:12: syntax error
   drivers/staging/ks7010/Kconfig:11: invalid statement
   drivers/staging/ks7010/Kconfig:12:warning: ignoring unsupported character '.'
   drivers/staging/ks7010/Kconfig:12: unknown statement "SDW-823"
   make[3]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
   make[2]: *** [Makefile:625: syncconfig] Error 2
   make[1]: *** [Makefile:735: include/config/auto.conf.cmd] Error 2
   make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
   make[1]: Failed to remake makefile 'include/config/auto.conf'.
   make[1]: *** [arch/x86/Makefile:290: checkbin] Error 1
>> Error: kernelrelease not valid - run 'make prepare' to update it
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:220: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.
--
>> drivers/staging/ks7010/Kconfig:12: syntax error
   drivers/staging/ks7010/Kconfig:11: invalid statement
   drivers/staging/ks7010/Kconfig:12:warning: ignoring unsupported character '.'
   drivers/staging/ks7010/Kconfig:12: unknown statement "SDW-823"
   make[3]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
   make[2]: *** [Makefile:625: syncconfig] Error 2
   make[1]: *** [Makefile:735: include/config/auto.conf.cmd] Error 2
   make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
   make[1]: Failed to remake makefile 'include/config/auto.conf'.
>> Error: kernelrelease not valid - run 'make prepare' to update it
   make[1]: *** [arch/x86/Makefile:290: checkbin] Error 1
   make[1]: Target 'vmlinux' not remade because of errors.
   make: *** [Makefile:220: __sub-make] Error 2
   make: Target 'vmlinux' not remade because of errors.
   ***
   *** The source tree is not clean, please run 'make ARCH=x86_64 mrproper'
   *** in /kbuild/worktree/build-ktools-consumer
   ***
   make[2]: *** [Makefile:565: outputmakefile] Error 1
   make[2]: Target 'syncconfig' not remade because of errors.
   make[1]: *** [Makefile:721: include/config/auto.conf.cmd] Error 2
   make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
   make[1]: Failed to remake makefile 'include/config/auto.conf'.
   ***
   *** The source tree is not clean, please run 'make ARCH=x86_64 mrproper'
   *** in /kbuild/worktree/build-ktools-consumer
   ***
   make[1]: *** [Makefile:565: outputmakefile] Error 1
>> Error: kernelrelease not valid - run 'make prepare' to update it
   make[1]: *** [arch/x86/Makefile:290: checkbin] Error 1
   make[1]: Target 'vmlinux' not remade because of errors.
   make: *** [Makefile:219: __sub-make] Error 2
   make: Target 'vmlinux' not remade because of errors.


vim +12 drivers/staging/ks7010/Kconfig

  > 12		  SDW-823).

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 34535 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20210817/92e7db9b/attachment-0001.bin>


More information about the devel mailing list