diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/capi/capi.c | 6 | ||||
-rw-r--r-- | drivers/isdn/hysdn/hysdn_proclog.c | 2 | ||||
-rw-r--r-- | drivers/isdn/i4l/isdn_ppp.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index b0a4a691cbaa..f80a7c48a35f 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -691,7 +691,7 @@ unlock_out: | |||
691 | static ssize_t | 691 | static ssize_t |
692 | capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) | 692 | capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) |
693 | { | 693 | { |
694 | struct capidev *cdev = (struct capidev *)file->private_data; | 694 | struct capidev *cdev = file->private_data; |
695 | struct sk_buff *skb; | 695 | struct sk_buff *skb; |
696 | size_t copied; | 696 | size_t copied; |
697 | int err; | 697 | int err; |
@@ -726,7 +726,7 @@ capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) | |||
726 | static ssize_t | 726 | static ssize_t |
727 | capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) | 727 | capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) |
728 | { | 728 | { |
729 | struct capidev *cdev = (struct capidev *)file->private_data; | 729 | struct capidev *cdev = file->private_data; |
730 | struct sk_buff *skb; | 730 | struct sk_buff *skb; |
731 | u16 mlen; | 731 | u16 mlen; |
732 | 732 | ||
@@ -773,7 +773,7 @@ capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos | |||
773 | static unsigned int | 773 | static unsigned int |
774 | capi_poll(struct file *file, poll_table * wait) | 774 | capi_poll(struct file *file, poll_table * wait) |
775 | { | 775 | { |
776 | struct capidev *cdev = (struct capidev *)file->private_data; | 776 | struct capidev *cdev = file->private_data; |
777 | unsigned int mask = 0; | 777 | unsigned int mask = 0; |
778 | 778 | ||
779 | if (!cdev->ap.applid) | 779 | if (!cdev->ap.applid) |
diff --git a/drivers/isdn/hysdn/hysdn_proclog.c b/drivers/isdn/hysdn/hysdn_proclog.c index 37a9dd337308..7003698e667d 100644 --- a/drivers/isdn/hysdn/hysdn_proclog.c +++ b/drivers/isdn/hysdn/hysdn_proclog.c | |||
@@ -158,7 +158,7 @@ hysdn_log_write(struct file *file, const char __user *buf, size_t count, loff_t | |||
158 | int found = 0; | 158 | int found = 0; |
159 | unsigned char *cp, valbuf[128]; | 159 | unsigned char *cp, valbuf[128]; |
160 | long base = 10; | 160 | long base = 10; |
161 | hysdn_card *card = (hysdn_card *) file->private_data; | 161 | hysdn_card *card = file->private_data; |
162 | 162 | ||
163 | if (count > (sizeof(valbuf) - 1)) | 163 | if (count > (sizeof(valbuf) - 1)) |
164 | count = sizeof(valbuf) - 1; /* limit length */ | 164 | count = sizeof(valbuf) - 1; /* limit length */ |
diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c index 8c46baee621b..fe824e0cbb25 100644 --- a/drivers/isdn/i4l/isdn_ppp.c +++ b/drivers/isdn/i4l/isdn_ppp.c | |||
@@ -477,7 +477,7 @@ isdn_ppp_ioctl(int min, struct file *file, unsigned int cmd, unsigned long arg) | |||
477 | struct isdn_ppp_comp_data data; | 477 | struct isdn_ppp_comp_data data; |
478 | void __user *argp = (void __user *)arg; | 478 | void __user *argp = (void __user *)arg; |
479 | 479 | ||
480 | is = (struct ippp_struct *) file->private_data; | 480 | is = file->private_data; |
481 | lp = is->lp; | 481 | lp = is->lp; |
482 | 482 | ||
483 | if (is->debug & 0x1) | 483 | if (is->debug & 0x1) |