summaryrefslogtreecommitdiff
path: root/security/security.c
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2013-05-28 06:24:48 (GMT)
committerTony Lindgren <tony@atomide.com>2013-07-04 11:24:42 (GMT)
commit37bd6ca8ab6c103603e04e320d3debeb4596e481 (patch)
tree17702135c93bfdda942260a5837c35f1c4d45276 /security/security.c
parentddcf6600b133697adbafd96e080818bdc0dfd028 (diff)
downloadlinux-fsl-qoriq-37bd6ca8ab6c103603e04e320d3debeb4596e481.tar.xz
ARM: OMAP2+: timer: initialize before using oh_name
of_property_read_string_index(...,&oh_name) in omap_dm_timer_init_one does not alter the value of 'oh_name' even if the relevant function fails and as 'oh_name' in stack may have a non-zero value, it would be misunderstood by timer code that DT has specified "ti,hwmod" property for timer. 'oh_name' in this scenario would be a junk value, this would result in module not being enabled by hwmod API's for timer, and in turn crash. Signed-off-by: Afzal Mohammed <afzal@ti.com> Acked-by: Jon Hunter <jgchunter@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions