linux-staging.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Martin Kaiser <martin@kaiser.cx>,
	Larry Finger <Larry.Finger@lwfinger.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: kbuild-all@lists.01.org, linux-staging@lists.linux.dev,
	kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,
	Martin Kaiser <martin@kaiser.cx>
Subject: Re: [PATCH 2/4] staging: rtl8188eu: remove constant variable and dead code
Date: Sun, 18 Apr 2021 03:57:02 +0800	[thread overview]
Message-ID: <202104180356.LnVJOmXS-lkp@intel.com> (raw)
In-Reply-To: <20210417180037.17806-2-martin@kaiser.cx>

[-- Attachment #1: Type: text/plain, Size: 2855 bytes --]

Hi Martin,

Thank you for the patch! Perhaps something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Martin-Kaiser/staging-rtl8188eu-change-bLeisurePs-type-to-bool/20210418-020200
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 71d3edc61e29e45b613b841108688d711846f969
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/c2b80185c47f9f13ed748eca0df39494668481ee
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Martin-Kaiser/staging-rtl8188eu-change-bLeisurePs-type-to-bool/20210418-020200
        git checkout c2b80185c47f9f13ed748eca0df39494668481ee
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arc 

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

All warnings (new ones prefixed by >>):

   drivers/staging/rtl8188eu/os_dep/rtw_android.c:60: warning: Function parameter or member 'cmdstr' not described in 'rtw_android_cmdstr_to_num'
>> drivers/staging/rtl8188eu/os_dep/rtw_android.c:60: warning: expecting prototype for functions(). Prototype was for rtw_android_cmdstr_to_num() instead


vim +60 drivers/staging/rtl8188eu/os_dep/rtw_android.c

5adef66acf7370 Larry Finger         2013-08-21  54  
5adef66acf7370 Larry Finger         2013-08-21  55  /**
c2b80185c47f9f Martin Kaiser        2021-04-17  56   * Local (static) functions
5adef66acf7370 Larry Finger         2013-08-21  57   */
5adef66acf7370 Larry Finger         2013-08-21  58  
5adef66acf7370 Larry Finger         2013-08-21  59  int rtw_android_cmdstr_to_num(char *cmdstr)
5adef66acf7370 Larry Finger         2013-08-21 @60  {
5adef66acf7370 Larry Finger         2013-08-21  61  	int cmd_num;
37ad17a4b48ca7 Yamanappagouda Patil 2016-12-22  62  
5adef66acf7370 Larry Finger         2013-08-21  63  	for (cmd_num = 0; cmd_num < ANDROID_WIFI_CMD_MAX; cmd_num++)
fd078b42096163 Puranjay Mohan       2019-05-21  64  		if (!strncasecmp(cmdstr, android_wifi_cmd_str[cmd_num],
5adef66acf7370 Larry Finger         2013-08-21  65  				 strlen(android_wifi_cmd_str[cmd_num])))
5adef66acf7370 Larry Finger         2013-08-21  66  			break;
5adef66acf7370 Larry Finger         2013-08-21  67  	return cmd_num;
5adef66acf7370 Larry Finger         2013-08-21  68  }
5adef66acf7370 Larry Finger         2013-08-21  69  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67515 bytes --]

  reply	other threads:[~2021-04-17 19:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-17 18:00 [PATCH 1/4] staging: rtl8188eu: change bLeisurePs' type to bool Martin Kaiser
2021-04-17 18:00 ` [PATCH 2/4] staging: rtl8188eu: remove constant variable and dead code Martin Kaiser
2021-04-17 19:57   ` kernel test robot [this message]
2021-04-17 18:00 ` [PATCH 3/4] staging: rtl8188eu: cmdThread is a task_struct Martin Kaiser
2021-04-17 18:00 ` [PATCH 4/4] staging: rtl8188eu: remove unused function parameters Martin Kaiser
2021-04-19 20:11 ` [PATCH v2 1/4] staging: rtl8188eu: change bLeisurePs' type to bool Martin Kaiser
2021-04-19 20:11   ` [PATCH v2 2/4] staging: rtl8188eu: remove constant variable and dead code Martin Kaiser
2021-04-19 20:11   ` [PATCH v2 3/4] staging: rtl8188eu: cmdThread is a task_struct Martin Kaiser
2021-04-19 20:11   ` [PATCH v2 4/4] staging: rtl8188eu: remove unused function parameters Martin Kaiser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202104180356.LnVJOmXS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=martin@kaiser.cx \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).