From nobody Fri Oct 10 17:25:09 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 E461B2DFA24; Fri, 13 Jun 2025 11:42:46 +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=1749814967; cv=none; b=P85aT+uKHWLkGxywclOruY8nd9EMdWBHrIRcLaJqxpGSm+SULiUGuB87jsEe6k12uIYJBrALv6bAQfQY0MrZZt4vgmU/+poBNw5Fes7F6dkHzov4/1Ff1FLLP7RvlDw58wPriXswmLekj+j5GSYqDuKBK1eslSsRPZXEahwEW54= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749814967; c=relaxed/simple; bh=5GdVV6A8bXN64ovkNLx7Xdx5aR1iPXnV/yeu24lgmqI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=snIrhZzsuHQf2lzFiQRgoHAwVku6sRoXJiu7ksNdBtK1wx7vqbPNmLKq+NXUOiq6NCwTK3dikg7pxbhh7dwfQfrcB5fikDqVI+k4wvIXdawmjwtV751ibKnN7Wn4V03IHIK5aAIrYi1jWmm23cH7E/ROwDI6NU/zU9tMzMbip8Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Hvfx1zoT; 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="Hvfx1zoT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80321C4CEE3; Fri, 13 Jun 2025 11:42:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749814966; bh=5GdVV6A8bXN64ovkNLx7Xdx5aR1iPXnV/yeu24lgmqI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hvfx1zoTJgVDH9YALvSqHtsWCTtE6WoZ5Vz4I2UMgK9303CSrv6NSP9hoSOrWBR9J z+FvtRAanvH/HLjm/ML10M4ttbt3WE4pMi5DFIwW7UVOBGigWs4WiOG9fU63ROANol jAraCh5pqQwgux9r3gQZV3IyVnFaw4JI61vzDx9ehZoBiGUSp4exVaes9BUSMa3JkT 8A7KTbGeeQWqpZ2EN024aHQinn1RxDMGYmZnKp9NGUTZ3XfcZlbJ6AT4e0ngHgJZIo 5s7GLcaymF1jel1+G1d5hoPeAPEc+uyUsPp4gxmtkqwlWyoOWb/1j8xAHz0/wiAlC3 3TqGIriThVcTA== Received: from mchehab by mail.kernel.org with local (Exim 4.98.2) (envelope-from ) id 1uQ2o0-00000005dEp-2MjJ; Fri, 13 Jun 2025 13:42:44 +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 v3 02/16] docs: netlink: netlink-raw.rst: use :ref: instead of :doc: Date: Fri, 13 Jun 2025 13:42:23 +0200 Message-ID: <4d46b08e43e37403afc09412692cb5eb295019b6.1749812870.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