Re: [PATCH V2 4/7] null_blk: don't use magic numbers in the code

From: Bart Van Assche
Date: Mon Nov 14 2022 - 19:40:33 EST


On 10/5/22 20:18, Chaitanya Kulkarni wrote:
Insteasd of using the hardcoded value use meaningful macro for tag

Insteasd -> Instead?

available value of -1U in get_tag() and __alloc_cmd().

While at it return early on error to get rid of the extra indentation
in __alloc_cmd().

Thanks,

Bart.