All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Luka Kovacic <luka.kovacic@sartura.hr>,
	linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-leds@vger.kernel.org
Cc: kbuild-all@lists.01.org, lee.jones@linaro.org, pavel@ucw.cz,
	dmurphy@ti.com, robh+dt@kernel.org, jdelvare@suse.com,
	linux@roeck-us.net
Subject: Re: [PATCH v3 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU
Date: Wed, 30 Sep 2020 16:40:00 +0800	[thread overview]
Message-ID: <202009301620.fdCU4e9i-lkp@intel.com> (raw)
In-Reply-To: <20200930014058.44460-3-luka.kovacic@sartura.hr>

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

Hi Luka,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on lee-mfd/for-mfd-next pavel-linux-leds/for-next linus/master v5.9-rc7 next-20200929]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Luka-Kovacic/Add-support-for-the-iEi-Puzzle-M801-board/20200930-094341
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: openrisc-randconfig-r033-20200930 (attached as .config)
compiler: or1k-linux-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/3f186576324e22bba3e3893d6f3cf3ce91d70da7
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Luka-Kovacic/Add-support-for-the-iEi-Puzzle-M801-board/20200930-094341
        git checkout 3f186576324e22bba3e3893d6f3cf3ce91d70da7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 

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/mfd/iei-wt61p803-puzzle.c:309:5: warning: no previous prototype for 'iei_wt61p803_puzzle_buzzer' [-Wmissing-prototypes]
     309 | int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/iei_wt61p803_puzzle_buzzer +309 drivers/mfd/iei-wt61p803-puzzle.c

   308	
 > 309	int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
   310	{
   311		unsigned char buzzer_short_cmd[4] = {
   312			IEI_WT61P803_PUZZLE_CMD_HEADER_START,
   313			IEI_WT61P803_PUZZLE_CMD_FUNCTION_SINGLE,
   314			'2'
   315		}; /* Buzzer 0.5 sec */
   316		unsigned char buzzer_long_cmd[4] = {
   317			IEI_WT61P803_PUZZLE_CMD_HEADER_START,
   318			IEI_WT61P803_PUZZLE_CMD_FUNCTION_SINGLE,
   319			'3'
   320		}; /* Buzzer 1.5 sec */
   321		unsigned char *resp_buf = mcu->response_buffer;
   322		size_t reply_size = 0;
   323		int ret;
   324	
   325		mutex_lock(&mcu->lock);
   326		ret = iei_wt61p803_puzzle_write_command(mcu,
   327				long_beep ? buzzer_long_cmd : buzzer_short_cmd, 4,
   328				resp_buf, &reply_size);
   329		if (ret)
   330			goto exit;
   331	
   332		if (reply_size != 3) {
   333			ret = -EIO;
   334			goto exit;
   335		}
   336	
   337		if (!(resp_buf[0] == IEI_WT61P803_PUZZLE_CMD_HEADER_START &&
   338			resp_buf[1] == IEI_WT61P803_PUZZLE_CMD_RESPONSE_OK &&
   339			resp_buf[2] == IEI_WT61P803_PUZZLE_CHECKSUM_RESPONSE_OK)) {
   340			ret = -EPROTO;
   341			goto exit;
   342		}
   343	exit:
   344		mutex_unlock(&mcu->lock);
   345		return ret;
   346	}
   347	

---
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: 28970 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Luka Kovacic <luka.kovacic@sartura.hr>,
	linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-leds@vger.kernel.org
Cc: jdelvare@suse.com, kbuild-all@lists.01.org, robh+dt@kernel.org,
	dmurphy@ti.com, pavel@ucw.cz, lee.jones@linaro.org,
	linux@roeck-us.net
