Vadim Fedorenko 38155539a1 bnxt_en: silence clang build warning
Clang build brings a warning:

    ../drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c:133:12: warning:
    comparison of distinct pointer types ('typeof (tmo_us) *' (aka 'unsigned
    int *') and 'typeof (65535) *' (aka 'int *'))
    [-Wcompare-distinct-pointer-types]
      133 |                 tmo_us = min(tmo_us, BNXT_PTP_QTS_MAX_TMO_US);
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix it by specifying proper type for BNXT_PTP_QTS_MAX_TMO_US.

Fixes: 7de3c2218eed ("bnxt_en: Add a timeout parameter to bnxt_hwrm_port_ts_query()")
Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/20240509151833.12579-1-vadim.fedorenko@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-05-10 18:16:35 -07:00
..
2024-04-25 19:25:54 +02:00
2024-04-08 14:09:58 +01:00
2024-03-07 21:52:03 +00:00
2024-02-16 18:51:00 -05:00
2024-03-15 11:58:32 -07:00
2024-03-07 20:37:04 +00:00
2024-05-08 10:15:40 -07:00
2024-04-25 14:35:55 +02:00
2024-04-11 16:23:56 -07:00
2024-02-19 21:23:28 +01:00
2024-05-05 10:00:47 -07:00
2024-04-19 14:02:21 -07:00
2024-03-07 20:32:47 +00:00
2024-03-15 17:53:48 -07:00
2024-03-13 10:59:28 -07:00
2024-03-21 12:44:10 -07:00
2024-05-05 10:08:52 -07:00
2024-04-26 13:17:33 -07:00
2024-03-07 20:32:38 +00:00
2024-05-10 18:16:35 -07:00
2024-03-15 11:58:32 -07:00
2024-05-08 09:37:58 -07:00
2024-04-30 09:06:05 -07:00
2024-03-13 11:33:10 -07:00
2024-03-21 10:37:39 -07:00
2024-03-21 17:16:46 -07:00
2024-02-15 18:12:01 +01:00
2024-03-21 15:18:18 -07:00
2024-02-20 13:36:34 +01:00
2024-03-12 10:35:24 -07:00
2024-04-11 16:23:56 -07:00
2024-04-22 17:07:13 -04:00
2024-03-15 13:21:13 -07:00
2024-03-17 12:06:10 -07:00
2024-03-19 08:48:09 -07:00
2024-02-19 11:10:55 +01:00