diff options
author | Bert Kenward <bkenward@solarflare.com> | 2018-01-26 03:51:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-26 10:20:09 -0500 |
commit | 5b09179e7fa2849a0c95d14bb69416693e0ed0c3 (patch) | |
tree | 79f5985c1b2c4fe76dd0ae490ce91978e16179ff | |
parent | 0121383de9e93bda15e078f21663920f8849bcd4 (diff) |
sfc: add suffix to large constant in ptp
Fixes: 1280c0f8aafc ("sfc: support second + quarter ns time format for receive datapath")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/sfc/ptp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/ptp.c b/drivers/net/ethernet/sfc/ptp.c index 433d29d6bc95..f1cc2ed76029 100644 --- a/drivers/net/ethernet/sfc/ptp.c +++ b/drivers/net/ethernet/sfc/ptp.c | |||
@@ -643,7 +643,7 @@ static int efx_ptp_get_attributes(struct efx_nic *efx) | |||
643 | case MC_CMD_PTP_OUT_GET_ATTRIBUTES_SECONDS_QTR_NANOSECONDS: | 643 | case MC_CMD_PTP_OUT_GET_ATTRIBUTES_SECONDS_QTR_NANOSECONDS: |
644 | ptp->ns_to_nic_time = efx_ptp_ns_to_s_qns; | 644 | ptp->ns_to_nic_time = efx_ptp_ns_to_s_qns; |
645 | ptp->nic_to_kernel_time = efx_ptp_s_qns_to_ktime_correction; | 645 | ptp->nic_to_kernel_time = efx_ptp_s_qns_to_ktime_correction; |
646 | ptp->nic_time.minor_max = 4000000000; | 646 | ptp->nic_time.minor_max = 4000000000UL; |
647 | ptp->nic_time.sync_event_minor_shift = 24; | 647 | ptp->nic_time.sync_event_minor_shift = 24; |
648 | break; | 648 | break; |
649 | default: | 649 | default: |