summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2025-10-12 11:24:41 +0200
committerJoel Granados <joel.granados@kernel.org>2025-11-27 15:43:20 +0100
commit54e77495a7c5f64bc2d35583a4f59c8dbee579ab (patch)
tree6b74f733e5c4591ebcc76afb04fde30f2f215fbd /tools/docs/parse-headers.py
parent796c481a4b7026a93e4800bff8d99923630014e7 (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/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions