]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Fix sparse warning in igb_ptp_rx_pktstamp
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 23 Oct 2012 00:01:04 +0000 (00:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 30 Oct 2012 06:49:34 +0000 (23:49 -0700)
commit5ed52ae57e70b4deb7f6f40dcc1a9541bd8ff87e
treeb87c73ea927d3f471637757c6770b7b9009c7c31
parent0cc43aea805a1b4547c91f8d47fda4fc9ab1f45b
igb: Fix sparse warning in igb_ptp_rx_pktstamp

This change fixes a sparse warning triggered by us casting the timestamp in
the packet as a u64 instead of as a __le64.  This change corrects that in
order to resolve the sparse warning.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_ptp.c