OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/cpswhal_cpsar.h |
2 | +++ b/cpswhal_cpsar.h |
||
3 | @@ -430,10 +430,10 @@ typedef struct |
||
4 | int (*DeviceFindInfo)(int Inst, const char *DeviceName, void *DeviceInfo); |
||
5 | int (*DeviceFindParmUint)(void *DeviceInfo, const char *Parm, bit32u *Value); |
||
6 | int (*DeviceFindParmValue)(void *DeviceInfo, const char *Parm, void *Value); |
||
7 | - void (*Free)(void *MemPtr); |
||
8 | + void (*Free)(const void *MemPtr); |
||
9 | void (*FreeRxBuffer)(OS_RECEIVEINFO *OsReceiveInfo, void *MemPtr); |
||
10 | - void (*FreeDev)(void *MemPtr); |
||
11 | - void (*FreeDmaXfer)(void *MemPtr); |
||
12 | + void (*FreeDev)(const void *MemPtr); |
||
13 | + void (*FreeDmaXfer)(const void *MemPtr); |
||
14 | void (*IsrRegister)(OS_DEVICE *OsDev, int (*halISR)(HAL_DEVICE*, int*), int InterruptBit); |
||
15 | void (*IsrUnRegister)(OS_DEVICE *OsDev, int InterruptBit); |
||
16 | void* (*Malloc)(bit32u size); |
||
17 | --- a/cpswhal_cpaal5.h |
||
18 | +++ b/cpswhal_cpaal5.h |
||
19 | @@ -430,10 +430,10 @@ typedef struct |
||
20 | int (*DeviceFindInfo)(int Inst, const char *DeviceName, void *DeviceInfo); |
||
21 | int (*DeviceFindParmUint)(void *DeviceInfo, const char *Parm, bit32u *Value); |
||
22 | int (*DeviceFindParmValue)(void *DeviceInfo, const char *Parm, void *Value); |
||
23 | - void (*Free)(void *MemPtr); |
||
24 | + void (*Free)(const void *MemPtr); |
||
25 | void (*FreeRxBuffer)(OS_RECEIVEINFO *OsReceiveInfo, void *MemPtr); |
||
26 | - void (*FreeDev)(void *MemPtr); |
||
27 | - void (*FreeDmaXfer)(void *MemPtr); |
||
28 | + void (*FreeDev)(const void *MemPtr); |
||
29 | + void (*FreeDmaXfer)(const void *MemPtr); |
||
30 | void (*IsrRegister)(OS_DEVICE *OsDev, int (*halISR)(HAL_DEVICE*, int*), int InterruptBit); |
||
31 | void (*IsrUnRegister)(OS_DEVICE *OsDev, int InterruptBit); |
||
32 | void* (*Malloc)(bit32u size); |
||
33 | --- a/tn7atm.c |
||
34 | +++ b/tn7atm.c |
||
35 | @@ -2481,7 +2481,7 @@ static int tn7atm_proc_qos_read(struct s |
||
36 | return 0; |
||
37 | |||
38 | } |
||
39 | -static int tn7atm_proc_qos_write(struct file *fp, const char *buf, unsigned long count, void *data) |
||
40 | +static int tn7atm_proc_qos_write(struct file *fp, const char *buf, size_t count, loff_t *data) |
||
41 | { |
||
42 | char local_buf[32]; |
||
43 | |||
44 | --- a/tn7dsl.c |
||
45 | +++ b/tn7dsl.c |
||
46 | @@ -1712,7 +1712,7 @@ static int tn7dsl_proc_stats_open(struct |
||
47 | return single_open(file, tn7dsl_proc_stats, PDE_DATA(inode)); |
||
48 | } |
||
49 | |||
50 | -int tn7dsl_proc_write_stats (struct file *fp, const char *buf, unsigned long count, void *data); |
||
51 | +int tn7dsl_proc_write_stats (struct file *fp, const char *buf, size_t count, loff_t *data); |
||
52 | |||
53 | struct file_operations tn7dsl_proc_stats_fops = { |
||
54 | .owner = THIS_MODULE, |
||
55 | @@ -4256,7 +4256,7 @@ int tn7dsl_generic_write( int offsetnum, |
||
56 | } |
||
57 | |||
58 | int tn7dsl_proc_write_stats (struct file *fp, const char *buf, |
||
59 | - unsigned long count, void *data) |
||
60 | + size_t count, loff_t *data) |
||
61 | { |
||
62 | char local_buf[31]; |
||
63 | int ret_val = 0; |