From nobody Fri Dec 19 15:56:40 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EEF5C0015E for ; Thu, 3 Aug 2023 09:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235178AbjHCJga (ORCPT ); Thu, 3 Aug 2023 05:36:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235152AbjHCJfw (ORCPT ); Thu, 3 Aug 2023 05:35:52 -0400 Received: from keen-gwydion.relay-egress.a.mail.umich.edu (relay-egress-host.us-east-2.a.mail.umich.edu [18.217.159.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FA6A3595; Thu, 3 Aug 2023 02:35:37 -0700 (PDT) Received: from malleable-ellyllon.authn-relay.a.mail.umich.edu (ip-10-0-72-197.us-east-2.compute.internal [10.0.72.197]) by keen-gwydion.relay-egress.a.mail.umich.edu with ESMTPS id 64CB74E7.34E6EDA0.5CA2EDAA.70552; Thu, 03 Aug 2023 05:35:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1691055335; bh=elT4B5g6oxJl47kw6yls2EuBwoQcgDU3XUgEiz68IfU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=rOdabUCn6SgmcP257XywA71g1ugfTC+DQoJrsG4iVRfShYYngVvnvYEApMY36Gk1f ol3DhC8Wa6Cit3NISbyZ7YdGk1pdVgEPie3XCRLNOF5BjytEa4PVvm7Ts9jtikYsb/ p4H/5nt/BFcbhzJfxJOQOtHwPixE+M7V/5Valj19TijJ+YJf1Z4EkxTpjGESdpNmgM d9ZtZVCFT8ejRbK4voyTPu+ZC4pCCwt96KwEq2165O3uJ//O0kNedgabZoeDpcWSwO qErrmI+xKSF/DMCY4d4mebYdhgA2/Jc8c39ZZlI/5k349pAg+Xhi0zSTNEN0yVgmfQ L5zkNnwt6evHA== Authentication-Results: malleable-ellyllon.authn-relay.a.mail.umich.edu; iprev=permerror policy.iprev=68.32.216.219 (unknown); auth=pass smtp.auth=tmgross Received: from localhost.localdomain (unknown [68.32.216.219]) by malleable-ellyllon.authn-relay.a.mail.umich.edu with ESMTPSA id 64CB74E6.280818CF.72FCE152.1340056; Thu, 03 Aug 2023 05:35:34 -0400 From: Trevor Gross To: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho Cc: Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Trevor Gross Subject: [RFC PATCH 2/2] rust: bindings: add warning about configuration dependence Date: Thu, 3 Aug 2023 05:34:18 -0400 Message-Id: <20230803093418.51872-3-tmgross@umich.edu> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230803093418.51872-1-tmgross@umich.edu> References: <20230803093418.51872-1-tmgross@umich.edu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add a note stating that binding documentation may differ from a user's configuration, to make users aware that published documentation may not always match a specific setup. Signed-off-by: Trevor Gross --- rust/bindings/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust/bindings/lib.rs b/rust/bindings/lib.rs index 9bcbea04dac3..869632c2341c 100644 --- a/rust/bindings/lib.rs +++ b/rust/bindings/lib.rs @@ -7,6 +7,9 @@ //! This crate may not be directly used. If you need a kernel C API that is //! not ported or wrapped in the `kernel` crate, then do so first instead = of //! using this crate. +//! +//! Note that this module is heavily configuration-dependent, published ve= rsions +//! of documentation may not accurately reflect local configuration. =20 #![no_std] // See . --=20 2.34.1