From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 814D3284B26 for ; Wed, 28 Jan 2026 08:07:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769587638; cv=none; b=K2+qd2IQNLwNYJLPqmTRjJMCOiKmw7E9P5Vc30IKYEEwqqrj0+d63lB0IJOlwfH4SCRZYIyX8A0i/GEyWDV+lbaTwwhwGTC+eoLrOXqxJ5sUBpZdc6JXdBAUDN9YUmHldhgupDStClc3oGDFa1Z8ifN/+BR88nq6Mc3Y18Kg8jM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769587638; c=relaxed/simple; bh=Akv84JQFTqSg1HNmxKpEqhysp1MVEeTShgu/5PVNbOw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kwP+zcovcuSTFEWna35LF6gMiKZOYdtRgrEf9qydYkXp4uXatIoNAbNUX4cV9R6EJoIjdIKN45vLTaAWJSQ1DGO/kSPDGmJCqoXbx3MqQ2stYhW6sQm7PLcDub+YQf7BJ6muhnjCkEk4rLykrIb0i9Jnu83GELdEYet/wtBEnr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=nkkZYDjN; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="nkkZYDjN" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id B0276C211E1; Wed, 28 Jan 2026 08:07:15 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 307AF6071A; Wed, 28 Jan 2026 08:07:13 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id AE70A119A8695; Wed, 28 Jan 2026 09:07:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1769587632; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=viA9W+b9JKLDFwhgQlKxjiFrQnMXXL6+tuKc6Rapy/g=; b=nkkZYDjNLWqk0wScH2Rzx50RaJ5KNvuCSLXP1/ua1DY3lkUc6nMidTHfxp6c5tjal6n6p4 6puZ6cnE+SK2TyOj6+XP5Wc36ErCOvWiobBA8GRAEQH3PoQBXGIDeLSjdvi7Y//LxM6PG6 zIHldHXG4LSc5Wf0aWal0Ab4M+Jw1snO7vpnpPx8IXi9MtI3+148WvlUM6tZ/qk4X8Dv2g FV++eDBLXXgBe492hvMrTNhwkUFQfkpGXtKp/T2nfTQsHNLxaypAXw/sx2w6r1CL4hRf7g k/hyMjqivDGe7qYexzXIvNq5gKh/FYdyl/oQfSMW71x0/227KMwRmegmTFQ9yQ== Message-ID: Date: Wed, 28 Jan 2026 09:07:03 +0100 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 00/13] net: phy_port: SFP modules representation and phy_port listing To: Jakub Kicinski Cc: davem@davemloft.net, Andrew Lunn , Eric Dumazet , Paolo Abeni , Russell King , Heiner Kallweit , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Christophe Leroy , Herve Codina , Florian Fainelli , Vladimir Oltean , =?UTF-8?Q?K=C3=B6ry_Maincent?= , =?UTF-8?Q?Marek_Beh=C3=BAn?= , Oleksij Rempel , =?UTF-8?Q?Nicol=C3=B2_Veronese?= , Simon Horman , mwojtas@chromium.org, Romain Gantois , Daniel Golle , Dimitri Fedrau References: <20260127134202.8208-1-maxime.chevallier@bootlin.com> <20260127130745.5cc65868@kernel.org> From: Maxime Chevallier Content-Language: en-US In-Reply-To: <20260127130745.5cc65868@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Hi again, On 27/01/2026 22:07, Jakub Kicinski wrote: > Some config-related build unhappines here (kunit hits this): > > ../include/linux/phy_link_topology.h:110:1: error: return type defaults to ‘int’ [-Wimplicit-int] > 110 | phy_link_topo_get_port(struct net_device *dev, u32 port_id) > | ^~~~~~~~~~~~~~~~~~~~~~ > ../include/linux/phy_link_topology.h:110:1: warning: no previous prototype for ‘phy_link_topo_get_port’ [-Wmissing-prototypes] > In file included from ../include/uapi/linux/posix_types.h:5, > from ../include/uapi/linux/types.h:14, > from ../include/linux/types.h:6, > from ../include/linux/kasan-checks.h:5, > from ../include/asm-generic/rwonce.h:26, > from ./arch/x86/include/generated/asm/rwonce.h:1, > from ../include/linux/compiler.h:380, > from ../include/linux/build_bug.h:5, > from ../include/linux/bits.h:30, > from ../include/linux/bitops.h:6, > from ../include/linux/bitmap.h:8, > from ../include/linux/ethtool.h:16, > from ../include/uapi/linux/ethtool_netlink.h:12, > from ../include/linux/ethtool_netlink.h:6, > from ../net/ethtool/common.c:3: > ../include/linux/phy_link_topology.h: In function ‘phy_link_topo_get_port’: > ../include/linux/stddef.h:8:14: error: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Wint-conversion] > 8 | #define NULL ((void *)0) > | ^ > ../include/linux/phy_link_topology.h:112:16: note: in expansion of macro ‘NULL’ > 112 | return NULL; > | ^~~~ The kernel test bot also found it, and AI found stuff to fix I'll address that + AI review then :) Maxime