From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 592483101DD for ; Mon, 5 Jan 2026 21:37:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767649069; cv=none; b=mpnWVArkm2li+Ip1KzvTBMa2RJvDShhX3OgTvmZHwGpL2iblbLqHp6ho+WYqAZOUd6QGVgkcy19g4/mY66JhE1XGAiAca8T0wvWQftdGVpJfGnxicatw2sc8ixpIRZ4AIpIqYw9m/tAif07bmKrnZI95j4TxROSWgapxoIT6xyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767649069; c=relaxed/simple; bh=5p0sIy50n1r3V3HYFDfPF8gjbX8rGZsROgs5AwmRn+I=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=LhFIkuYrFThROinEJoFWR22xvrHnJoCy7hqzwKCQLE6MgCYgzMp7nDpXbaScuJXqfJsz5VJcesyVY0WTd9NzwzjRqSK5B4MVGlnPGih6plso0N56yrNg3ogy5Sdv3a9QFf9OF1AoWLn9zJEmILVzYA7y8+WuYu9kmYkOx8rIgmI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=markoturk.info; spf=pass smtp.mailfrom=markoturk.info; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=markoturk.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=markoturk.info Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-b8018eba13cso69227866b.1 for ; Mon, 05 Jan 2026 13:37:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767649066; x=1768253866; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CTD9LmkSSsC1Jd4T87qsHfQjMoBI0N5S+52DkRXb/UQ=; b=R7t/WnKMvE6N1qtYrzsRXtnpvosDDs0iObEXOhVle80dXuICMZYr3kuguZfYaRclFA 9Y1cSoYnJzmWtIl360TNnR6NMKDgmTB1FUIRXWYgq+HaxefVcuyvg5oaE2hMH+gY8es1 dlZy8ZCT/GDPeUEKbyrK9wK4PM1sOWdFQauxo22yACBsSChC+dVHWoSUgG//q4Ddd3dq N23uUul+Fo+TFsDVe6KEDETE3PABZtN/XBFrRcRJwUbogE1iDeo+EvlPiL1+50UjaXZ3 Klx/sHClxW5rS5aAObpvfKcA+hLn7Cx/4cpNbDesGJyo3IrK4GrrDLT97v3GTjDS5WfU eINg== X-Forwarded-Encrypted: i=1; AJvYcCU1qYX6kWrvCHHTYcukY9su+cn/vYwuH83iXr2IAQafi03jiANsZbAuvyHA4I+VIXcWafDuTFp6Th8KQBs=@vger.kernel.org X-Gm-Message-State: AOJu0YwPj5Qpe+OfDjsyQ6+yOXSrLsQGo0//qUG48k+rhzAyBbb72JmZ FfoKlCQwwGwGa7VZ3Jln2ZIkrIT44EQhe741JhRP+3zJjfN6vaIBbzorsNzdpTtDtF8= X-Gm-Gg: AY/fxX4q5cz/YEfTtSkjiiiHrVlDLQLnPoYd9Gv8emP1kkeWu+oXm+iJ089akKvW+OK 1zeeN2Wioj19hXOe1pl61nlnI0p1CD1HQcAhwuuJAp7vIifr7btXsOFqWX3g9r5uFyyVhvFNNRc 8RyZyPvSvAEtRj5CQqEeBxbGvUGH9R25dodsgFUsBE2uDJbDEKY2UfSIO95xHWXXFw86POMi4VF 80xx/3FbBW+TLplEFJN6TSufiOS67prgv/5tyHPN72bPJE9XTp1R5zpjmQZ6u9VkXJbMb7YTNTA Dj00Q6I/XGlcZjLiOmc+JZTLwHpW8oMpVjRiAnMLDInsLGfWwcQ2uOAZlJCUl0kSakNrwe5WUkD V62kW4rt+pVjP2AXflVpFmHsgYNsElpJQGAUPvRW1rS7mdS3rjZ7ExfEbpQFETXH2j+nW4LMHy8 +Cix+fW2lDaXDZNUEhY1sKMw== X-Google-Smtp-Source: AGHT+IHnjMXaedyKs5tXcCQlJHrztbXwb0K0kypHqcfqy0iQzQ81Ohfv+2XU9rwJA6GN7fm0XXCGUQ== X-Received: by 2002:a17:907:724e:b0:b76:7f64:77a5 with SMTP id a640c23a62f3a-b8426a6869dmr125033466b.20.1767649064977; Mon, 05 Jan 2026 13:37:44 -0800 (PST) Received: from vps.markoturk.info ([109.60.4.132]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b842a230db0sm35636866b.2.2026.01.05.13.37.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jan 2026 13:37:44 -0800 (PST) Date: Mon, 5 Jan 2026 22:37:42 +0100 From: Marko Turk To: dakr@kernel.org, dirk.behme@de.bosch.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, mt@markoturk.info Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, Marko Turk Subject: [PATCH v2 1/2] rust: io: remove square brackets from pci::Bar reference Message-ID: <20260105213726.73000-1-mt@markoturk.info> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: git-send-email 2.51.0 Remove square brackets since this section is not a part of doc-comment so the reference will not be converted to a link in the generated docs. Fixes: ce30d94e6855 ("rust: add `io::{Io, IoRaw}` base types") Suggested-by: Danilo Krummrich Signed-off-by: Marko Turk --- Changes since v1: - pci::Bar is re-exported so no need to change this to pci::io::Bar - instead removed the square brackets as suggested by Danilo Link to v1: https://lore.kernel.org/lkml/20260103143119.96095-1-mt@markoturk.info/ rust/kernel/io.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/kernel/io.rs b/rust/kernel/io.rs index 98e8b84e68d1..a97eb44a9a87 100644 --- a/rust/kernel/io.rs +++ b/rust/kernel/io.rs @@ -87,7 +87,7 @@ pub fn maxsize(&self) -> usize { /// }; /// use core::ops::Deref; /// -/// // See also [`pci::Bar`] for a real example. +/// // See also `pci::Bar` for a real example. /// struct IoMem(IoRaw); /// /// impl IoMem { -- 2.51.0