]> www.infradead.org Git - users/hch/misc.git/commitdiff
ixgbe: fix typo in function comment for ixgbe_get_num_per_func()
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Fri, 5 Sep 2025 16:33:49 +0000 (09:33 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Sep 2025 00:51:50 +0000 (17:51 -0700)
Correct a typo in the comment where "PH" was used instead of "PF".
The function returns the number of resources per PF or 0 if no PFs
are available.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Signed-off-by: Qiang Liu <liuqiang@kylinos.cn>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Link: https://patch.msgid.link/20250905163353.3031910-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c

index c5ca7b392b0ddf8ba1dcc8ee79b9f16c4c455500..7181efd0454dc894858699c9872b2ee7e6adbf0c 100644 (file)
@@ -774,7 +774,7 @@ static void ixgbe_parse_vf_func_caps(struct ixgbe_hw *hw,
  * from parsing capabilities and use this to calculate the number of resources
  * per PF based on the max value passed in.
  *
- * Return: the number of resources per PF or 0, if no PH are available.
+ * Return: the number of resources per PF or 0, if no PFs are available.
  */
 static u32 ixgbe_get_num_per_func(struct ixgbe_hw *hw, u32 max)
 {