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 kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
input
/
gameport
/
fm801-gp.c
diff --git
a/drivers/input/gameport/fm801-gp.c
b/drivers/input/gameport/fm801-gp.c
index
57615bc
..
47e93da
100644
(file)
--- a/
drivers/input/gameport/fm801-gp.c
+++ b/
drivers/input/gameport/fm801-gp.c
@@
-83,7
+83,7
@@
static int __devinit fm801_gp_probe(struct pci_dev *pci, const struct pci_device
struct fm801_gp *gp;
struct gameport *port;
struct fm801_gp *gp;
struct gameport *port;
- gp = k
calloc(1,
sizeof(struct fm801_gp), GFP_KERNEL);
+ gp = k
zalloc(
sizeof(struct fm801_gp), GFP_KERNEL);
port = gameport_allocate_port();
if (!gp || !port) {
printk(KERN_ERR "fm801-gp: Memory allocation failed\n");
port = gameport_allocate_port();
if (!gp || !port) {
printk(KERN_ERR "fm801-gp: Memory allocation failed\n");