32bc535d34ad27e05c929cfbb864936912093592
[openwrt/openwrt.git] / package / kernel / ar7-atm / patches-D7.04.03.00 / 270-4.14_fixes.patch
1 --- a/tn7atm.c
2 +++ b/tn7atm.c
3 @@ -1149,7 +1149,7 @@ void tn7atm_close (struct atm_vcc *vcc)
4 Tn7AtmPrivate *priv;
5 int dmachan;
6 spinlock_t closeLock;
7 - unsigned int closeFlag;
8 + unsigned long closeFlag;
9 int rc;
10
11 priv = (Tn7AtmPrivate *) vcc->dev->dev_data;
12 --- a/tn7dsl.c
13 +++ b/tn7dsl.c
14 @@ -620,7 +620,7 @@ unsigned int shim_osClockTick(void)
15 return jiffies;
16 }
17
18 -int flags;
19 +unsigned long flags;
20 spinlock_t shimLock;
21
22 void shim_osCriticalEnter(void)
23 @@ -3433,7 +3433,7 @@ struct ctl_table dslmod_table[] = {
24 .extra2 = (void *)DEV_DSLMOD,
25 }
26 ,
27 - {0}
28 + { }
29 };
30
31 /* Make sure that /proc/sys/dev is there */
32 @@ -3447,7 +3447,7 @@ struct ctl_table dslmod_root_table[] = {
33 }
34 ,
35 #endif /* CONFIG_PROC_FS */
36 - {0}
37 + { }
38 };
39
40 static struct ctl_table_header *dslmod_sysctl_header;
41 --- a/tn7sar.c
42 +++ b/tn7sar.c
43 @@ -1208,7 +1208,7 @@ int tn7sar_deactivate_vc(Tn7AtmPrivate *
44 HAL_FUNCTIONS *pHalFunc;
45 HAL_DEVICE *pHalDev;
46 int rc;
47 - int flags;
48 + unsigned long flags;
49
50 //dgprintf(4, "tn7sar_deactivate_vc\n");
51 //printk("tn7sar_deactivate_vc entered\n");