Subject: Re: [PATCH v3 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU
Date: Wed, 30 Sep 2020 16:40:00 +0800	[thread overview]
Message-ID: <202009301620.fdCU4e9i-lkp@intel.com> (raw)
In-Reply-To: <20200930014058.44460-3-luka.kovacic@sartura.hr>

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

Hi Luka,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on lee-mfd/for-mfd-next pavel-linux-leds/for-next linus/master v5.9-rc7 next-20200929]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Luka-Kovacic/Add-support-for-the-iEi-Puzzle-M801-board/20200930-094341
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: openrisc-randconfig-r033-20200930 (attached as .config)
compiler: or1k-linux-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/3f186576324e22bba3e3893d6f3cf3ce91d70da7
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Luka-Kovacic/Add-support-for-the-iEi-Puzzle-M801-board/20200930-094341
        git checkout 3f186576324e22bba3e3893d6f3cf3ce91d70da7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 

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/mfd/iei-wt61p803-puzzle.c:309:5: warning: no previous prototype for 'iei_wt61p803_puzzle_buzzer' [-Wmissing-prototypes]
     309 | int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/iei_wt61p803_puzzle_buzzer +309 drivers/mfd/iei-wt61p803-puzzle.c

   308	
 > 309	int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
   310	{
   311		unsigned char buzzer_short_cmd[4] = {
   312			IEI_WT61P803_PUZZLE_CMD_HEADER_START,
   313			IEI_WT61P803_PUZZLE_CMD_FUNCTION_SINGLE,
   314			'2'
   315		}; /* Buzzer 0.5 sec */
   316		unsigned char buzzer_long_cmd[4] = {
   317			IEI_WT61P803_PUZZLE_CMD_HEADER_START,
   318			IEI_WT61P803_PUZZLE_CMD_FUNCTION_SINGLE,
   319			'3'
   320		}; /* Buzzer 1.5 sec */
   321		unsigned char *resp_buf = mcu->response_buffer;
   322		size_t reply_size = 0;
   323		int ret;
   324	
   325		mutex_lock(&mcu->lock);
   326		ret = iei_wt61p803_puzzle_write_command(mcu,
   327				long_beep ? buzzer_long_cmd : buzzer_short_cmd, 4,
   328				resp_buf, &reply_size);
   329		if (ret)
   330			goto exit;
   331	
   332		if (reply_size != 3) {
   333			ret = -EIO;
   334			goto exit;
   335		}
   336	
   337		if (!(resp_buf[0] == IEI_WT61P803_PUZZLE_CMD_HEADER_START &&
   338			resp_buf[1] == IEI_WT61P803_PUZZLE_CMD_RESPONSE_OK &&
   339			resp_buf[2] == IEI_WT61P803_PUZZLE_CHECKSUM_RESPONSE_OK)) {
   340			ret = -EPROTO;
   341			goto exit;
   342		}
   343	exit:
   344		mutex_unlock(&mcu->lock);
   345		return ret;
   346	}
   347	

---
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: 28970 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU
Date: Wed, 30 Sep 2020 16:40:00 +0800	[thread overview]
Message-ID: <202009301620.fdCU4e9i-lkp@intel.com> (raw)
In-Reply-To: <20200930014058.44460-3-luka.kovacic@sartura.hr>

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

