Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1714279pxb; Thu, 4 Nov 2021 07:14:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8SDpdpDqjelwC2iGLK0wfpM8drcA7yTQmrkuzBvMkQTQZ/jjSuPnwCHwPBe594RzYNDJd X-Received: by 2002:a2e:b6d3:: with SMTP id m19mr18549152ljo.297.1636035289992; Thu, 04 Nov 2021 07:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636035289; cv=none; d=google.com; s=arc-20160816; b=VynO8Zb5mPjYr4BntcFsSPktyTxZqpYaqrAgckZPQ3UkTjR5pSm4VsjzYPZ05Mccpg ce2tmP3ON4sgcrr41NAUfFfnwhEXLSTxUzDbF+06QB8auAsHuXraXYpVDki1zsB4Jl1C u++BfRwnhQJGDAJkILwNHaO3qS/u2mu1DjXoyS4tSMlYZhNebKuUJ+GUJTMqIC3qEvK0 VIK8O1zDZjZZxhymE1htHo3YWEHYRhQIuZ5LM5aXlL6kz2lnHzWwGUjECa2mQGu56wcX KJGrWEK83RSUPwM6SW+bP7jhpZGsf+kjWHRkAXOdD7RzrSGKUTFTm/BU7eJkIyus8w+g HWAg== 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; bh=dtZoDNcRK9WnLb2NTNZZwLf7tfdr2NWuYkwNvRK2mbo=; b=zE9Q2e98WTMIA4+MqhSLnWwA61TdtcK9edH8YCaP3cSf0ijK/9DC5wy0wNnUjeDn2a TFvIZGSLPOlTf9CGm6Mg9fZiyMWibpm9K3Vt05M9Gvg7tuxaOhmqF9xxJJ/ozkkj7u2K pMTSczDtAzjtPXpzq1vko3ePAZprqaGhz51SMaOOwyesGxMXQ/040c+UGswjqGCRvtnf u93QyZYRp6utMCqFOHnx9v9YR/c0Fbj4CI4KTBbVgUvMlBnmmK9xh/7/k9Vng15N/kLT yc6BtVuy85PcMtp2iobjGDwOnfAWcoYSZ+6gef6ahpZwKLtRdYSp4VOSMurQ7B7BPvQX rTbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RdSKhyiB; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id js16si3576366ejc.439.2021.11.04.07.14.03; Thu, 04 Nov 2021 07:14:49 -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=@linaro.org header.s=google header.b=RdSKhyiB; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231166AbhKDOLm (ORCPT + 99 others); Thu, 4 Nov 2021 10:11:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbhKDOLl (ORCPT ); Thu, 4 Nov 2021 10:11:41 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6FE8C061714 for ; Thu, 4 Nov 2021 07:09:02 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id g191-20020a1c9dc8000000b0032fbf912885so4372084wme.4 for ; Thu, 04 Nov 2021 07:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=dtZoDNcRK9WnLb2NTNZZwLf7tfdr2NWuYkwNvRK2mbo=; b=RdSKhyiBBBduAUZ+6urJp2cqptTXf/SNHkGb7rWujq5gvI327BdIrSisVOZhuTH82X L4pku0LB+dKMt8Wwy2SQrxOXS+5aK5oKDuiKTdx7YTpSQ79QJgR5PPohtR/BISPQckuo q6HoxY+HEHDsFElt7FSI1yLoUVnLd0cv3YqWgvyJEhgj4Je7F0kR5RgjWBZt6jbcxEfU QnXOl2M3JfT3ahUPKkkgzZtfsDUEh8cF8ESZ36qMBEzxxUGan1B5F5/z7drJI+UK/z4o DVAAT67iTX5oGy8lmcmXpPUqFrJUN4xcz53WIXhspDwcB1mwcsv+dZ0AIGDbZHAag10d MZNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=dtZoDNcRK9WnLb2NTNZZwLf7tfdr2NWuYkwNvRK2mbo=; b=x7b7z+wNiwDRQ8P8/7czmG3NLzcxN4ZxHi2VUnoTMl9qUIyaLfdv3Pvn6hKxWFVBDa Mvm+yH5RFZISrB7MEOU2vYaK+t1ljLWyZAKic5xjKe3pUK+1sV4cjTzmkUzLBwlDmqHS 302aDV3q3eJjdUhR3m/wp7F97x4kJXn2mfaYudGGjeJoiezt7zC6L03gvBmwD4xHKEvp OVRjlMTZQDebJ/ep3L63inkWNaMy2Avr6eOgjuP+d2S9g9EDEM8+6pYt08YybC0Fm6Le FKhtek668kN+EH9warZm5IBjQgGFC5WXRZWBAe0M3mTTMdSpE0J813+xFq1BFO+/Pb+e Hr3g== X-Gm-Message-State: AOAM530eabEe92kJYYc1WdSSh9ODLUZydUxBVbOivVTWu6e8aisrKUTn JTxS7CWB8zmb3pfirgfpSClv577bg2F3uQ== X-Received: by 2002:a05:600c:2149:: with SMTP id v9mr23762986wml.59.1636034941399; Thu, 04 Nov 2021 07:09:01 -0700 (PDT) Received: from google.com ([95.148.6.174]) by smtp.gmail.com with ESMTPSA id n32sm4953465wms.42.2021.11.04.07.09.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 07:09:00 -0700 (PDT) Date: Thu, 4 Nov 2021 14:08:59 +0000 From: Lee Jones To: Robert Marko Cc: Tyler Hicks , Alistair Francis , Linux Kernel Mailing List Subject: Re: [PATCH] mfd: simple-mfd-i2c: Fix linker error due to new mfd-core dependency Message-ID: References: <20211103190426.1511507-1-tyhicks@linux.microsoft.com> <20211104135347.GD3600@sequoia> 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 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 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. > > 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. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog