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:
45f035a
)
driver core: Check if r->name is valid in platform_get_resource_byname()
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Thu, 23 Aug 2012 14:10:00 +0000
(17:10 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 20:29:11 +0000
(13:29 -0700)
Safety check for the validity of the resource name before calling strcmp().
If the resource name is NULL do not compare it, just skip it.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found