Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1694736pxb; Thu, 4 Nov 2021 06:57:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqhfYGqIsGta1GK7qVWs6HO3Al3iSxpKW49IZHYtC6I3+kC6PAob1rZZTX7yysFxpBiisj X-Received: by 2002:a05:6602:3417:: with SMTP id n23mr35826165ioz.205.1636034222834; Thu, 04 Nov 2021 06:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636034222; cv=none; d=google.com; s=arc-20160816; b=NRGf9l2u7Pm4QiKjxj+aljBFuCkkW6iMzLb+IZSlRgW3noDZ3/WedT/3zgYEzl+b3N EQQln1WpZxEhuDe66L1Xz3iYivYl99rZ9kKwfZcj2HMqJKhsCr599+ffWFvHOiree6PC IMB5xZN5OFsgRfwjk/SaIwYZerbIzaTsqwtutEZ8xHa3cgO565RFSVIedk93ix2WJUkB vPAjI6dwtxWnq42SwmVd6DSgN1yoOsKUZkxW9xUB6jGObfjz+GRqC8FazcBtYSF/GlFc BCPe35ks6HixlT9CnRDRF7m8HznG/G4KvRHJsAXfaaKIYsgz4jqmUJS+la4EaLLZeKzv s3dw== 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:dkim-filter; bh=uU7nP/CbWFKVSXnLqHOdZf2wTavbQiyIWOEtOt/p1ho=; b=UBKrEO4iX1YKHop0FHaZJv3g9lNprJj9qT/aFXzkHV/gFQIjnk/mzp9el73hmoTiVI +XEvHcUATotrg27AwfxGjpbeXG43opzYvDwYGx/rBRN63jCBHW4CvDVsosiyslKkq6Go brXackS5IxrXlNa9qz6TxYlQ44ESigsuPOO2rx7RQnq62qjlIxAsvC1FOXN56iM3YNPO 7/spfZWisyzRZWgozJVAedAfuirQ5nbOgQMKFUmaPsHjyl6v2m/Lj/OvIguh26Z/LpYQ zrYilsWi/zEEly7UhvYsrwW7u8TsQncG/XXx5st8QZE0WsYn92rQt3C5AqAx3c4tfcqo Y4Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="rQbe1/NO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 15si7281076ilt.5.2021.11.04.06.56.46; Thu, 04 Nov 2021 06:57:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="rQbe1/NO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231320AbhKDN42 (ORCPT + 99 others); Thu, 4 Nov 2021 09:56:28 -0400 Received: from linux.microsoft.com ([13.77.154.182]:32782 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231267AbhKDN42 (ORCPT ); Thu, 4 Nov 2021 09:56:28 -0400 Received: from sequoia (162-237-133-238.lightspeed.rcsntx.sbcglobal.net [162.237.133.238]) by linux.microsoft.com (Postfix) with ESMTPSA id AFA0C20B9CE9; Thu, 4 Nov 2021 06:53:49 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com AFA0C20B9CE9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1636034030; bh=uU7nP/CbWFKVSXnLqHOdZf2wTavbQiyIWOEtOt/p1ho=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rQbe1/NOFSG373p6DM0sddUUT8YOvuGXE9IyfhH+xsy/DlwWE60pyePrVLDfvmfB1 EB3VQxjxgdeiJXrRf2ERmkIv8jfBUGZty955Sc7bOyrDgiabAPafQ0heZ2Ni2ICESF L1gbD3NZjeSFoBOyaOkewh6A9yApVpLzP8xfc3dQ= Date: Thu, 4 Nov 2021 08:53:47 -0500 From: Tyler Hicks To: Lee Jones Cc: Alistair Francis , linux-kernel@vger.kernel.org, Robert Marko Subject: Re: [PATCH] mfd: simple-mfd-i2c: Fix linker error due to new mfd-core dependency Message-ID: <20211104135347.GD3600@sequoia> References: <20211103190426.1511507-1-tyhicks@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-11-04 08:24:28, Lee Jones wrote: > On Wed, 03 Nov 2021, Tyler Hicks wrote: > > > Select CONFIG_MFD_CORE from CONFIG_MFD_SIMPLE_MFD_I2C, now that > > simple-mfd-i2c.c calls devm_mfd_add_devices(), to fix the following > > linker error: > > > > ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': > > simple-mfd-i2c.c:(.text+0x62): undefined reference to `devm_mfd_add_devices' > > make: *** [Makefile:1187: vmlinux] Error 1 > > > > Fixes: c753ea31781a ("mfd: simple-mfd-i2c: Add support for registering devices via MFD cells") > > Cc: stable@vger.kernel.org # 5.15.x > > Signed-off-by: Tyler Hicks > > --- > > drivers/mfd/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > Looks like the same change that has already been applied. > > Could you rebase on top of the MFD tree please? Ah, that commit wasn't in for-mfd-next when I wrote up this patch yesterday. I think that the Fixes line in that patch is wrong as I didn't see this issue in 5.10 and reverting c753ea31781a fixes the build failure. Tyler > > -- > Lee Jones [李琼斯] > Senior Technical Lead - Developer Services > Linaro.org │ Open source software for Arm SoCs > Follow Linaro: Facebook | Twitter | Blog >