All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: Martin Kurbanov <mmkurbanov@sberdevices.ru>,
	Pavel Machek <pavel@ucw.cz>, ye xingchen <ye.xingchen@zte.com.cn>,
	Kalle Valo <kvalo@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	linux-leds@vger.kernel.org, kernel@sberdevices.ru
Subject: Re: [PATCH v1] leds: trigger: pattern: add support for hrtimer
Date: Thu, 1 Jun 2023 19:51:16 +0100	[thread overview]
Message-ID: <20230601185116.GL449117@google.com> (raw)
In-Reply-To: <202305230549.ekneaQ89-lkp@intel.com>

On Tue, 23 May 2023, kernel test robot wrote:

> Hi Martin,
> 
> kernel test robot noticed the following build warnings:
> 
> [auto build test WARNING on lee-leds/for-leds-next]
> [also build test WARNING on wireless-next/main wireless/main linus/master v6.4-rc3 next-20230522]
> [cannot apply to pavel-leds/for-next]
> [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#_base_tree_information]
> 
> url:    https://github.com/intel-lab-lkp/linux/commits/Martin-Kurbanov/leds-trigger-pattern-add-support-for-hrtimer/20230523-030630
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git for-leds-next
> patch link:    https://lore.kernel.org/r/20230522190412.374474-1-mmkurbanov%40sberdevices.ru
> patch subject: [PATCH v1] leds: trigger: pattern: add support for hrtimer
> config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230523/202305230549.ekneaQ89-lkp@intel.com/config)
> compiler: m68k-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/084f274c07fd243e864f73ab80a9eda5e940f024
>         git remote add linux-review https://github.com/intel-lab-lkp/linux
>         git fetch --no-tags linux-review Martin-Kurbanov/leds-trigger-pattern-add-support-for-hrtimer/20230523-030630
>         git checkout 084f274c07fd243e864f73ab80a9eda5e940f024
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/leds/
> 
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202305230549.ekneaQ89-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/leds/trigger/ledtrig-pattern.c: In function 'pattern_init':
> >> drivers/leds/trigger/ledtrig-pattern.c:454:74: warning: implicit conversion from 'enum <anonymous>' to 'enum pattern_type' [-Wenum-conversion]
>      454 |         err = pattern_trig_store_patterns(led_cdev, NULL, pattern, size, false);
>          |                                                                          ^~~~~
 
Did you fix this already? 

I don't see a subsequent submission?
 
> vim +454 drivers/leds/trigger/ledtrig-pattern.c
> 
> 5fd752b6b3a223 Baolin Wang         2018-10-11  438  
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  439  static void pattern_init(struct led_classdev *led_cdev)
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  440  {
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  441  	unsigned int size = 0;
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  442  	u32 *pattern;
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  443  	int err;
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  444  
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  445  	pattern = led_get_default_pattern(led_cdev, &size);
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  446  	if (!pattern)
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  447  		return;
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  448  
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  449  	if (size % 2) {
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  450  		dev_warn(led_cdev->dev, "Expected pattern of tuples\n");
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  451  		goto out;
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  452  	}
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  453  
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09 @454  	err = pattern_trig_store_patterns(led_cdev, NULL, pattern, size, false);
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  455  	if (err < 0)
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  456  		dev_warn(led_cdev->dev,
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  457  			 "Pattern initialization failed with error %d\n", err);
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  458  
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  459  out:
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  460  	kfree(pattern);
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  461  }
> aa6fd10481bdb1 Krzysztof Kozlowski 2019-01-09  462  
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki

-- 
Lee Jones [李琼斯]

  reply	other threads:[~2023-06-01 18:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-22 19:04 [PATCH v1] leds: trigger: pattern: add support for hrtimer Martin Kurbanov
2023-05-22 21:44 ` kernel test robot
2023-06-01 18:51   ` Lee Jones [this message]
2023-06-02 11:03     ` Martin Kurbanov

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=20230601185116.GL449117@google.com \
    --to=lee@kernel.org \
    --cc=kernel@sberdevices.ru \
    --cc=kvalo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mmkurbanov@sberdevices.ru \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=pavel@ucw.cz \
    --cc=rostedt@goodmis.org \
    --cc=ye.xingchen@zte.com.cn \
    /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.