Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp510239iof; Mon, 6 Jun 2022 07:40:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0b73Wik2QDaHvC2rpH6AgI2i851xawgPsQ5ySDqJ0WN3y9PuD7aFeqnr1lnD17zlfAlnB X-Received: by 2002:a63:8842:0:b0:3fc:64b0:cacd with SMTP id l63-20020a638842000000b003fc64b0cacdmr21850797pgd.490.1654526412411; Mon, 06 Jun 2022 07:40:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654526412; cv=none; d=google.com; s=arc-20160816; b=NVIHswDAL/e7s4k7rlPEvPT0JKoWmjiZSILDWv1WlVJ/HPYempOWHkp89UgXCQ56ZE nRQKMwqvjUUIgNWS2IoGNzcZvmnytm9YTgPxn+V99lqkTVXtYlNrfOZOLdBHr2UQciRg zLDu14//oU3N4HEfns7dCbM9WrV/8TkHmvXEvUR/Ba64sLB+DE1UXaWfOLgM5ALtnsv/ qvi6zZxuRRay8Q+tzckKB2R7yx56ZHUjzT2dFjktFiysjiWOkYg8Htg1dfhuu+DzcEMe 6n1pOb0x3tbslTmHzHrtkK8OHif9vI0TWWO7joNtQx/JY8evMF62Asm0+WtFq+cZ7f/2 +rDQ== 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=gOYlcBZo8vwA1gx+V5Kfavwssj8xePToS2MymeosnX0=; b=vgI+pbB2k6rxsQ5Qt1oTPCKKq1cRadUHgJU6QnJca658bsXD8Kd/GY8ppSe1nN5ccw kuaiDAmXcQY+zW+ZYC8IoyfJNaLOXuKDC6zFjLJQGkXcLbq+QMwMZZE3omLMkcW4GwZp OEl9P+FjIzBiNV5HjUJ3MFkEufOPC24Do9WRuh7wbkmB4og8sAKXW6Q+qz16wiIsTTQX cscHzQ+wpJ9loR4ZYy1bXoCaeFMkRhsjd2/mnpaOkuoiYPKGg0OGAjsgPZO172klRhCN Yf7lxeKqNX2XcJ3g5exuyyWFVwA5ndjiS2z5LtGQR5+wJpAKLrgXFHIDJIVe79/9sbBX CzkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eMC426ni; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w8-20020a1709027b8800b001677d4dd54asi4412443pll.135.2022.06.06.07.40.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 07:40:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eMC426ni; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 6E150CBD59; Mon, 6 Jun 2022 07:29:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239875AbiFFO33 (ORCPT + 99 others); Mon, 6 Jun 2022 10:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239844AbiFFO31 (ORCPT ); Mon, 6 Jun 2022 10:29:27 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFC5FC7E3D; Mon, 6 Jun 2022 07:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654525766; x=1686061766; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6gFuK9m/CegkpD/g+gX8hVz/ChSurSOe3kM0kYWm6aE=; b=eMC426nikFbLleMpcDTh7f0evVLQFOc0EOD+mur79kxbvG6TELXmV8Aj nKCCefZWHVfjqCAiqyuxa6AoT7ForInPA8yVKBMPw0N5veqmcsRD0MHpG WfnXh0EIX4qO/xF58JQ14SySJcla3/QhtBM00+2CbGX7MYqJ01fHG4pCM OmHgeLZTj9y3aiEgmKrcwqGTCAd27vIFsy+QS7RkB6xTPSlM/eYjbTEvY jIYL5BuSi5oE4+2LfaM97VvzDcnwrsHa0onSb5vU/EInWkCdLieVMka/T D5FyRsO5GakZz4AcB75dugRKVfr3X7rX7Hio/NQkBb6988DLPTnDDPa6P w==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="275436363" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="275436363" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 07:29:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="554471422" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 06 Jun 2022 07:29:19 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nyDjK-000Cnd-JV; Mon, 06 Jun 2022 14:29:18 +0000 Date: Mon, 6 Jun 2022 22:28:27 +0800 From: kernel test robot To: ChiaEn Wu , lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, sre@kernel.org, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, jic23@kernel.org, lars@metafoo.de, lgirdwood@gmail.com, broonie@kernel.org, linux@roeck-us.net, heikki.krogerus@linux.intel.com, deller@gmx.de Cc: kbuild-all@lists.01.org, cy_huang@richtek.com, alice_chen@richtek.com, chiaen_wu@richtek.com, peterwu.pub@gmail.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-iio@vger.kernel.org Subject: Re: [RESEND 12/14] leds: mt6370: Add Mediatek MT6370 Indicator support Message-ID: <202206062207.q0S8wxpj-lkp@intel.com> References: <20220531111900.19422-13-peterwu.pub@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220531111900.19422-13-peterwu.pub@gmail.com> X-Spam-Status: No, score=-3.1 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,T_SCC_BODY_TEXT_LINE 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 ChiaEn, Thank you for the patch! Yet something to improve: [auto build test ERROR on pavel-leds/for-next] [also build test ERROR on lee-mfd/for-mfd-next lee-backlight/for-backlight-next v5.19-rc1 next-20220606] [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/ChiaEn-Wu/Add-Mediatek-MT6370-PMIC-support/20220531-211432 base: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next config: nios2-allyesconfig (https://download.01.org/0day-ci/archive/20220606/202206062207.q0S8wxpj-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 11.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/intel-lab-lkp/linux/commit/4de9e5ff11aeade155aa744bcaf9efca82b3d4ee git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review ChiaEn-Wu/Add-Mediatek-MT6370-PMIC-support/20220531-211432 git checkout 4de9e5ff11aeade155aa744bcaf9efca82b3d4ee # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/leds/leds-mt6370.c: In function 'mt6370_check_vendor_info': >> drivers/leds/leds-mt6370.c:873:15: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? [-Werror=implicit-function-declaration] 873 | vid = FIELD_GET(MT6370_VENID_MASK, devinfo); | ^~~~~~~~~ | FOLL_GET cc1: some warnings being treated as errors vim +873 drivers/leds/leds-mt6370.c 863 864 static int mt6370_check_vendor_info(struct mt6370_priv *priv) 865 { 866 unsigned int devinfo, vid; 867 int ret; 868 869 ret = regmap_read(priv->regmap, MT6370_REG_DEV_INFO, &devinfo); 870 if (ret) 871 return ret; 872 > 873 vid = FIELD_GET(MT6370_VENID_MASK, devinfo); 874 if (vid == 0x9 || vid == 0xb) { 875 priv->reg_fields = mt6372_reg_fields; 876 priv->ranges = mt6372_led_ranges; 877 priv->is_mt6372 = true; 878 } else { 879 priv->reg_fields = common_reg_fields; 880 priv->ranges = common_led_ranges; 881 } 882 883 return 0; 884 } 885 -- 0-DAY CI Kernel Test Service https://01.org/lkp