From nobody Fri Oct 10 14:02:03 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7DE0928DF02; Tue, 17 Jun 2025 08:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750147352; cv=none; b=OA7EFKI01QLNxMXYdk8xGqxf3p51JkMNZShHTrvywkVm9ZYsgEc6IxIExZgKuJug7oQPsl44e85FnxWjUBYeTAxu23xxCv0VG0s/MR+MjvfLlCru6oVF8to6/pppv5dD7Hm+eIPbM/aF1o/w/YxyzvqvajijJ6TzcDCi+Y6ZcBY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750147352; c=relaxed/simple; bh=5GdVV6A8bXN64ovkNLx7Xdx5aR1iPXnV/yeu24lgmqI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hSeJsa+vdNL5MIeuUAZ8N5QbOHhl1gAnnzu/7fHw8GqqF43UV/mnksjfu2jZ0nDrt72i9Jh834cSA/Kj0Y2mZC6/luxyue/VbSs4P2EJ6fguaxb2H401cApnjFtlMza9NCoMFik6e+jFJsdflYf3tsd6EwwrhZU7WfEAnHPHdQY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uOMOPn+m; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uOMOPn+m" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1AEFC4CEF4; Tue, 17 Jun 2025 08:02:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750147352; bh=5GdVV6A8bXN64ovkNLx7Xdx5aR1iPXnV/yeu24lgmqI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uOMOPn+m1yfIhvgONplR1Usc4iysrHrJZYnc/Q0rROBjUYdNggtuelIGRJwH9B3d/ 1INd1hXWAJAmucd2fKQ5FiqAhOQJmj18KP4/lO8b3nLgPYY9WST80I7CTFmLD3KSU4 MsE5gG6gg/62uvuI2hf5kcJS0UwwRIpV8EtYW2kZBnOCF16ffTZT+Z0pTfu77qQL5C qN5Wj856IIonXqPWr6l/m8YKzrBYibIF3wodC79JH+nF6cOog21p7dp1j9dEGZKk70 0+T2hSj7Qri0N+ShAb9TopsCDoZqahWNM0EnalAamHpfP117o6unK8xos/K9AulRkh QSvXLVKscyzGA== Received: from mchehab by mail.kernel.org with local (Exim 4.98.2) (envelope-from ) id 1uRRH3-00000001vd2-469f; Tue, 17 Jun 2025 10:02:29 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , "Akira Yokosawa" , "Breno Leitao" , "David S. Miller" , "Donald Hunter" , "Eric Dumazet" , "Ignacio Encinas Rubio" , "Jan Stancek" , "Marco Elver" , "Mauro Carvalho Chehab" , "Paolo Abeni" , "Ruben Wauters" , "Shuah Khan" , Jakub Kicinski , Simon Horman , joel@joelfernandes.org, linux-kernel-mentees@lists.linux.dev, linux-kernel@vger.kernel.org, lkmm@lists.linux.dev, netdev@vger.kernel.org, peterz@infradead.org, stern@rowland.harvard.edu Subject: [PATCH v5 04/15] docs: netlink: netlink-raw.rst: use :ref: instead of :doc: Date: Tue, 17 Jun 2025 10:02:01 +0200 Message-ID: <2ad71c748e2f6dc3095b6ce67ec4d43f0fcc038c.1750146719.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: Mauro Carvalho Chehab Content-Type: text/plain; charset="utf-8" Having :doc: references with relative paths doesn't always work, as it may have troubles when O=3D is used. So, replace them by Sphinx cross-reference tag that are now created by ynl_gen_rst.py. Signed-off-by: Mauro Carvalho Chehab --- Documentation/userspace-api/netlink/netlink-raw.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/userspace-api/netlink/netlink-raw.rst b/Document= ation/userspace-api/netlink/netlink-raw.rst index 31fc91020eb3..aae296c170c5 100644 --- a/Documentation/userspace-api/netlink/netlink-raw.rst +++ b/Documentation/userspace-api/netlink/netlink-raw.rst @@ -62,8 +62,8 @@ Sub-messages ------------ =20 Several raw netlink families such as -:doc:`rt-link<../../networking/netlink_spec/rt-link>` and -:doc:`tc<../../networking/netlink_spec/tc>` use attribute nesting as an +:ref:`rt-link` and +:ref:`tc` use attribute nesting as an abstraction to carry module specific information. =20 Conceptually it looks as follows:: @@ -162,7 +162,7 @@ then this is an error. Nested struct definitions ------------------------- =20 -Many raw netlink families such as :doc:`tc<../../networking/netlink_spec/t= c>` +Many raw netlink families such as :ref:`tc` make use of nested struct definitions. The ``netlink-raw`` schema makes it possible to embed a struct within a struct definition using the ``struct`` property. For example, the following struct definition embeds the --=20 2.49.0