projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b59cdcb
)
[S390] tty: PTR_ERR return of wrong pointer in fs3270_open()
author
Roel Kluin
<roel.kluin@gmail.com>
Fri, 18 Dec 2009 16:43:19 +0000
(17:43 +0100)
committer
Martin Schwidefsky
<sky@mschwide.boeblingen.de.ibm.com>
Fri, 18 Dec 2009 16:43:31 +0000
(17:43 +0100)
Return the PTR_ERR of the correct pointer.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/fs3270.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/fs3270.c
b/drivers/s390/char/fs3270.c
index
28e4649
..
247b2b9
100644
(file)
--- a/
drivers/s390/char/fs3270.c
+++ b/
drivers/s390/char/fs3270.c
@@
-467,7
+467,7
@@
fs3270_open(struct inode *inode, struct file *filp)
if (IS_ERR(ib)) {
raw3270_put_view(&fp->view);
raw3270_del_view(&fp->view);
- rc = PTR_ERR(
fp
);
+ rc = PTR_ERR(
ib
);
goto out;
}
fp->rdbuf = ib;