Re: [PATCH] scsi: target: remove unnecessary null checking for bio allocation

From: Kohei Enju
Date: Sun Feb 02 2025 - 09:30:50 EST


> > When __GFP_DIRECT_RECLAIM (included in GFP_NOIO) is specified,
> > bio_alloc_bioset() never fails to allocate a bio. For more details, see
> > the comment in bio_alloc_bioset() in block/bio.c
>
> See also:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.13#n94

Thanks. I'll modify the commit message into imperative mood.

> Can a blank line be also omitted together with the mentioned compound statement?

Sure, I think so.
I'll submit a v2 patch with the modified commit message and without the blank line.

Regards,
Kohei