]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4/ptp: pass the sign of offset delta in FW CMD
authorRaju Rangoju <rajur@chelsio.com>
Tue, 24 Mar 2020 11:40:00 +0000 (17:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2020 23:23:55 +0000 (16:23 -0700)
commitc9d2be372ed1af86b2e9c79b510c7c9491da8474
tree7861eac59517a302dd8cf03ece082d36f2a15c18
parent468d54ac165dd606c98f597843ea199bf11aa7d5
cxgb4/ptp: pass the sign of offset delta in FW CMD

cxgb4_ptp_fineadjtime() doesn't pass the signedness of offset delta
in FW_PTP_CMD. Fix it by passing correct sign.

Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c