From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80DFFC83F01 for ; Wed, 30 Aug 2023 07:41:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0twhn0ofu1uY01CMuXT3Sobz79+5j3tn+LlPZUG96GA=; b=d9CclMJ/KE1sJy Pw5f3yOAKqfFUHkCLopXLkCJEVPH3e6MnMvuT2FgGJFgNvnl0Hrgyx2NCiCAu8Q+1By1OEvHOMuZO x7eyzL7q3KcKHXm6+w5freXBbpfpvYQV6fZ3Vu94nSrzTBYaH+nZuy1P4IPFqANZOr9mVsB55chWu KHqCfsAiYi10bHVFJGmWdVwmvrt7MDkLjEWS9TY65g2dF1+wxzYa2n4jzXrwfgvzk58fn+MjjxnXg z/zeq5Jyl3d79Klxtq0dTsBdF3sXb/GuUjT69R4Dq2g8T1XBfkS0bgX1+EokJZZ0jBXOd/wz6C27g GALfbCLLzqesHDlXk8Dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qbFpI-00D1c5-0M; Wed, 30 Aug 2023 07:41:20 +0000 Received: from mgamail.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qbFpF-00D1ag-0h for linux-arm-kernel@lists.infradead.org; Wed, 30 Aug 2023 07:41:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693381277; x=1724917277; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5QX2utJhe//XqFa+InE4SbM4WETASb0Mj1a/b7o6gis=; b=PKAO1sL7fzsIf+3huGliMFswI2hox5Zfbm+RazCgef7ymsjJWErXj32a JPhymOrJQOh7SJtasAVAW95fM53OneHMJEdnu4R/Lz74soZbHPemi7F93 Vjd8ARq+klEYHl/ZQjVJbNst85X4GVLiIZ1N95aCUjwAAfKE2oViNgpmX acvoTZrWZfxzz6DtAV+T1r/vpmuJPC0Vhq+2RgZ41cc9KGI7sykKZUGui KQQ02whercrr/rBVLWX0W+WjYyBjfpxgPnlFFoo8D559fsY+LW/uAZ1Xw 70mHVGJyrHHdNJiZzsNSONmAMryUeVZnnQqv13EFhDCAb8MduWLjLSjXY g==; X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="374479610" X-IronPort-AV: E=Sophos;i="6.02,212,1688454000"; d="scan'208";a="374479610" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2023 00:40:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="1069745573" X-IronPort-AV: E=Sophos;i="6.02,212,1688454000"; d="scan'208";a="1069745573" Received: from lkp-server02.sh.intel.com (HELO daf8bb0a381d) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 30 Aug 2023 00:40:37 -0700 Received: from kbuild by daf8bb0a381d with local (Exim 4.96) (envelope-from ) id 1qbFoa-0009Zd-0z; Wed, 30 Aug 2023 07:40:36 +0000 Date: Wed, 30 Aug 2023 15:40:04 +0800 From: kernel test robot To: Fabrice Gasnier , william.gray@linaro.org, lee@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, alexandre.torgue@foss.st.com, fabrice.gasnier@foss.st.com, linux-iio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 8/8] counter: stm32-timer-cnt: add support for events Message-ID: <202308301541.ZqWpJdto-lkp@intel.com> References: <20230829134029.2402868-9-fabrice.gasnier@foss.st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230829134029.2402868-9-fabrice.gasnier@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230830_004117_289798_B4560FC0 X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Fabrice, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.5 next-20230830] [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/Fabrice-Gasnier/counter-chrdev-fix-getting-array-extensions/20230829-230111 base: linus/master patch link: https://lore.kernel.org/r/20230829134029.2402868-9-fabrice.gasnier%40foss.st.com patch subject: [PATCH 8/8] counter: stm32-timer-cnt: add support for events config: arm-randconfig-001-20230830 (https://download.01.org/0day-ci/archive/20230830/202308301541.ZqWpJdto-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230830/202308301541.ZqWpJdto-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308301541.ZqWpJdto-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/counter/stm32-timer-cnt.c:528:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] 528 | case COUNTER_EVENT_OVERFLOW_UNDERFLOW: | ^ drivers/counter/stm32-timer-cnt.c:528:2: note: insert '__attribute__((fallthrough));' to silence this warning 528 | case COUNTER_EVENT_OVERFLOW_UNDERFLOW: | ^ | __attribute__((fallthrough)); drivers/counter/stm32-timer-cnt.c:528:2: note: insert 'break;' to avoid fall-through 528 | case COUNTER_EVENT_OVERFLOW_UNDERFLOW: | ^ | break; 1 warning generated. vim +528 drivers/counter/stm32-timer-cnt.c 516 517 static int stm32_count_watch_validate(struct counter_device *counter, 518 const struct counter_watch *watch) 519 { 520 struct stm32_timer_cnt *const priv = counter_priv(counter); 521 522 switch (watch->event) { 523 case COUNTER_EVENT_CAPTURE: 524 if (watch->channel >= priv->nchannels) { 525 dev_err(counter->parent, "Invalid channel %d\n", watch->channel); 526 return -EINVAL; 527 } > 528 case COUNTER_EVENT_OVERFLOW_UNDERFLOW: 529 return 0; 530 default: 531 return -EINVAL; 532 } 533 } 534 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel