Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1714447pxb; Thu, 4 Nov 2021 07:14:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlf9moJyCpH6nvVxGXMeEgXPArgwDEve8a3+sSQsfWF5TTWp0EHeH0IVYBmdz4qWu/d0O2 X-Received: by 2002:a17:906:1249:: with SMTP id u9mr59110588eja.96.1636035299243; Thu, 04 Nov 2021 07:14:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636035299; cv=none; d=google.com; s=arc-20160816; b=sahC8JAc9DaHyR2jDXTAJfYhwXYXGWq8vzeyvonvumfer4GiiJHJIp3qs+1qd88nj/ 9a+0R/R/LFUhlbSA+xvUOBoWu0rkXoL9uVcdCwvUpEMLLo39OHC1Y5m0jN0oEv3FRDVR RtCRDaqxvkZ0K0fKu1fYTqjLJCG6iP8OBkv7BQ+h4WmYfZk8ohwHe53cNmlPA/fXj7VZ gbATr6Wrp6YF5Vx9bGJ1fd0eoxm7++c02ffRQ7H+ZXeueB9io0D/eOYoD/hQO1yz6G27 jeMIaj9s6YNDCoHh2ExN0k3Be3ojwuQebI8hg20I38B3jX3SzocCjy3yJlkFnPdOdEYV fGyQ== 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=WfGZ6Qz+htweSPjbgLUofa5PuRPT9mWIYFiRCyWubS0=; b=Ksr+/rVRc+TIr3sUkqpxQsOQucIV9OC9SZsjb7hQX9/zmiZTM6mujTsEqhgb6MNuKt VN0jo0sea2ZxRBRzIT3t/XW1MG13W7eYaSkGqvx0hleKqj7OtDTjhdoKwW2ceFZnqbht LHrcCvOcn+rx8H7gRbCOS1Z7ENfZkVaKNYvi1eT5G0agXg8TvRHuQgb99SxERIRCtaOC SbNs9pxkgWU4IpcO+x6K5TdxeN1SeUkDQH5/aj8ScWVKNggtOUdaFQhiW1XzZHEbrBLp e9KvW9eRsYH08MwtfkTvpi5F3qi0G/mWC96QqnFN3CIkDunqWnAABfIUTbHB/jQmXWb2 oXTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=1UWhvE3c; 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 f18si7947403edf.234.2021.11.04.07.14.26; Thu, 04 Nov 2021 07:14:59 -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=1UWhvE3c; 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 S231215AbhKDOMa (ORCPT + 99 others); Thu, 4 Nov 2021 10:12:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbhKDOMa (ORCPT ); Thu, 4 Nov 2021 10:12:30 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50E86C061714 for ; Thu, 4 Nov 2021 07:09:52 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id v65so7027157ioe.5 for ; Thu, 04 Nov 2021 07:09:52 -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=WfGZ6Qz+htweSPjbgLUofa5PuRPT9mWIYFiRCyWubS0=; b=1UWhvE3cGXn87LwVe+imvMgFv10wN5WaywVZj86S5VTY3Zrx1EWKtZ/rzw8BuHfpQs fnOn+MpplEhW7ns/kXYI7FJQL+MKpYKIB0ArjiU/HlmWI5xm3HeT+Bn4PG3wBXO9aPxv yRbqEhPCwWFizGOo++Be+E/pEQ0MNJ8s+CnEz/SS8H90Y5pWS0EvKjPZ6oW0ns/RLSzv uoBl4da6rKoD/h1/rkVIT3o/wVhxBODMJVYHqpBJylcCMdDCbWlLAdyZKFzqMmm5kp4t 2gtMMFraZCpnF91cEVgFWy4GbxgJpDkj5m1+TiDK629eWMXNHBMdBdU2rOan+1gBnhhZ EFmA== 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=WfGZ6Qz+htweSPjbgLUofa5PuRPT9mWIYFiRCyWubS0=; b=PJGIEXgItGKJqmJ/3q4QDoz49zgBbAVWj20pPgGjYckdTZS9YpQ5i2YLR7E7N6DX4O 8WHK/R5GORg0Jji8ApM1BG1YYN4n7006RoyZQHAg7D9DaBsiADK0tB1W1wXVTW502XY3 flKq8ynulVVAzYmWZKlLAcR7R0rZtyOhfsgg0nujV/LumQFIoXLMDQPhONZxZ182EpNt wqSbTEa4hQJ43yTMO4Bg+UyAVXU79+YKp+1SGL/Z3f+BnnIUMqjzp93tFDm3lChUwjZH AchY0IQ5ch3pqwwljmDi22CPwAKP2Fd+04YZuIIuIExZsQPjoRoODUh9isa+HJNzM5So Wajw== X-Gm-Message-State: AOAM530m2JSlN4JhV/AV22y04HjB5N/Mm2GJX5zi3Tx4ddo9vGY1jz2+ bqzUaxwZn04CoFEvz0sOkpMe8Cnvj+mi10wPsieT0A== X-Received: by 2002:a02:741b:: with SMTP id o27mr4144948jac.84.1636034991726; Thu, 04 Nov 2021 07:09:51 -0700 (PDT) MIME-Version: 1.0 References: <20211103190426.1511507-1-tyhicks@linux.microsoft.com> <20211104135347.GD3600@sequoia> In-Reply-To: From: Robert Marko Date: Thu, 4 Nov 2021 15:09:41 +0100 Message-ID: Subject: Re: [PATCH] mfd: simple-mfd-i2c: Fix linker error due to new mfd-core dependency To: Lee Jones Cc: Tyler Hicks , 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 3:09 PM Lee Jones wrote: > > On Thu, 04 Nov 2021, Robert Marko wrote: > > > On Thu, Nov 4, 2021 at 2:53 PM Tyler Hicks wrote: > > > > > > 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 followi= ng > > > > > linker error: > > > > > > > > > > ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_pr= obe': > > > > > 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 regist= ering 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 th= is > > > 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. > > All good. I fixed it for you. Thanks, sorry for the mess up. Regards, Robert > > -- > 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