Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1702656pxb; Thu, 4 Nov 2021 07:04:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWXjMUoUcooXODUzu8GDaaoW35+nWIB/el6bxYgP+gn+FaBkf0XVCtVqTpkscoq051F2dC X-Received: by 2002:a19:8c4d:: with SMTP id i13mr887500lfj.254.1636034668306; Thu, 04 Nov 2021 07:04:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636034668; cv=none; d=google.com; s=arc-20160816; b=OBk4qEM1DVKvRDXRCQ/FJBkd267beDULGfwwyUTIiLt6njoc8YgOJLz9HoZWYgRRYM Ng6ZmHiz7T0TpUQFdYVWwAeqhSG6dN1UeYYHPGVvQEtIoXQLne4s12yw+EjoXEG8cuvh xmHl2JNWn9R8hKUqotGrrwFFyjqe2UGiAKECnkpi759yKwUO9nPObAEplLA4BykJFxg3 FJQJR4PPq3jRlExLqz6e+RQ9iCIn/QPiyPs0GXOIr0rFgG/hWHX26sFndi5+q5GLXz1K RzWjZEwL/izKeUGHdZ7gLaawS+zTbkfRUrEHpXyYyG3IG7EoZOyitL8ZneatMS5BA5uK vRhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=KJZSc1C/C2VIQ/P2PrKNaWRPpHJaj9Cr0StcpQfS/Zc=; b=IcTSzYr0A4rBhEFDnAOpoDRDptnB+UQU7wYCoPtucKeoWUaDxSz7MVHcf7o+FsU+Iu b7+6dbjvpwnX5NcIQZjz4f1rw7pkNjk2pgd14XHqS92A4aux2RR5KUKNxRN/VDnPRL6y cqD0dipan7zuizOwynqsrzXx65WBL++L+zuAY/fzFOdK1ROlU5eHx2wnyD5UJRhQI1Oj Ctm58OuOi5DNzveo+ar2XXz6LoB3F0FQSkpb8LjBVabIfdtshrpAhEPKWA9MHtFR36t+ c0V313QcLFO9+KATwRcqpUTrlzs3IB6T646K9POr73fblY6uLdsAi1vL0CP2Y1cnEbK+ e11Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=XElEUZHb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd31si9658783ejc.368.2021.11.04.07.03.42; Thu, 04 Nov 2021 07:04:28 -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=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=XElEUZHb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231166AbhKDODa (ORCPT + 99 others); Thu, 4 Nov 2021 10:03:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229869AbhKDOD3 (ORCPT ); Thu, 4 Nov 2021 10:03:29 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92EA7C061714 for ; Thu, 4 Nov 2021 07:00:51 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id b203so3510261iof.10 for ; Thu, 04 Nov 2021 07:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=KJZSc1C/C2VIQ/P2PrKNaWRPpHJaj9Cr0StcpQfS/Zc=; b=XElEUZHbKeNnKsbty0cOq3o5zuq3C1Zr3xTa7jBfKJXHuXydgKXgHxg4s+EORp6CNc 6l5VrFKJhqBfJ3ecnpeo/wYePf9tHAR238INSSW2mluqljIGYUBWhWgbBhgEiQdNR60q 3IOEu/90JXk7bk/ymjoEbZ3f4T/113XlYqGY3ohu6mCV8cmOhs+GlarHyOYMKCdhZkhn ueaNR3U7aPHBR808k59FcAvAxy9d/w5Sq6sicH5q87DkvG4ty9CjCrBY/KbQVPyR/46H RiON3Aeg7z4XkHb+LovYeNADiR4LUZPv/7toISTUakJ2bblwkmtTpfhOVp/5FJZnHqI2 foPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KJZSc1C/C2VIQ/P2PrKNaWRPpHJaj9Cr0StcpQfS/Zc=; b=BiYNViGrhCPlv+0d+Sc9CC949549shDuxBtjAX8LGMC3A8reJCtnsFH/atZuGC6pqY Y2VaoknO+5FiSA6QVYos63tJpEt7/uIven/7wPHxJ3afNkirr7kRFsH3qYSUpfuYdudU Lj44UUe6CmOM9Tc7I9oJjqjorMCW7UlY/X/glYdDeNylWdpBUUtRusbR7MUEjC9YkbZ6 AAz6g0eKw4ST6PGr2yaAk8k6GdT0zsreqipkPwkLDeapEJ85Sj4ChpnHZ57IqWQRj5t+ Mvp16dBgTeRcGjT160j4KdgtcH7I+9dWQk7lkqYyPyjfo0chFDUE2kg1YW9fOoeYz9+U GKYA== X-Gm-Message-State: AOAM533QneMmvHBphCvgvXs+HYN1D1iCbuqdINt2PVksmUuq5cP12E2h vWDxTW0Z0qwXfRlSFhE3gAjVSaLDJhx2KAXel5sp+/qaMKdp6g== X-Received: by 2002:a05:6602:140d:: with SMTP id t13mr35923239iov.176.1636034451030; Thu, 04 Nov 2021 07:00:51 -0700 (PDT) MIME-Version: 1.0 References: <20211103190426.1511507-1-tyhicks@linux.microsoft.com> <20211104135347.GD3600@sequoia> In-Reply-To: <20211104135347.GD3600@sequoia> From: Robert Marko Date: Thu, 4 Nov 2021 15:00:40 +0100 Message-ID: Subject: Re: [PATCH] mfd: simple-mfd-i2c: Fix linker error due to new mfd-core dependency To: Tyler Hicks Cc: Lee Jones , Alistair Francis , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 4, 2021 at 2:53 PM Tyler Hicks wr= ote: > > 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 registerin= g 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. Hi Tyler, I would agree with you on the fixes tag. I messed that one up, c753ea31781a is the correct one. Regards, Robert > > Tyler > > > > > -- > > Lee Jones [=E6=9D=8E=E7=90=BC=E6=96=AF] > > Senior Technical Lead - Developer Services > > Linaro.org =E2=94=82 Open source software for Arm SoCs > > Follow Linaro: Facebook | Twitter | Blog > > --=20 Robert Marko Staff Embedded Linux Engineer Sartura Ltd. Lendavska ulica 16a 10000 Zagreb, Croatia Email: robert.marko@sartura.hr Web: www.sartura.hr