From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpbgbr1.qq.com (smtpbgbr1.qq.com [54.207.19.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59AFD13D8B1 for ; Tue, 28 Oct 2025 02:14:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.207.19.206 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761617661; cv=none; b=h+gJQMtfu6Gss3pWsjlY5tWJUVPA1Lq3wbRAKmEePBMcfsvDd4pUaH275lkPcFIe1N/jGn5IsFlqycqP/zNwnsxr3d2SzuaglAuPkE2FDYaFN19vvJc56p/RBL5Z91JQY4sceTjf9b7JGLBunvZFJdBYvUJk8Cf8OME/A7T4L68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761617661; c=relaxed/simple; bh=/PaFBHy64rGgMWUqpYePTksCWVabf6Q+9Js0kI2d4iE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=E3BOnlSP2SGThnzBJSdFgr8WfV8QCSpc0NB5yJohlhSkvJMsgnuuCk/yCaBgnTNsrtXuvLkG6DBA+KQHP0mPpIyPTRWrcnCroB8ye2sUJGER+lcspIrNtV9KKqfRpjD2pZn4/5voJKb1AlFZpvRUac9C1FpYMK6UcfWW0oL3bFE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=l9Asc189; arc=none smtp.client-ip=54.207.19.206 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="l9Asc189" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1761617614; bh=VlK3t/Xv5LLzjE0dV2jWA+/0FZqLNmRlJr1ryxluhxI=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=l9Asc189MsUIXp3YcocZgX0MJUNFhVSjcAmrnULyelgwlqPyauzdbLxfwRw1iUIIi 7QLu8lp+oJwytjidsrFn0T6bEgEdSBfh1aUInPSLZJNytuXQ2467U0yNmJbP3nFXYq yXKTCTWvu5P5FV5w8OstKMKICtaHS64Z+Oh3agCc= X-QQ-mid: zesmtpgz3t1761617612t81c82363 X-QQ-Originating-IP: yLxr9FRtgkzgVlTzQxP8lK0+u8/dw0HzEMeRuqlfjhY= Received: from [198.18.0.1] ( [113.57.152.160]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 28 Oct 2025 10:13:31 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 17129082983056919779 Message-ID: <2F51425F3E6D2182+7c76e5f7-bb24-4d39-aa00-33e486ff4cd9@uniontech.com> Date: Tue, 28 Oct 2025 10:13:31 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: drivers/hwmon/gpd-fan.c:231:9: error: implicit declaration of function 'outb' To: Geert Uytterhoeven Cc: kernel test robot , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Guenter Roeck References: <202510240817.vt3eQ3qL-lkp@intel.com> <265B8FE9306198E5+0131c750-3995-4158-84e7-ad73792e6934@uniontech.com> Content-Language: en-US From: Cryolitia PukNgae In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpgz:uniont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qSGSQ6HGFGzoTqZ7v3pbS+iD2w cKmM2Pm4vvj/0fzN67q/ZAurfBByVZmpTuUS5HwQ== X-QQ-XMRINFO: NyFYKkN4Ny6FSmKK/uo/jdU= X-QQ-RECHKSPAM: 0 > Hi Cryolitia, > > On Sat, 25 Oct 2025 at 15:49, Cryolitia PukNgae wrote: >>> FYI, the error/warning still remains. >>> >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >>> head: 266ee584e55eed108583ab4f45b5de734522502d >>> commit: 0ab88e2394392f475b8857ac82c0c987841217f8 hwmon: add GPD devices sensor driver >>> date: 6 weeks ago >>> config: i386-buildonly-randconfig-002-20251024 (https://download.01.org/0day-ci/archive/20251024/202510240817.vt3eQ3qL-lkp@intel.com/config) >>> compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 >>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251024/202510240817.vt3eQ3qL-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/202510240817.vt3eQ3qL-lkp@intel.com/ >>> >>> All errors (new ones prefixed by >>): >>> >>> drivers/hwmon/gpd-fan.c: In function 'gpd_ecram_read': >>>>> drivers/hwmon/gpd-fan.c:231:9: error: implicit declaration of function 'outb' [-Wimplicit-function-declaration] >>> 231 | outb(0x2E, addr_port); >>> | ^~~~ >>>>> drivers/hwmon/gpd-fan.c:244:16: error: implicit declaration of function 'inb' [-Wimplicit-function-declaration] >>> 244 | *val = inb(data_port); >>> | ^~~ >>> >> >> I don't understand...... I have already added CONFIG_HAS_IOPORT to depends. If this is not enough, what else should I do? > > Missing #include ? > > Gr{oetje,eeting}s, > > Geert > It has been fixed[1] a little earlier, thanks for your help 1. https://lore.kernel.org/all/20251024202042.752160-1-krishnagopi487@gmail.com/ Greetings, Cryolitia