Hi Developers,
I see compilation error for Intel_i40e driver on a 32-bit system running with
kernel 3.18.27. The version I am trying to compile is the latest available
(i40e-1.4.25). The same version compiles fine for kernel-3.4.56.
/builddir/build/BUILD/i40e-1.4.25/src/i40e/i40e_ptp.c: In function
'i40e_ptp_adjtime':
/builddir/build/BUILD/i40e-1.4.25/src/i40e/i40e_ptp.c:168: error: incompatible
type for argument 1 of 'timespec_add'
include/linux/time.h:57: note: expected 'struct timespec' but argument is of
type 'struct timespec64'
/builddir/build/BUILD/i40e-1.4.25/src/i40e/i40e_ptp.c:168: error: incompatible
type for argument 2 of 'timespec_add'
include/linux/time.h:57: note: expected 'struct timespec' but argument is of
type 'struct timespec64'
/builddir/build/BUILD/i40e-1.4.25/src/i40e/i40e_ptp.c: In function
'i40e_ptp_init':
/builddir/build/BUILD/i40e-1.4.25/src/i40e/i40e_ptp.c:730: error: incompatible
types when assigning to type 'struct timespec64' from type 'struct timespec'
/builddir/build/BUILD/i40e-1.4.25/src/i40e/i40e_ptp.c:731: warning: passing
argument 2 of 'i40e_ptp_settime' from incompatible pointer type
/builddir/build/BUILD/i40e-1.4.25/src/i40e/i40e_ptp.c:244: note: expected
'const struct timespec *' but argument is of type 'struct timespec64 *'
Any help is appreciated.
Thanks
-Tapas
________________________________
This transmission may contain information that is privileged, confidential,
and/or exempt from disclosure under applicable law. If you are not the intended
recipient, you are hereby notified that any disclosure, copying, distribution,
or use of the information contained herein (including any reliance thereon) is
strictly prohibited. If you received this transmission in error, please
immediately contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit
http://communities.intel.com/community/wired