Hi Luka,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on lee-mfd/for-mfd-next pavel-linux-leds/for-next linus/master v5.9-rc7 next-20200929]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Luka-Kovacic/Add-support-for-the-iEi-Puzzle-M801-board/20200930-094341
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: openrisc-randconfig-r033-20200930 (attached as .config)
compiler: or1k-linux-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/3f186576324e22bba3e3893d6f3cf3ce91d70da7
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Luka-Kovacic/Add-support-for-the-iEi-Puzzle-M801-board/20200930-094341
        git checkout 3f186576324e22bba3e3893d6f3cf3ce91d70da7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 

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/mfd/iei-wt61p803-puzzle.c:309:5: warning: no previous prototype for 'iei_wt61p803_puzzle_buzzer' [-Wmissing-prototypes]
     309 | int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/iei_wt61p803_puzzle_buzzer +309 drivers/mfd/iei-wt61p803-puzzle.c

   308	
 > 309	int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
   310	{
   311		unsigned char buzzer_short_cmd[4] = {
   312			IEI_WT61P803_PUZZLE_CMD_HEADER_START,
   313			IEI_WT61P803_PUZZLE_CMD_FUNCTION_SINGLE,
   314			'2'
   315		}; /* Buzzer 0.5 sec */
   316		unsigned char buzzer_long_cmd[4] = {
   317			IEI_WT61P803_PUZZLE_CMD_HEADER_START,
   318			IEI_WT61P803_PUZZLE_CMD_FUNCTION_SINGLE,
   319			'3'
   320		}; /* Buzzer 1.5 sec */
   321		unsigned char *resp_buf = mcu->response_buffer;
   322		size_t reply_size = 0;
   323		int ret;
   324	
   325		mutex_lock(&mcu->lock);
   326		ret = iei_wt61p803_puzzle_write_command(mcu,
   327				long_beep ? buzzer_long_cmd : buzzer_short_cmd, 4,
   328				resp_buf, &reply_size);
   329		if (ret)
   330			goto exit;
   331	
   332		if (reply_size != 3) {
   333			ret = -EIO;
   334			goto exit;
   335		}
   336	
   337		if (!(resp_buf[0] == IEI_WT61P803_PUZZLE_CMD_HEADER_START &&
   338			resp_buf[1] == IEI_WT61P803_PUZZLE_CMD_RESPONSE_OK &&
   339			resp_buf[2] == IEI_WT61P803_PUZZLE_CHECKSUM_RESPONSE_OK)) {
   340			ret = -EPROTO;
   341			goto exit;
   342		}
   343	exit:
   344		mutex_unlock(&mcu->lock);
   345		return ret;
   346	}
   347	

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

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

  reply	other threads:[~2020-09-30  8:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30  1:40 [PATCH v3 0/7] Add support for the iEi Puzzle-M801 board Luka Kovacic
2020-09-30  1:40 ` Luka Kovacic
2020-09-30  1:40 ` [PATCH v3 1/7] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings Luka Kovacic
2020-09-30  1:40   ` Luka Kovacic
2020-09-30  1:40 ` [PATCH v3 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU Luka Kovacic
2020-09-30  1:40   ` Luka Kovacic
2020-09-30  8:40   ` kernel test robot [this message]
2020-09-30  8:40     ` kernel test robot
2020-09-30  8:40     ` kernel test robot
2020-09-30  1:40 ` [PATCH v3 3/7] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver Luka Kovacic
2020-09-30  1:40   ` Luka Kovacic
2020-09-30  1:40 ` [PATCH v3 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver Luka Kovacic
2020-09-30  1:40   ` Luka Kovacic
2020-09-30 19:48   ` Pavel Machek
2020-09-30 19:48     ` Pavel Machek
2020-10-06  6:41     ` Luka Kovacic
2020-10-06  6:41       ` Luka Kovacic
2020-10-07  1:10       ` Luka Kovacic
2020-10-07  1:10         ` Luka Kovacic
2020-09-30  1:40 ` [PATCH v3 5/7] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation Luka Kovacic
2020-09-30  1:40   ` Luka Kovacic
2020-09-30  1:40 ` [PATCH v3 6/7] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver Luka Kovacic
2020-09-30  1:40   ` Luka Kovacic
2020-09-30  1:40 ` [PATCH v3 7/7] arm64: dts: marvell: Add a device tree for the iEi Puzzle-M801 board Luka Kovacic
2020-09-30  1:40   ` Luka Kovacic

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=202009301620.fdCU4e9i-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dmurphy@ti.com \
    --cc=jdelvare@suse.com \
    --cc=kbuild-all@lists.01.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=luka.kovacic@sartura.hr \
    --cc=pavel@ucw.cz \
    --cc=robh+dt@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.