Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3500504rwd; Mon, 22 May 2023 15:04:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Phhgj9yJc5CJcZ1jXOp3MhCzPeB6Bkgq5OyKqsVS8C8x3GMyKv4MLsP7NnhabzRVbsFBs X-Received: by 2002:a17:902:b401:b0:1ac:7b13:de71 with SMTP id x1-20020a170902b40100b001ac7b13de71mr12589796plr.37.1684793060826; Mon, 22 May 2023 15:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684793060; cv=none; d=google.com; s=arc-20160816; b=Qk+t6yCiW9iM9TngHYFyPFO/2Fn8Vf36L9105/hRhZGPoSiJTuGlKhD3LrRtocioG9 qpD/LsNFZ7bdlw3nT/zPkuU2Ub3v/3QsgnM9HaJBBKJjlxd3oZlgej60s/cE/w3Q9zb1 IXkx2S0WQQGCpJUDFYO6fjzVP18exgepBtWpNLFhsbEEIQ/SoAr9qQ46KFsyanaye1O9 MqUSV/tsXLQejT+zyIFRItLXk/ueHX+oWWoxUxF7M09zk2Uw9ygqdE48HKjnlE4DxKdQ tdmga8jPqSkKrqNlCJ1jR8zsREAocV/yH0TOe4yN0QtASjqrDSUQ3LIvvttXZch66dH/ ZFOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RnfJoX0xC31eYFswIOgqVLly0D+vvNBjcbRvUJP3dDs=; b=B6kq1HtqOswX5lC3QRQyT1XDjMehgqhcLu9gnnyNJLnIoB1J2R4IFCdcEfosHRMbwD XNvUIF71f6kJCP5binHPiwlwtQyUm6G14V/RfF41J3JY3/DyTcDAFdiWPm0QRfq7ZzrX 9TzB/U2a25hXk8fohnXB6kfXUskdjR2Uc+Eqc0WbPQiJLTsb1mWXGcGXBZtl6c30zgIo 2mARAvVfhk+S1gGhZfl60wIQzrWrC2gMx4MVzTYkvM4J8J/2nIB/TPWy8kqPnoNLfwfj LqoIQuaa9NF1az8S3eEh2xWfLY2bcgGYUllmxszYFM0F9yNhDH4MlgwuHSXJPXE4xyho ss+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JFkOX7mK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u3-20020a170902e80300b00199200945a3si4002798plg.74.2023.05.22.15.04.06; Mon, 22 May 2023 15:04:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JFkOX7mK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232929AbjEVVo1 (ORCPT + 99 others); Mon, 22 May 2023 17:44:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbjEVVoZ (ORCPT ); Mon, 22 May 2023 17:44:25 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53FB7A7; Mon, 22 May 2023 14:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684791864; x=1716327864; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jb6hsR47EajT5Yqj0ILeLdl16rMJne9Ye39lbGAi5ss=; b=JFkOX7mK7GJM+Um5l4Y1DkX5XnILp364XJMMOx/O8rWxXEptdblwfr1H DWvdOvhUNApoUqLVe8azoa8bup3Ps3QC0rclTNlXJtgSIzVoeMtVVa72R pxL3yxig3WjBZpQxu5pVR0TGKPWVUJRMyrRs0lX1lRU7dVTo5urwkOule tSnO958PY2tmjtAFaX+HfCnSYXoqsDJii40jmS6fYOAUnOM3k07V/73v4 XnhP3JmTgU2jAvOnYVWuATRj51sMIHAFUbl5SdIJE4A4+vOn2trsmuxvT zZAQ176rATVDDXH5mqKMT1cy+z3VcJvl1fXyxFpGEBLQmXXlyBnDTLjiC Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10718"; a="355400899" X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="scan'208";a="355400899" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2023 14:44:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10718"; a="950264147" X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="scan'208";a="950264147" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 22 May 2023 14:44:21 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1q1DKG-000DDF-1Z; Mon, 22 May 2023 21:44:20 +0000 Date: Tue, 23 May 2023 05:44:01 +0800 From: kernel test robot To: Martin Kurbanov , Pavel Machek , Lee Jones , ye xingchen , Kalle Valo , Paolo Abeni , Steven Rostedt Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, kernel@sberdevices.ru, Martin Kurbanov Subject: Re: [PATCH v1] leds: trigger: pattern: add support for hrtimer Message-ID: <202305230549.ekneaQ89-lkp@intel.com> References: <20230522190412.374474-1-mmkurbanov@sberdevices.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230522190412.374474-1-mmkurbanov@sberdevices.ru> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 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 ' to 'enum pattern_type' [-Wenum-conversion] 454 | err = pattern_trig_store_patterns(led_cdev, NULL, pattern, size, false); | ^~~~~ 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