Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3540650rwe; Mon, 29 Aug 2022 14:06:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR4fE+5xMMYiSx4RuEaWnsocZJuzlxfsAv1jYw5yfoJ8wA5ipD+cku9J0n4AE1ZnOHbruY3X X-Received: by 2002:aa7:cc05:0:b0:447:8654:7fa9 with SMTP id q5-20020aa7cc05000000b0044786547fa9mr17806438edt.298.1661807213913; Mon, 29 Aug 2022 14:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661807213; cv=none; d=google.com; s=arc-20160816; b=Panp6HFjpIM2SxurgDJMhtScoryQG6132c2kLvmrj5hD9UKVWE1TGImy5FkBY2m5cI kuHEjjRBOi2teLSRi/GN9y59VWlqH436HtvxLTa1AMGnkwqCkVz+6Ihm4cZDdtwUcYhx BJsTZZf1fX23Gd7xpG+ELHbr9k0N62+JtK1SeawUAWDrFlrfSV8Qi4aZCupOE5ZPe65L lrlHp+8XgmQKBs4uNbhHewPyecn5ayAHCEfjzx1s2+1keG4VdBGIjsV8C8SevnoTQk3w cqrEHk8ODHbQe+riDCOJEdnwKbWtOrU08pfTGM+oQNYWrZo9BhKiAV2/mLPacxWLu5HG VdSA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3Pz2ZQ0H9CaPKJvyND7d2QeHhvODiQiRAJZwGW0d1UI=; b=lJrnYRs+PWcX0nmlryi4c1IVNUgZAZLv4NaWB5EPR7zNpsUx+dOOhBMdEl5wIQEWce ikbc8tJNn+wBq5+n016QbDLkqNwQwb5lt006miC0NA89AcdMzXKw9f0gjZax3RyX8F4M VyinL+BwS0ywGa+goJFZCB8b3WSA8F0SOHd/1vJIzM9HqkWMztll5d4/+/DPhybVUBv7 TV2Sr820akdj4vyxeEm8tTmMf+jYvHGAmFwuLzagvHQ2Hvy1MKnCkUhpwYfQKcUfzrFA g/cOsmI/damCseQ6OJw2qmYBQFe9sEos/m9imBxUHw6ds71FUwbyQdB3Uj1XZmwk9qps 1uVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cFPKpczL; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p13-20020a1709066a8d00b0073045237fd2si6769133ejr.751.2022.08.29.14.06.27; Mon, 29 Aug 2022 14:06:53 -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=@collabora.com header.s=mail header.b=cFPKpczL; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229631AbiH2Ust (ORCPT + 99 others); Mon, 29 Aug 2022 16:48:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbiH2Usr (ORCPT ); Mon, 29 Aug 2022 16:48:47 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B3CC9C2E7 for ; Mon, 29 Aug 2022 13:48:46 -0700 (PDT) Received: from notapiano (unknown [70.107.189.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8CFB26601E7E; Mon, 29 Aug 2022 21:48:44 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661806125; bh=ITBsfXO4TLfozLpS9mMyEGgWsWwWiO6v325lcT5dOeA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cFPKpczLQ6g4Ywmg1CkkRcN8HBV5MMLOzKwgnVMCxupyh6BFAIeEdsgnHqauwvSFM bDqy9akL9UPEhi1MaGgch8czsoyqaOE6EbbEvmkqk4EdTBI0fBr0z9YJD0GZsM1vAQ VtCg+TaTmvaoxNd7r+fBOW1MIdJ6Tx4cA+VnPXc15rl+oq5atey3Yf+ySjtxnKqL9/ xF5c3lfXkG3W3uXVjqGw9nCfmE37oThh7sQpooyqOQ+TUBP0vk7PcsY8yzI3YWFA6i nRwROXSNp3YOOXmn/JLr9OzGW40YA4QKNW42mn+f1S6vW0KPMNmC0h8tCkuCbyxoUm 5MDglA52yjDqw== Date: Mon, 29 Aug 2022 16:48:40 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: kernel test robot Cc: AngeloGioacchino Del Regno , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Matthias Brugger Subject: Re: [matthias-bgg:v6.0-next/soc 11/11] drivers/soc/mediatek/mtk-svs.c:887:47: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? Message-ID: <20220829204840.iwhysofe7n4ddnlw@notapiano> References: <202208270239.HjU7TSCX-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202208270239.HjU7TSCX-lkp@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, 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 On Sat, Aug 27, 2022 at 02:51:47AM +0800, kernel test robot wrote: > Hi AngeloGioacchino, > > FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git v6.0-next/soc > head: a92438c5a30a27b6791da025306a45478a6ac7a4 > commit: a92438c5a30a27b6791da025306a45478a6ac7a4 [11/11] soc: mediatek: mtk-svs: Use bitfield access macros where possible > config: arm-buildonly-randconfig-r006-20220823 (https://download.01.org/0day-ci/archive/20220827/202208270239.HjU7TSCX-lkp@intel.com/config) > compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/commit/?id=a92438c5a30a27b6791da025306a45478a6ac7a4 > git remote add matthias-bgg https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git > git fetch --no-tags matthias-bgg v6.0-next/soc > git checkout a92438c5a30a27b6791da025306a45478a6ac7a4 > # 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=arm SHELL=/bin/bash drivers/soc/mediatek/ > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > drivers/soc/mediatek/mtk-svs.c: In function 'svs_get_bank_volts_v3': > >> drivers/soc/mediatek/mtk-svs.c:887:47: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? [-Werror=implicit-function-declaration] > 887 | svsb->volt[turn_pt] = FIELD_GET(SVSB_VOPS_FLD_VOP0_4, vop30); > | ^~~~~~~~~ > | FOLL_GET > drivers/soc/mediatek/mtk-svs.c: In function 'svs_set_bank_freq_pct_v2': > >> drivers/soc/mediatek/mtk-svs.c:1073:25: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] > 1073 | freqpct74_val = FIELD_PREP(SVSB_FREQPCTS_FLD_PCT0_4, svsb->freq_pct[8]) | > | ^~~~~~~~~~ > cc1: some warnings being treated as errors Hi, thanks for the report. Fix sent [1]. Thanks, N?colas [1] https://lore.kernel.org/all/20220829204439.3748648-1-nfraprado@collabora.com