bnxt_en: Improve comment wording and error return code
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Sun, 15 Jun 2025 15:40:40 +0000 (08:40 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Jun 2025 23:11:33 +0000 (16:11 -0700)
commit10f3829a1309e6f6892811643e172633a6adf40a
tree13750d7eefa7dcf888a47be36db955584cde5afe
parent5216b3b250181c3fcae9c36b6b9110765948717f
bnxt_en: Improve comment wording and error return code

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@oracle.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250615154051.1365631-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c