projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: prevent page_frag_alloc() from corrupting the memory
[platform/kernel/linux-rpi.git]
/
drivers
/
atm
/
firestream.c
diff --git
a/drivers/atm/firestream.c
b/drivers/atm/firestream.c
index
3bc3c31
..
4f67404
100644
(file)
--- a/
drivers/atm/firestream.c
+++ b/
drivers/atm/firestream.c
@@
-1676,6
+1676,8
@@
static int fs_init(struct fs_dev *dev)
dev->hw_base = pci_resource_start(pci_dev, 0);
dev->base = ioremap(dev->hw_base, 0x1000);
+ if (!dev->base)
+ return 1;
reset_chip (dev);