Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp996807pxb; Fri, 22 Apr 2022 16:17:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuV8JxNp7St/de30Gt04r+NAeOcnYNM7B6BhezvqRxCtjYQPKvToPKoYhz9Rs+HoiRN+t3 X-Received: by 2002:a17:903:11d1:b0:151:9fb2:9858 with SMTP id q17-20020a17090311d100b001519fb29858mr6861726plh.136.1650669475686; Fri, 22 Apr 2022 16:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650669475; cv=none; d=google.com; s=arc-20160816; b=lIxJAIch0QWQWvdF9ALhFX9PXINr08ZJVccJ0HJyug4K4bo8GewvCQAjrrYRLLZZ3x rnbirhY4IDsp0EepbjDSO/t5qZBfvw/oKOjR4cGefSB+QV8BRLX0xo69BR3gxKtKS+kI fRk+c/UUGJlv6XnFOeOr4H6VTupb6Oil8hN4sCj+bJrhsm91yBpjMS+0EioUryfXw1G+ EObGv47Sqo8Iv7WPAopbEod6zSxYnVeP84YiIvt+25sLkRlOIbH71s5pVBSGxGcWfMko ZmV1npCJ8oLWyZXszpzjhf3goOP0mbzvt0q/njEx9sT4sdOLZJl8O3ErPqO3bML2Nmpg HtNA== 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=F4qC7ra7E7wHt4NSdWJ16/STsvInTmzQ8XeMvvM+USs=; b=YyDctLYgyF3GTeC1iGMivYZcsfM4KGxD7Se6AkJ5nv8jEWBhQwkrZRFeuWlZZRJNcB 1C425+pIh7HoZ1rd+4w05r92agX88xDe6/hoSBEfzbiwLoXI7cU0baxKVCX6NjvsFpRL dgKB+Oo7gRfLeDxoopkL6qwaxcyLWnzWL+nrednV7U8RRNIqgR0BZAR0snRvlfX/dCIP YSphqrKxBXR7kQwBzIppuzCdkxTHLFgc79HYuATsmARK/Ky4rLmiPHmOVmqGSIRMS5W8 CC9HjMPyTvZF/wnWZU+gtRYSAnewWlj/34SVnk2MRat3B4HSVyL1Jk+rFcHFJnpp8uhL mbZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kJGLDCdx; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l13-20020a056a00140d00b004f70dcc690csi9253253pfu.1.2022.04.22.16.17.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 16:17:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kJGLDCdx; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 64F611E1247; Fri, 22 Apr 2022 15:26:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232575AbiDVW2l (ORCPT + 99 others); Fri, 22 Apr 2022 18:28:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232984AbiDVW13 (ORCPT ); Fri, 22 Apr 2022 18:27:29 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C9831C9CE0; Fri, 22 Apr 2022 14:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650662419; x=1682198419; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8oZmbcJgaLEluY4MIs8edkXFbtUVeZ9n1fl2FQ+iUbA=; b=kJGLDCdx9C1PNY3UqEYU2MHpUor31XnYDshCnXcSsvJZU9Z5Xsb7j4W8 PLL3B4tztuJn5gjQ5xet6qMLXvTAcgNs3gf7Sqrnpg2b+1Hqc39sNK7rK TnXx9TT64XZFO9E+aNTCtmM5CrIrNKrtifcGMjY+W/nZKKhvuech7HInR GtSp4YiPc+KK6t7tngpplf8ffR2vyHMF+5WaBtB08in6JLeseZVtlZo2/ y3ShcXUpf+cI5Z2SLfk1TJivSSQ8PcjcoKDMqOVmaCcltsD9QafhSf2V9 NrVGoRaTKE2METarNKoBjq2tKa46sSZrcZZaXgA3fg6om8b7kW+63lJPb g==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="289914444" X-IronPort-AV: E=Sophos;i="5.90,282,1643702400"; d="scan'208";a="289914444" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2022 14:20:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,282,1643702400"; d="scan'208";a="659211292" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 22 Apr 2022 14:20:14 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1ni0hJ-000Aag-Ri; Fri, 22 Apr 2022 21:20:13 +0000 Date: Sat, 23 Apr 2022 05:19:22 +0800 From: kernel test robot To: Quan Nguyen , Lee Jones , Rob Herring , Krzysztof Kozlowski , Jean Delvare , Guenter Roeck , Jonathan Corbet , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Thu Nguyen , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, OpenBMC Maillist Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Open Source Submission , Phong Vo , "Thang Q . Nguyen" Subject: Re: [PATCH v8 8/9] mfd: smpro-mfd: Adds Ampere's Altra SMpro MFD driver Message-ID: <202204230554.4528TqPu-lkp@intel.com> References: <20220422024653.2199489-9-quan@os.amperecomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220422024653.2199489-9-quan@os.amperecomputing.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 Quan, I love your patch! Perhaps something to improve: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on groeck-staging/hwmon-next lee-mfd/for-mfd-next v5.18-rc3 next-20220422] [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/intel-lab-lkp/linux/commits/Quan-Nguyen/Add-Ampere-s-Altra-SMPro-MFD-and-its-child-drivers/20220422-105732 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git c50c29a806113614098efd8da9fd7b48d605ba45 config: arm-randconfig-r004-20220422 (https://download.01.org/0day-ci/archive/20220423/202204230554.4528TqPu-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5bd87350a5ae429baf8f373cb226a57b62f87280) 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 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/intel-lab-lkp/linux/commit/09ec873f0dd4611cb2df0150923d8906b9c5b2d1 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Quan-Nguyen/Add-Ampere-s-Altra-SMPro-MFD-and-its-child-drivers/20220422-105732 git checkout 09ec873f0dd4611cb2df0150923d8906b9c5b2d1 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash arch/arm/mach-at91/ drivers/hwmon/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/hwmon/smpro-hwmon.c:376:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] default: ^ drivers/hwmon/smpro-hwmon.c:376:3: note: insert 'break;' to avoid fall-through default: ^ break; 1 warning generated. vim +376 drivers/hwmon/smpro-hwmon.c e1354080fc83378 Quan Nguyen 2022-04-22 359 e1354080fc83378 Quan Nguyen 2022-04-22 360 static umode_t smpro_is_visible(const void *data, enum hwmon_sensor_types type, e1354080fc83378 Quan Nguyen 2022-04-22 361 u32 attr, int channel) e1354080fc83378 Quan Nguyen 2022-04-22 362 { e1354080fc83378 Quan Nguyen 2022-04-22 363 const struct smpro_hwmon *hwmon = data; e1354080fc83378 Quan Nguyen 2022-04-22 364 unsigned int value; e1354080fc83378 Quan Nguyen 2022-04-22 365 int ret; e1354080fc83378 Quan Nguyen 2022-04-22 366 e1354080fc83378 Quan Nguyen 2022-04-22 367 switch (type) { e1354080fc83378 Quan Nguyen 2022-04-22 368 case hwmon_temp: e1354080fc83378 Quan Nguyen 2022-04-22 369 switch (attr) { e1354080fc83378 Quan Nguyen 2022-04-22 370 case hwmon_temp_input: e1354080fc83378 Quan Nguyen 2022-04-22 371 case hwmon_temp_label: e1354080fc83378 Quan Nguyen 2022-04-22 372 case hwmon_temp_crit: e1354080fc83378 Quan Nguyen 2022-04-22 373 ret = regmap_read(hwmon->regmap, temperature[channel].reg, &value); e1354080fc83378 Quan Nguyen 2022-04-22 374 if (ret || value == 0xFFFF) e1354080fc83378 Quan Nguyen 2022-04-22 375 return 0; e1354080fc83378 Quan Nguyen 2022-04-22 @376 default: e1354080fc83378 Quan Nguyen 2022-04-22 377 break; e1354080fc83378 Quan Nguyen 2022-04-22 378 } e1354080fc83378 Quan Nguyen 2022-04-22 379 break; e1354080fc83378 Quan Nguyen 2022-04-22 380 default: e1354080fc83378 Quan Nguyen 2022-04-22 381 break; e1354080fc83378 Quan Nguyen 2022-04-22 382 } e1354080fc83378 Quan Nguyen 2022-04-22 383 e1354080fc83378 Quan Nguyen 2022-04-22 384 return 0444; e1354080fc83378 Quan Nguyen 2022-04-22 385 } e1354080fc83378 Quan Nguyen 2022-04-22 386 -- 0-DAY CI Kernel Test Service https://01.org/lkp