Re: [PATCH] bnxt_en: Improve comment wording and error return code
From: Michael Chan
Date: Mon Jun 16 2025 - 16:10:14 EST
On Sun, Jun 15, 2025 at 8:40 AM Alok Tiwari <alok.a.tiwari@xxxxxxxxxx> wrote:
>
> Improved wording and grammar in several comments for clarity.
> "the must belongs" -> "it must belong"
> "mininum" -> "minimum"
> "fileds" -> "fields"
>
> Replaced return -1 with -EINVAL in hwrm_ring_alloc_send_msg()
> to return a proper error code.
>
> These changes enhance code readability and consistent error handling.
>
> Signed-off-by: Alok Tiwari <alok.a.tiwari@xxxxxxxxxx>
Reviewed for net-next. Thanks.
Reviewed-by: Michael Chan <michael.chan@xxxxxxxxxxxx>
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature