]> git.pld-linux.org Git - packages/igb.git/blob - timespec64.patch
- fix incorrect timespec usage
[packages/igb.git] / timespec64.patch
1 --- igb-5.3.2/src/igb_ptp.c~    2015-05-26 23:59:51.000000000 +0200
2 +++ igb-5.3.2/src/igb_ptp.c     2015-06-29 08:05:18.930401431 +0200
3 @@ -327,7 +327,7 @@
4  }
5  
6  static int igb_ptp_gettime64_82576(struct ptp_clock_info *ptp,
7 -                                struct timespec *ts64)
8 +                                struct timespec64 *ts64)
9  {
10         struct igb_adapter *igb = container_of(ptp, struct igb_adapter,
11                                                ptp_caps);
12 @@ -350,7 +350,7 @@
13  }
14  
15  static int igb_ptp_gettime64_i210(struct ptp_clock_info *ptp,
16 -                               struct timespec *ts64)
17 +                               struct timespec64 *ts64)
18  {
19         struct igb_adapter *igb = container_of(ptp, struct igb_adapter,
20                                                ptp_caps);
21 @@ -369,7 +369,7 @@
22  
23  #ifdef HAVE_PTP_CLOCK_INFO_GETTIME64
24  static int igb_ptp_settime64_82576(struct ptp_clock_info *ptp,
25 -                                const struct timespec *ts64)
26 +                                const struct timespec64 *ts64)
27  {
28         struct igb_adapter *igb = container_of(ptp, struct igb_adapter,
29                                                ptp_caps);
30 @@ -392,7 +392,7 @@
31  
32  #endif
33  static int igb_ptp_settime64_i210(struct ptp_clock_info *ptp,
34 -                               const struct timespec *ts64)
35 +                               const struct timespec64 *ts64)
36  {
37         struct igb_adapter *igb = container_of(ptp, struct igb_adapter,
38                                                ptp_caps);
39 @@ -411,7 +411,7 @@
40  
41  #ifndef HAVE_PTP_CLOCK_INFO_GETTIME64
42  static int igb_ptp_gettime_82576(struct ptp_clock_info *ptp,
43 -                                struct timespec *ts)
44 +                                struct timespec64 *ts)
45  {
46         struct timespec64 ts64;
47         int err;
48 @@ -426,7 +426,7 @@
49  }
50  
51  static int igb_ptp_gettime_i210(struct ptp_clock_info *ptp,
52 -                               struct timespec *ts)
53 +                               struct timespec64 *ts)
54  {
55         struct timespec64 ts64;
56         int err;
This page took 0.025764 seconds and 4 git commands to generate.