summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorHongfu Li <lihongfu@kylinos.cn>2026-05-11 04:39:57 +0300
committerTejun Heo <tj@kernel.org>2026-05-11 04:54:12 +0300
commit2a3d7256faf06d1a15bb5b07e851ac4e1680c26d (patch)
treed0a8f9f2081e2a891f0953dfa8de3bf71928e742 /tools/lib/python/kdoc/parse_data_structs.py
parente32e6f02168f2ad7991eb5d160d312d2001520c8 (diff)
downloadlinux-2a3d7256faf06d1a15bb5b07e851ac4e1680c26d.tar.xz
selftests/cgroup: Fix string comparison in write_test
Use string comparison (!=) instead of numeric comparison (-ne) for cpuset values like "0-1". For example: $ [[ "0-1" != "2-3" ]] && echo "true" || echo "false" true $ [[ "0-1" -ne "2-3" ]] && echo "true" || echo "false" false Signed-off-by: Hongfu Li <lihongfu@kylinos.cn> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions