git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
isdn
/
hysdn
/
hysdn_procconf.c
diff --git
a/drivers/isdn/hysdn/hysdn_procconf.c
b/drivers/isdn/hysdn/hysdn_procconf.c
index
8e2b038
..
94a9350
100644
(file)
--- a/
drivers/isdn/hysdn/hysdn_procconf.c
+++ b/
drivers/isdn/hysdn/hysdn_procconf.c
@@
-275,7
+275,7
@@
hysdn_conf_open(struct inode *ino, struct file *filep)
} else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) {
/* read access -> output card info data */
} else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) {
/* read access -> output card info data */
- if (!(tmp =
(char *)
kmalloc(INFO_OUT_LEN * 2 + 2, GFP_KERNEL))) {
+ if (!(tmp = kmalloc(INFO_OUT_LEN * 2 + 2, GFP_KERNEL))) {
unlock_kernel();
return (-EFAULT); /* out of memory */
}
unlock_kernel();
return (-EFAULT); /* out of memory */
}