projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045dfdb
)
drivers/video/mbx/mbxfb.c: correct ioremap_nocache test
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Wed, 18 Apr 2012 20:07:11 +0000
(22:07 +0200)
committer
Florian Tobias Schandinat
<FlorianSchandinat@gmx.de>
Sat, 21 Apr 2012 21:48:48 +0000
(21:48 +0000)
The test tested not the most recently allocated value but a previously
allocated one.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/mbx/mbxfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/mbx/mbxfb.c
b/drivers/video/mbx/mbxfb.c
index 55bf6196b7a0e1185c6237df1f3b4baae5f7cb97..ab0a8e527333b9f68edd884bfdc91067f1b214ad 100644
(file)
--- a/
drivers/video/mbx/mbxfb.c
+++ b/
drivers/video/mbx/mbxfb.c
@@
-950,7
+950,7
@@
static int __devinit mbxfb_probe(struct platform_device *dev)
mfbi->fb_virt_addr = ioremap_nocache(mfbi->fb_phys_addr,
res_size(mfbi->fb_req));
- if (!mfbi->
reg
_virt_addr) {
+ if (!mfbi->
fb
_virt_addr) {
dev_err(&dev->dev, "failed to ioremap frame buffer\n");
ret = -EINVAL;
goto err4;