aboutsummaryrefslogtreecommitdiffstats
path: root/rust/bindgen_parameters
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.com>2025-01-20 09:58:12 +0100
committerJiri Kosina <jkosina@suse.com>2025-01-20 09:58:12 +0100
commit670af65d2ab4a6a9bb72f014b080757e291ad3fe (patch)
treed54ccf4ba52fa9f15ed8f1de6214edc53e1502be /rust/bindgen_parameters
parentHID: hid-asus: Disable OOBE mode on the ProArt P16 (diff)
parentHID: roccat: pyro: constify 'struct bin_attribute' (diff)
downloadlinux-670af65d2ab4a6a9bb72f014b080757e291ad3fe.tar.gz
linux-670af65d2ab4a6a9bb72f014b080757e291ad3fe.zip
Merge branch 'for-6.14/constify-bin-attribute' into for-linus
- constification of 'struct bin_attribute' in various HID driver (Thomas Weißschuh)
Diffstat (limited to 'rust/bindgen_parameters')
-rw-r--r--rust/bindgen_parameters5
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/bindgen_parameters b/rust/bindgen_parameters
index b7c7483123b7..0f96af8b9a7f 100644
--- a/rust/bindgen_parameters
+++ b/rust/bindgen_parameters
@@ -1,5 +1,10 @@
# SPDX-License-Identifier: GPL-2.0
+# We want to map these types to `isize`/`usize` manually, instead of
+# define them as `int`/`long` depending on platform bitwidth.
+--blocklist-type __kernel_s?size_t
+--blocklist-type __kernel_ptrdiff_t
+
--opaque-type xregs_state
--opaque-type desc_struct
--opaque-type arch_lbr_state