From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 2D884369217; Thu, 11 Jun 2026 07:39:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781163585; cv=none; b=g0MBpYnRBQOAuGMxvDr0yoXiGqDVA9yx6AyMy1WPio3RwOh82AvU3pNY81X4lrw9k7WhnG1LyUJaBKjHpbmnLVLs8WQKsrC+DKZuBxaz33SYz4EEJE7ByNDyhWMKAezLFg+iFlXIAVVkfgYTHbMlt5X9uLlarX1ZMHG30OR1sUw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781163585; c=relaxed/simple; bh=90BBj+30RkBnC5enEeGREaru5H8IbzHzWWrxHYg7QFw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=D16cFiR1jthoDrHNoRIdS4v8S1Zq6xUYb7dBSNcPM0CDdq8B7gdzV+o8APezyGvfdNOXtFptXJoucjvvyPgnhvnBpl9uR4aIrQgZ9hpWQBeXXrymaRW0kwWuuSUCCVBOneehtEhRWhF6PyXX5lVs5r2IiKvOY56HEI8t11Qxpjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=lX1Je+dO; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=HbzqTIyX; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="lX1Je+dO"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HbzqTIyX" From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1781163582; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=90BBj+30RkBnC5enEeGREaru5H8IbzHzWWrxHYg7QFw=; b=lX1Je+dOYFG7la7cuX6b9dWIsBMcJ2h+QDYMdiNT37l6cvOTYfw7RZy+9OogqjUVE7yq3r Rc5n5ZkJ2cAnJgUrTpEsZMpyToMAM0DRQHTWdPiBE9pPePaEa6nsSkmtCXa4Cc2HiSdrX7 aC232/pvC2XuRgKFH95Ytcwj4ML8OYOWJbDrmR31N9BSLMvQQwP/+C686Zh6UR8gqb/dDq U3ilhEBQsP9BtE2X7CdQMOfjl0oKNE7vyJ264ftX6U6oC15IhxdPHJwLOe1SkzaU1qXLfa WdYbH6E5jSJuQMO+EJEP1tOs8UbR8rSIxRX0DEx2z6ewFWpCVU5cBi1VA7B7Eg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1781163582; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=90BBj+30RkBnC5enEeGREaru5H8IbzHzWWrxHYg7QFw=; b=HbzqTIyXPqZlgoo54Q8cK6+5x2jLlpDSvXgaOz1kfQtdxE1KaA/jgnuUfewCwR8C8XNNgR VZ35sCZquEmXvICQ== To: David Yang , netdev@vger.kernel.org Cc: David Yang , Florian Fainelli , Jonas Gorski , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jiri Pirko , Simon Horman , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 3/5] net: dsa: hellcreek: avoid devlink resource IDs collision with PARENT_TOP In-Reply-To: <20260611070856.889700-4-mmyangfl@gmail.com> References: <20260611070856.889700-1-mmyangfl@gmail.com> <20260611070856.889700-4-mmyangfl@gmail.com> Date: Thu, 11 Jun 2026 09:39:39 +0200 Message-ID: <87se6t4jb8.fsf@kurt.kurt.home> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain On Thu Jun 11 2026, David Yang wrote: > This might not cause real problems, but the hellcreek devlink resource > ID collides with the sentinel DEVLINK_RESOURCE_ID_PARENT_TOP (0). Avoid > it by keeping the real resource IDs starting at 1. > > Signed-off-by: David Yang Acked-by: Kurt Kanzenbach --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEvLm/ssjDfdPf21mSwZPR8qpGc4IFAmoqZjwTHGt1cnRAbGlu dXRyb25peC5kZQAKCRDBk9HyqkZzghM5EACsrIP64HE7TceOpFHtej93JnJS4rcZ cev8tr1CcY+Ak9vtfPBsZ1E5l3rxGxitC2jp8iKt1FYhaUATLGhNxwFVrh1ce06E whxcKpmyHgdsbEZ8vMNkqH7Hsowxqef/GRqEopKu8NIppeD91XKWnzYEfL3DBeWT JMq6WUw3/ifIatqhQAW6SV3jlUSI0hWw4RZjU4Y6H5Es/dv+7SeZ94W25egsfnuU 5TLrJiGvCr34oHRPY/JZiSHanc7o5R1iGjLXYOZvjZnVl3d6wh7L6SUyMY5Al0oq pJFAkFqwj+v5CvzTI+M+7uRluAx7xycxLTHiDnVEQa9pXUhfOmvVFkhQ03YvzrHr PoG5ewPUJJn9b/8OBvLidoyhmbhIBMp9RpdTunoTM1c+LWa7gd9MTwIwlDz4wTK3 Wrvh+wtqhxSfRZRF/AluW+sutQCmtBI3wn4wcugsZzusa7jxIlr3RF72EDOcm4Q3 N5N1humt4rwyawOTW3MT6FINfeEUWZb45u7czsTu8em0naAmkmLePpkfAIiCVSpA dFNbYy1WNgKlTJgYTHExmziRdrHnl0PM9cxywEk+vDrTVZosKAQgy1iRIZegaQZf F7K+kGk2xW3oesVfRZRVUQwtOAXHV2jJ/+0JwkYjs0hKc/GFy7COKiRC34VmeA9a VT6K1NzCmdj65Q== =TcEy -----END PGP SIGNATURE----- --=-=-=--