projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0137304
)
pcmcia: properly close previous dev_printk if kzalloc fails in do_io_probe
author
Frans Pop
<elendil@planet.nl>
Sat, 17 Oct 2009 11:35:30 +0000
(13:35 +0200)
committer
Dominik Brodowski
<linux@dominikbrodowski.net>
Sat, 17 Oct 2009 11:35:30 +0000
(13:35 +0200)
Signed-off-by: Frans Pop <elendil@planet.nl>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/rsrc_nonstatic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pcmcia/rsrc_nonstatic.c
b/drivers/pcmcia/rsrc_nonstatic.c
index 9ca22c7aafb29f5959bbcb3ddb2ed0296408b6c4..909b1968098b06c405de3fb98723e34e635dd89b 100644
(file)
--- a/
drivers/pcmcia/rsrc_nonstatic.c
+++ b/
drivers/pcmcia/rsrc_nonstatic.c
@@
-206,6
+206,7
@@
static void do_io_probe(struct pcmcia_socket *s, unsigned int base,
/* First, what does a floating port look like? */
b = kzalloc(256, GFP_KERNEL);
if (!b) {
+ printk("\n");
dev_printk(KERN_ERR, &s->dev,
"do_io_probe: unable to kmalloc 256 bytes");
return;