Commit a279570e authored by David S. Miller's avatar David S. Miller

[ATM]: Fix atm_mpoa_disp_qos() second arg to be ssize_t.

parent ffdd4f5a
...@@ -224,7 +224,7 @@ int atm_mpoa_delete_qos(struct atm_mpoa_qos *entry) ...@@ -224,7 +224,7 @@ int atm_mpoa_delete_qos(struct atm_mpoa_qos *entry)
return 0; return 0;
} }
void atm_mpoa_disp_qos(char *page, int *len) void atm_mpoa_disp_qos(char *page, ssize_t *len)
{ {
unsigned char *ip; unsigned char *ip;
......
#ifndef _MPC_H_ #ifndef _MPC_H_
#define _MPC_H_ #define _MPC_H_
#include <linux/types.h>
#include <linux/atm.h> #include <linux/atm.h>
#include <linux/atmmpc.h> #include <linux/atmmpc.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
...@@ -50,6 +51,6 @@ struct atm_mpoa_qos *atm_mpoa_search_qos(uint32_t dst_ip); ...@@ -50,6 +51,6 @@ struct atm_mpoa_qos *atm_mpoa_search_qos(uint32_t dst_ip);
int atm_mpoa_delete_qos(struct atm_mpoa_qos *qos); int atm_mpoa_delete_qos(struct atm_mpoa_qos *qos);
/* Display QoS entries. This is for the procfs */ /* Display QoS entries. This is for the procfs */
void atm_mpoa_disp_qos(char *page, int *len); void atm_mpoa_disp_qos(char *page, ssize_t *len);
#endif /* _MPC_H_ */ #endif /* _MPC_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment