summaryrefslogtreecommitdiff
path: root/tools/docs/check-variable-fonts.py
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.com>2025-10-24 19:06:54 +0200
committerVlastimil Babka <vbabka@suse.cz>2025-10-30 14:35:20 +0100
commit8ad018dbd344c0cdc5f31c4fab56593f85eede02 (patch)
tree3bd52da07c99a25a5cd33d83db540e70e6c68098 /tools/docs/check-variable-fonts.py
parentaed760df8e8ebc2035561e53bef184e6a8240610 (diff)
slab: use new API for remaining command line parameters
Use core_param() and __core_param_cb() instead of __setup() or __setup_param() to improve syntax checking and error messages. Replace get_option() with kstrtouint(), because: * the latter accepts a pointer to const char, * these parameters should not accept ranges, * error value can be passed directly to parser. There is one more change apart from the parsing of numeric parameters: slab_strict_numa parameter name must match exactly. Before this patch the kernel would silently accept any option that starts with the name as an undocumented alias. Signed-off-by: Petr Tesarik <ptesarik@suse.com> Link: https://patch.msgid.link/6ae7e0ddc72b7619203c07dd5103a598e12f713b.1761324765.git.ptesarik@suse.com Reviewed-by: Harry Yoo <harry.yoo@oracle.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/docs/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions