diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-08-12 08:04:33 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-08-13 16:43:26 +0200 |
| commit | 91415225fbfb38c4b210e656e11a527a3760f6e6 (patch) | |
| tree | aa32fe155f8fb52415c57bdff53d5f24d5e031fc /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | bfdadd1656b6a21d30738b63909494e98ad7e3e7 (diff) | |
ALSA: uapi: Drop __bitwise and __force prefix
We've used __bitwise and __force for some integer parameters for
sanity-checks via sparse, with a hope that it'll reduce the misuse or
incorrect assignments. This worked in principle, but OTOH, it's been
quite a PITA, making the code much uglier than its gain, too, because
one had to cast with __force everywhere. Also, Rust-binding would
skip those defines because of __force usage, which will become more
pains in near future.
So let's drop __bitwise and __force prefix usages. In this patch, we
start cleaning up the UAPI headers at first. The former bit-wised
typedefs are still kept for compatibility for now.
As it's only markers for sparse, the changes are absolutely safe, per
se. Only that we'll need to watch out more carefully about the
variable usage for PCM format type, etc.
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260812060557.80445-2-tiwai@suse.de
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
