linux/drivers/net/ethernet/broadcom/bnxt
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: 7de3c2218e ("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
..
bnxt.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
bnxt.h bnxt: fix bnxt_get_avail_msix() returning negative values 2024-05-03 16:04:04 -07:00
bnxt_coredump.c
bnxt_coredump.h
bnxt_dcb.c bnxt_en: Fix possible crash after creating sw mqprio TCs 2024-01-19 21:15:13 -08:00
bnxt_dcb.h
bnxt_debugfs.c
bnxt_debugfs.h
bnxt_devlink.c bnxt_en: Optimize recovery path ULP locking in the driver 2024-05-02 07:27:21 -07:00
bnxt_devlink.h
bnxt_dim.c
bnxt_ethtool.c bnxt_en: Don't support offline self test when RoCE driver is loaded 2024-05-02 07:27:20 -07:00
bnxt_ethtool.h bnxt_en: Enhance ethtool ntuple support for ip flows besides TCP/UDP 2024-02-09 12:37:41 -08:00
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update firmware interface to 1.10.3.39 2024-04-04 09:13:19 -07:00
bnxt_hwmon.c
bnxt_hwmon.h
bnxt_hwrm.c
bnxt_hwrm.h
bnxt_nvm_defs.h
bnxt_ptp.c bnxt_en: Fix PTP firmware timeout parameter 2024-04-05 15:56:52 -07:00
bnxt_ptp.h bnxt_en: silence clang build warning 2024-05-10 18:16:35 -07:00
bnxt_sriov.c bnxt_en: Rename some macros for the P5 chips 2023-11-21 17:32:49 -08:00
bnxt_sriov.h
bnxt_tc.c bnxt_en: flower: validate control flags 2024-04-24 19:57:19 -07:00
bnxt_tc.h
bnxt_ulp.c bnxt_en: Add a mutex to synchronize ULP operations 2024-05-02 07:27:20 -07:00
bnxt_ulp.h bnxt_en: Add a mutex to synchronize ULP operations 2024-05-02 07:27:20 -07:00
bnxt_vfr.c
bnxt_vfr.h
bnxt_xdp.c bnxt_en: Add XDP Metadata support 2024-04-04 09:13:19 -07:00
bnxt_xdp.h bnxt_en: Change bnxt_rx_xdp function prototype 2024-04-04 09:13:19 -07:00
Makefile