[PATCH 3/3] nvmet-auth: use helper for auth send/recv cmd prep
Chaitanya Kulkarni
chaitanyak at nvidia.com
Tue May 23 01:33:33 PDT 2023
On 5/22/2023 11:56 PM, Christoph Hellwig wrote:
>> + u16 sts = nvmet_auth_check_secp_spsp(req);
>> +
>> + return sts ? sts : nvmet_auth_alloc_transfer_buffer(req, buf, len);
>
> I'd much prefer just spelling things out here as usual:
>
> if (sts)
> return sts;
> return nvmet_auth_alloc_transfer_buffer(req, buf, len);
>
okay, will add above changes in V2.
-ck
More information about the Linux-nvme
mailing list