summaryrefslogtreecommitdiff
path: root/rust/bindgen_parameters
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-10-22 13:56:36 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2026-10-22 13:56:36 -1000
commit3ac032ef6ca8e47bb06d1e189dfcf88fa0a09c75 (patch)
tree7dd7d10849e50e38721db3bce4285e585e0e77c7 /rust/bindgen_parameters
parentfcb92ecd733e11f37c32e7485da976a40d878e72 (diff)
parentbc6f2a284c63313e789d8cd294531e1cc2dc8c99 (diff)
Merge tag 'for-linus-fwctl' of git://git.kernel.org/pub/scm/linux/kernel/git/fwctl/fwctl
Pull fwctl update from Jason Gunthorpe: - One bug fix for a CFI issue in the Rust bindings * tag 'for-linus-fwctl' of git://git.kernel.org/pub/scm/linux/kernel/git/fwctl/fwctl: rust: fwctl: declare cfi_encoding for fwctl_rpc_scope
Diffstat (limited to 'rust/bindgen_parameters')
-rw-r--r--rust/bindgen_parameters2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/bindgen_parameters b/rust/bindgen_parameters
index 93e622aaaf78..39aae62dca66 100644
--- a/rust/bindgen_parameters
+++ b/rust/bindgen_parameters
@@ -27,6 +27,8 @@
--opaque-type spinlock
# enums that appear in indirect function calls should specify a cfi type
+--newtype-enum fwctl_rpc_scope
+--with-attribute-custom-enum=fwctl_rpc_scope='#[cfi_encoding="15fwctl_rpc_scope"]'
--newtype-enum lru_status
--with-attribute-custom-enum=lru_status='#[cfi_encoding="10lru_status"]'