Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5732638iob; Tue, 10 May 2022 02:18:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUEs1DIm765Dw6kQrEjusMNsMUGqCGaBqSfyLZoM9s7L3wwkgz5AEw4qcA7h9J/1GTOofy X-Received: by 2002:a17:907:6089:b0:6f8:5933:7062 with SMTP id ht9-20020a170907608900b006f859337062mr14276119ejc.169.1652174317707; Tue, 10 May 2022 02:18:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652174317; cv=none; d=google.com; s=arc-20160816; b=XCu1eLFfx7fPIEYYZHPG2wzP0yXUJaeQvm3yhj4UhvFOloZB+M2RVGtC1JATnkG7Uj k41Ej3KvHk+CQiyhjDc0//niQ/JGZ0U9mEkW9NJm9CdC5910A0YnrT1BFcZqCIMPcmUH v/C/fjv2tOYur/igZ/6wQpb7yE6SnBYgQMavTU+uY7LRIsy8jzh7A1mON2xYVt0aNezX LG892haX+/7QwJOFdDGo+BzLcAhGWudgei2/x0vxeuXXcwHXsrNdLyy5AgXSXGCwwLQ8 f51LUMKkX752oV3io7c9VTU7Nj4DUyRe1t2IL36b3AAG+ovAMJEDRIQ3TZ0gs3Dyht3h gKrQ== 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=A1G4GSy0V0Cm3Vv6oTLpnNeT8n3BdkJrtvfBTJhZVvU=; b=kYknjN4FgX3lo/FSZUwenVx5N5IVOxEz6aAv18I+qybeNccipvlSFffRER7+UVWHjN 9xRKSSps45xacIeO23MgYk7aaG7JBooT9Euica4pt/IKhhKw8HntDBbFVNFA8DVgqTut f/KjwNOXeV1thJ4qJ1bKGHSA9P6dVZxQur5GdcJzzGVACMxETkg4pO+IwTZLcPChinUi lkXQDUtKYZxuM9Dj5o3ujoC1QRu/04KYUpMEC+/vgTVHyHSdg+ucR+d6yysJ0gg9Pzh7 SKOT1f9o30vq3EPqZ2U7iYfmIJXNmLsvkBHZ3DJxlOh60qxbUmsOLCy6oPHNVxrqEeUz gwXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=THo5jTMk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb16-20020a0564020b7000b00427c1244536si14594237edb.596.2022.05.10.02.18.14; Tue, 10 May 2022 02:18:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=THo5jTMk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235139AbiEJDKI (ORCPT + 99 others); Mon, 9 May 2022 23:10:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233370AbiEJDKF (ORCPT ); Mon, 9 May 2022 23:10:05 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9B17517DF; Mon, 9 May 2022 20:06:04 -0700 (PDT) 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 ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Ky2x30FVWz4xTX; Tue, 10 May 2022 13:05:58 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1652151959; bh=A1G4GSy0V0Cm3Vv6oTLpnNeT8n3BdkJrtvfBTJhZVvU=; h=Date:From:To:Cc:Subject:From; b=THo5jTMknwC2YJqQqOtZXL6T+1rf9QmtFPiTct8ZZdpI59+drAPL5AorOp1LKHLKy JnTQQKPIL7T6q3Ap24FUh8usOomM6WP7qtNiJk2YLApnZmPleKCEv5S4cNpYlBCp2U tkPMBb+4M5cYCoRcQ2lhZ0oNU1xRhNAJQfKmc+klawbxmUE1SoFDnhr4q9ucFZxoyM RdCO5zh7Dr+Bu6WKY9AqA9izlwwqffAaSRam2/UUJP2RDZgOOB8UkhkViIGR5p7K+J P6p7S+Haym1wXfki77fv0f2NE3pXDUOGo8xC72coNmKSpFJT5EQxya7N+ib0bbQ+zm 1uJIOQrYCGAVg== Date: Tue, 10 May 2022 13:05:56 +1000 From: Stephen Rothwell To: David Miller , Networking Cc: Taehee Yoo , Martin Habets , Paolo Abeni , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the net-next tree Message-ID: <20220510130556.52598fe2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/S5P4vjS+eFW2D4is1FV5ZOw"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/S5P4vjS+eFW2D4is1FV5ZOw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ethernet/sfc/ptp.c:2191:35: error: 'efx_copy_channel' undeclare= d here (not in a function); did you mean 'efx_ptp_channel'? 2191 | .copy =3D efx_copy_channel, | ^~~~~~~~~~~~~~~~ | efx_ptp_channel Caused by commit 54fccfdd7c66 ("sfc: efx_default_channel_type APIs can be static") interacting with commit 49e6123c65da ("net: sfc: fix memory leak due to ptp channel") from the net tree. I have added the following merge fix patch. From: Stephen Rothwell Date: Tue, 10 May 2022 12:56:18 +1000 Subject: [PATCH] fix up for "net: sfc: fix memory leak due to ptp channel" This is a partial revert of 54fccfdd7c66 ("sfc: efx_default_channel_type APIs can be static") Signed-off-by: Stephen Rothwell --- drivers/net/ethernet/sfc/efx_channels.c | 1 - drivers/net/ethernet/sfc/efx_channels.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/sfc/efx_channels.c b/drivers/net/ethernet= /sfc/efx_channels.c index ec913f62790b..79df636d6df8 100644 --- a/drivers/net/ethernet/sfc/efx_channels.c +++ b/drivers/net/ethernet/sfc/efx_channels.c @@ -598,7 +598,6 @@ void efx_fini_channels(struct efx_nic *efx) /* Allocate and initialise a channel structure, copying parameters * (but not resources) from an old channel structure. */ -static struct efx_channel *efx_copy_channel(const struct efx_channel *old_channel) { struct efx_rx_queue *rx_queue; diff --git a/drivers/net/ethernet/sfc/efx_channels.h b/drivers/net/ethernet= /sfc/efx_channels.h index 64abb99a56b8..46b702648721 100644 --- a/drivers/net/ethernet/sfc/efx_channels.h +++ b/drivers/net/ethernet/sfc/efx_channels.h @@ -39,6 +39,7 @@ int efx_set_channels(struct efx_nic *efx); void efx_remove_channel(struct efx_channel *channel); void efx_remove_channels(struct efx_nic *efx); void efx_fini_channels(struct efx_nic *efx); +struct efx_channel *efx_copy_channel(const struct efx_channel *old_channel= ); void efx_start_channels(struct efx_nic *efx); void efx_stop_channels(struct efx_nic *efx); =20 --=20 2.35.1 --=20 Cheers, Stephen Rothwell --Sig_/S5P4vjS+eFW2D4is1FV5ZOw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmJ51pUACgkQAVBC80lX 0GzvHwf9EXy4w+uGpo0tk+2WihFJ/UZdyu+oOvJ7oTwzstQeXxhGeVKmVEy4PQHB ZH8eGfJkOB7STfEWjndNAKeTBJcd6zuOVNZIj9Wtyylrh4CbI8YZS4tqxLvwVbFp UvtZAbxTIzbjq7BQls/I4Xa3O5XB4XMj3KZE2W+ZSm3XYAVlhJkQwnylbReg8PeK 6InMQkZ4mHjkn2AerjPUkAHMn8uC1vNNJcU/9ctl2NVhaaGk19z5P1RqXJATpO70 dysS0c2OeWuDpL876/FO1fqVnEgc2wCqV/vgHsxkeCUXvQq87aCR8IyPCWlYfG0P Y9ufcIfmk5IMIe1PezKD6N1O+AQZvA== =7VI9 -----END PGP SIGNATURE----- --Sig_/S5P4vjS+eFW2D4is1FV5ZOw--