git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
702df9f
)
inkern: iio_device_put after incorrect return/goto
author
Joe Perches
<joe@perches.com>
Tue, 4 Jun 2013 14:44:00 +0000
(15:44 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Tue, 4 Jun 2013 17:28:21 +0000
(18:28 +0100)
The code uses
return foo;
goto err_type;
when instead the form should have been
ret = foo;
goto err_type;
Here this causes a useful iio_device_put to be skipped.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
No differences found