aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLi Nan <linan122@huawei.com>2025-02-27 15:55:02 +0800
committerJens Axboe <axboe@kernel.dk>2025-03-06 08:03:28 -0700
commit3a23d05f9c1abf8238fe48167ab5574062d1606e (patch)
treec39115927dbd1f998291866cb4a455c8430c2bbd /scripts/gdb/linux/utils.py
parentbadblocks: fix the using of MAX_BADBLOCKS (diff)
downloadwireguard-linux-3a23d05f9c1abf8238fe48167ab5574062d1606e.tar.xz
wireguard-linux-3a23d05f9c1abf8238fe48167ab5574062d1606e.zip
badblocks: try can_merge_front before overlap_front
Regardless of whether overlap_front() returns true or false, can_merge_front() will be executed first. Therefore, move can_merge_front() in front of can_merge_front() to simplify code. Signed-off-by: Li Nan <linan122@huawei.com> Reviewed-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20250227075507.151331-8-zhengqixing@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions