Re: [PATCH] block: blk-merge: Replace == false comparisons with !
From: Jens Axboe
Date: Thu May 07 2026 - 08:18:34 EST
On 5/7/26 6:10 AM, Md Shofiqul Islam wrote:
> The kernel coding style prefers the negation operator '!' over explicit
> comparison against 'false'. Replace four such comparisons in
> ll_new_hw_segment(), ll_merge_requests_fn(), and blk_rq_merge_ok().
>
> Also fix a typo in a comment: "occured" -> "occurred".
My previous reply was not an invitation to just add more unnecessary
churn... I said "with a related fix", not "with unnecessary churn".
--
Jens Axboe