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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC02BC433EF for ; Mon, 18 Oct 2021 13:13:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 77C4460F44 for ; Mon, 18 Oct 2021 13:13:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 77C4460F44 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id EC9266B006C; Mon, 18 Oct 2021 09:13:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E78946B0071; Mon, 18 Oct 2021 09:13:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D40DC6B0072; Mon, 18 Oct 2021 09:13:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0057.hostedemail.com [216.40.44.57]) by kanga.kvack.org (Postfix) with ESMTP id C43776B006C for ; Mon, 18 Oct 2021 09:13:42 -0400 (EDT) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 7A7968248D52 for ; Mon, 18 Oct 2021 13:13:42 +0000 (UTC) X-FDA: 78709600284.22.1BB9A96 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf18.hostedemail.com (Postfix) with ESMTP id 75A80400208A for ; Mon, 18 Oct 2021 13:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634562821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7zFsOIZ9Hrg2pMl+8sVl9brJknkWSKGh2+jN0s/ZerU=; b=Z78jDK7l7H+8FJ3oewyLX6ZZAA5KJVQjg7QuhKbQqf2OGIdphB1Z2lLqrZHq7uxvpcKte1 1ua1eYJTES186QTQfNj5H3B6nHipp/83y9lmmZT2UZxrLwC0Kk88X7jnakGryNpGmfffyc /44T0U/wG59liahshc5xGmxEfJuw4Ec= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-560-bHG1Z6rHNxW_iglfZqDoAg-1; Mon, 18 Oct 2021 09:13:39 -0400 X-MC-Unique: bHG1Z6rHNxW_iglfZqDoAg-1 Received: by mail-ed1-f69.google.com with SMTP id v9-20020a50d849000000b003db459aa3f5so14274465edj.15 for ; Mon, 18 Oct 2021 06:13:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=7zFsOIZ9Hrg2pMl+8sVl9brJknkWSKGh2+jN0s/ZerU=; b=D0OEf59OyIXiFIgAmqbKuFQr7ZowxpFwOqXJ66z6aWrZmBW+ReK9U3US3YzdkFszpZ 9VXSYgy3tbFNMk19g+TCKFBmRUVyM1d9APvkNyA6cyB1wT4UjhEasRj0/5EygxZw5Bd1 s1d1HxWzrBm84PA+MnVWNmUsld8IbFqdcl+pikEM76JppULQ553ZYSai1QeEhtHQGljq FUtON9KVX9gKSEdx7Y7ZknTnCOWT39XmYVVtrs06OsEEK7T85WnbXFohKwoxzSx0522o /ucaeSyq5zW5hcK5QhXFFY0+7Fq1TQFXGICT1CDT+z2k3fgw4TnVauago8527/N/bRjT oMng== X-Gm-Message-State: AOAM533i+w4IRbofu0HsJGbwXDlVG8YgkYK2HeQyWRMd93AX1HA/oowc zEWjPPnCY0uTSS+G2u/gNKFGeB/ubEW9jtnHfbt2qOrF/4epvWoqlaTx/fqxyA+XMkwCK5+dJbV UEvfAZ9AHWG8= X-Received: by 2002:a17:907:d89:: with SMTP id go9mr19366307ejc.451.1634562817520; Mon, 18 Oct 2021 06:13:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdsW+haCMpnvNwSOrpS2ftUBCG/xmxZkDdBRQeMfeBm6XeCxpDHYm9EwPnSnliBp5VMGgjhA== X-Received: by 2002:a17:907:d89:: with SMTP id go9mr19366282ejc.451.1634562817286; Mon, 18 Oct 2021 06:13:37 -0700 (PDT) Received: from [10.40.1.223] ([81.30.35.201]) by smtp.gmail.com with ESMTPSA id b22sm9714633edj.83.2021.10.18.06.13.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Oct 2021 06:13:36 -0700 (PDT) Message-ID: Date: Mon, 18 Oct 2021 15:13:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [linux-next:master 7104/8410] drivers/power/supply/axp288_charger.c:411:8: error: implicit declaration of function 'iosf_mbi_block_punit_i2c_access' To: kernel test robot , Kate Hsuan Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Sebastian Reichel References: <202110170208.VfLZSzaB-lkp@intel.com> From: Hans de Goede In-Reply-To: <202110170208.VfLZSzaB-lkp@intel.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 75A80400208A X-Stat-Signature: fdwpsrcy5ogibecm74e9kkfiybdtzrfb Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Z78jDK7l; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf18.hostedemail.com: domain of hdegoede@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=hdegoede@redhat.com X-HE-Tag: 1634562819-10228 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi, On 10/16/21 20:05, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 7c832d2f9b959e3181370c8b0dacaf9efe13fc05 > commit: ed229454856e565c5a7d3287cbc63f2cf077b34f [7104/8410] power: supply: axp288-charger: Optimize register reading method > config: i386-randconfig-c001-20211016 (attached as .config) > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 8ca4b3ef19fe82d7ad6a6e1515317dcc01b41515) > 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/next/linux-next.git/commit/?id=ed229454856e565c5a7d3287cbc63f2cf077b34f > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout ed229454856e565c5a7d3287cbc63f2cf077b34f > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > Note: the linux-next/master HEAD 7c832d2f9b959e3181370c8b0dacaf9efe13fc05 builds fine. > It may have been fixed somewhere. > > All errors (new ones prefixed by >>): > >>> drivers/power/supply/axp288_charger.c:411:8: error: implicit declaration of function 'iosf_mbi_block_punit_i2c_access' [-Werror,-Wimplicit-function-declaration] > ret = iosf_mbi_block_punit_i2c_access(); > ^ >>> drivers/power/supply/axp288_charger.c:430:2: error: implicit declaration of function 'iosf_mbi_unblock_punit_i2c_access' [-Werror,-Wimplicit-function-declaration] > iosf_mbi_unblock_punit_i2c_access(); > ^ > drivers/power/supply/axp288_charger.c:430:2: note: did you mean 'iosf_mbi_block_punit_i2c_access'? > drivers/power/supply/axp288_charger.c:411:8: note: 'iosf_mbi_block_punit_i2c_access' declared here > ret = iosf_mbi_block_punit_i2c_access(); > ^ > 2 errors generated. This is my bad, the Kconfig entry for CONFIG_AXP288_CHARGER now needs a depends on IOSF_MBI, just like we needed it for AXP288_FUEL_GAUGE when similar changes were made to that. I should have caught this during review. I'll send a follow-up patch fixing this. Regards, Hans