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>
 {
        struct net_device *dev = bnxt_get_vf_rep(bp, cfa_code);
 
-       /* if vf-rep dev is NULL, the must belongs to the PF */
+       /* if vf-rep dev is NULL, it must belong to the PF */
        return dev ? dev : bp->dev;
 }
 
        default:
                netdev_err(bp->dev, "hwrm alloc invalid ring type %d\n",
                           ring_type);
-               return -1;
+               return -EINVAL;
        }
 
        resp = hwrm_req_hold(bp, req);
 
        int tx_ok = 0, rx_ok = 0, rss_ok = 0;
        int avail_cp, avail_stat;
 
-       /* Check if we can enable requested num of vf's. At a mininum
+       /* Check if we can enable requested num of vf's. At a minimum
         * we require 1 RX 1 TX rings for each VF. In this minimum conf
         * features like TPA will not be available.
         */
 
 
        /* Check if there's another flow using the same tunnel decap.
         * If not, add this tunnel to the table and resolve the other
-        * tunnel header fileds. Ignore src_port in the tunnel_key,
+        * tunnel header fields. Ignore src_port in the tunnel_key,
         * since it is not required for decap filters.
         */
        decap_key->tp_src = 0;
 
        /* Check if there's another flow using the same tunnel encap.
         * If not, add this tunnel to the table and resolve the other
-        * tunnel header fileds
+        * tunnel header fields
         */
        encap_node = bnxt_tc_get_tunnel_node(bp, &tc_info->encap_table,
                                             &tc_info->encap_ht_params,