diff options
| author | 2025-10-12 11:24:41 +0200 | |
|---|---|---|
| committer | 2025-11-27 15:43:20 +0100 | |
| commit | 54e77495a7c5f64bc2d35583a4f59c8dbee579ab (patch) | |
| tree | 6b74f733e5c4591ebcc76afb04fde30f2f215fbd /tools/lib/python/kdoc/python_version.py | |
| parent | sysctl: Create integer converters with one macro (diff) | |
sysctl: Add optional range checking to SYSCTL_INT_CONV_CUSTOM
Extend the SYSCTL_INT_CONV_CUSTOM macro with a k_ptr_range_check
parameter to conditionally generate range validation code. When enabled,
validation is done against table->extra1 (min) and table->extra2 (max)
bounds before assignment. Add base minmax and ms_jiffies_minmax
converter instances that utilize the range checking functionality.
Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
