]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: emc: Avoid out-of-bounds bug
authorDmitry Osipenko <digetx@gmail.com>
Tue, 5 Jun 2018 12:12:32 +0000 (15:12 +0300)
committerStephen Boyd <sboyd@kernel.org>
Mon, 9 Jul 2018 00:10:19 +0000 (17:10 -0700)
commita058c3ee064ee2686742c603c417f51028761659
tree7593948fa80cf224b791e13fae273c0c6ed81084
parent0d5624e606504772b89d3c3d6b1be740ef176c61
clk: tegra: emc: Avoid out-of-bounds bug

Apparently there was an attempt to avoid out-of-bounds accesses when there
is only one memory timing available, but there is a typo in the code that
neglects that attempt.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-emc.c