Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3772144rdb; Sun, 10 Dec 2023 21:51:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEW/VKjuq97x4/zYFMQ7PXU0GBZtmJBhS5xVtUqQLNJXWST1U+Hh4cp9UOaxlOqW5AGF+st X-Received: by 2002:a05:6a00:2d13:b0:6ce:270f:2eba with SMTP id fa19-20020a056a002d1300b006ce270f2ebamr1639425pfb.34.1702273877561; Sun, 10 Dec 2023 21:51:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702273877; cv=none; d=google.com; s=arc-20160816; b=mnGl00Fquj6wMeu8qw5N3+xs0a4QBJV4Ds6v6x9tyypn8BWh1YSJrqChRSW4+KlDtq aRo0QSnfHBbGK6rLeaSbXS0esICm55FP0unPY8YNXswR6kUtemNgmVPBj2jTWMfyIMcV ZhZErJkMmWx6bMeYPi7gEmsyDztnx6EeTcdcyS62poZ4NrwqUd3XEXqZlk/RmYIN6TVt /1wdIoCdzmnnsdSWx+3OCxAhXEmKdDHbZtNEmVo90ZlcnHLJAZBUXkLFYPRchT8Ju+C4 6NRerLBmIhN+cCGxbzjWKTCNzGvf3PL2bgApIxjxBdb0Er9rrNPnviTRyhlh1Ky2MC7K jYlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=5ownzIkARz43eQTloQkKelbMKKK9J+c14Q+Xkg/VpWU=; fh=qegMGk4wMJ232KPyChyHpCnoDW8x8z/A6PZiKlCDdS4=; b=CPPjJlmCGqhFqDVu55RcpSJIyl7G343mgmeRFLO9aK5E9S7yzJ+g4c8hvBKwb6BFXG xQ/Jp5Awj3mXsqgNc8ZTggYxAblP6IrKg6b9dOTJgD9CoFl0X8rqH4yVjMoCx5Uyv/Xn Wi9Tu2pkBltf9Xn5Lnj1fdu8uiPSvKaI6IuHE00qIYaNFBUApIOlVIfsXACbl7dS6RSi 8C9bxyxj617Hz1eZTbZsZwsY/Tl4r+3fjoz+DnSruPCWnjWmOHxwGgL26yHeTbycfTql ro+qryFXsYkwPY5yhGqSRK4RJfT7n+6Qfr5SuGyxYDJuAoidmnoXHv1tEpzMiXfwRQSm DJPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=g1QYRRL0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id m184-20020a6326c1000000b0056952b496efsi5623880pgm.366.2023.12.10.21.51.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 21:51:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=g1QYRRL0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8F0E08051608; Sun, 10 Dec 2023 21:50:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233555AbjLKFua (ORCPT + 99 others); Mon, 11 Dec 2023 00:50:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233420AbjLKFuB (ORCPT ); Mon, 11 Dec 2023 00:50:01 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26804213E; Sun, 10 Dec 2023 21:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1702273758; bh=5ownzIkARz43eQTloQkKelbMKKK9J+c14Q+Xkg/VpWU=; h=Date:From:To:Cc:Subject:From; b=g1QYRRL0JgzIR/pbzVUeOs0X3Oy8te73acyAmxtMQiUrZtQLpDlFBSkvl0pC0K/uz h/a0AVTGZwQ+RTMd4lFEHpyxrOU3dPIlCgTfIQYP5tZNLNc+bwjmAvYP3QDJG6UorT h5XnUabVn0trae5u3qQpq+3E6IcBF0799Z+ZZAOnUory6qqS79ZMOtjGMTRRuN6gUl JPF8tCcCh+2DycfYsxYbqFoV4zZMMo9MtPmacJ/rUXK7eeLwDg4ZpiMnUl7f/xOF3k 9vAyQGYJx0WGLKgWfJNHEIp0AZ+pS/4K+I4NA/bGu5X5GjB6ir/cbuywybHKnhBxbE fQu2W1xABUpFg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SpW5p1Rx6z4xGR; Mon, 11 Dec 2023 16:49:18 +1100 (AEDT) Date: Mon, 11 Dec 2023 16:49:16 +1100 From: Stephen Rothwell To: Srinivas Kandagatla Cc: Miquel Raynal , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the nvmem tree Message-ID: <20231211164916.6f0d2357@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/nYikG/bmL+ZRJ2lLCNwpPJo"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 10 Dec 2023 21:50:50 -0800 (PST) --Sig_/nYikG/bmL+ZRJ2lLCNwpPJo Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the nvmem tree, today's linux-next build (i386 defconfig) failed like this: /home/sfr/next/next/drivers/nvmem/core.c: In function 'nvmem_cell_put': /home/sfr/next/next/drivers/nvmem/core.c:1603:9: error: implicit declaratio= n of function 'nvmem_layout_module_put' [-Werror=3Dimplicit-function-declar= ation] 1603 | nvmem_layout_module_put(nvmem); | ^~~~~~~~~~~~~~~~~~~~~~~ Caused by commit ed7778e43271 ("nvmem: core: Rework layouts to become regular devices") I have applied the following patch for today. From: Stephen Rothwell Date: Mon, 11 Dec 2023 16:34:34 +1100 Subject: [PATCH] fix up for "nvmem: core: Rework layouts to become regular = devices" Signed-off-by: Stephen Rothwell --- drivers/nvmem/core.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 9fc452e8ada8..784b61eb4d8e 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -1491,6 +1491,11 @@ struct nvmem_cell *of_nvmem_cell_get(struct device_n= ode *np, const char *id) return cell; } EXPORT_SYMBOL_GPL(of_nvmem_cell_get); + +#else /* IS_ENABLED(CONFIG_OF) */ + +static inline void nvmem_layout_module_put(struct nvmem_device *nvmem) { } + #endif =20 /** --=20 2.40.1 --=20 Cheers, Stephen Rothwell --Sig_/nYikG/bmL+ZRJ2lLCNwpPJo Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmV2otwACgkQAVBC80lX 0GxrhQgAmGlntDh8OyosiXZ5XBpZQRAHQPVjinRKuBEa0QMBqP/ozsVEmRp3VM11 THPuzzrsaFfFaSyXrHwwI44XDPTbdTZ1X833tsWM5GOtV33pgLq7LLJ5m60Xb8DI qNbKR30addnNolHnI9eipaeZSjlKxXwWC7Wg4g2xyMBljtfKERK349Qj85mCnicf iLyaM4woBrLBYHBo4ZsWb/h5ykE1DRI40KPuJM9JVNnOiC0vFYRyl7xBsUtfX88I WkZ77SQ6iOM8zcV/gWwGZj2FaCBqZD0BMmhunu1E0W1bUsn/2Z2YXJH8bZ1NfLqy H/Cd06ddyZK4KcaPcgCl0gZs2xeIoA== =4mza -----END PGP SIGNATURE----- --Sig_/nYikG/bmL+ZRJ2lLCNwpPJo--