commit | 589b1c9c166dce120e27b32a83a78f55464a7ef9 | [log] [tgz] |
---|---|---|
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | Wed Jun 24 01:51:33 2020 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 23 15:18:47 2020 -0700 |
tree | a81392b146aeeae7bec3335f49a393dcc832085e | |
parent | 030c98824deaba205787af501a074b3d7f46e32e [diff] |
cxgb4: use unaligned conversion for fetching timestamp Use get_unaligned_be64() to fetch the timestamp needed for ns_to_ktime() conversion. Fixes following sparse warning: sge.c:3282:43: warning: cast to restricted __be64 Fixes: a456950445a0 ("cxgb4: time stamping interface for PTP") Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>