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:
2bc3f62
)
watchdog: da9052: Fix invalid free of devm_ allocated data
author
Tushar Behera
<tushar.behera@linaro.org>
Thu, 22 Nov 2012 04:43:04 +0000
(10:13 +0530)
committer
Wim Van Sebroeck
<wim@iguana.be>
Wed, 19 Dec 2012 21:25:07 +0000
(22:25 +0100)
It is not required to free devm_ allocated data. Since kref_put
needs a valid release function, da9052_wdt_release_resources()
is not deleted.
Fixes following warning.
drivers/watchdog/da9052_wdt.c:59:1-6: WARNING: invalid free of
devm_ allocated data
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
No differences found