mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
0e1bcf2c05
Clang warns: drivers/memory/tegra/tegra30-emc.c:1275:15: warning: variable 'np' is uninitialized when used here [-Wuninitialized] of_node_put(np); ^~ drivers/memory/tegra/tegra30-emc.c:1269:24: note: initialize the variable 'np' to silence this warning There does not need to be an of_node_put call in this error handling block after the shuffling of the np assignment. Remove it so there is no use of uninitialized memory. Fixes: 5e00fd90183a ("memory: tegra30-emc: Continue probing if timings are missing in device-tree") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20201119195244.1517236-1-natechancellor@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mc.c | ||
mc.h | ||
tegra20-emc.c | ||
tegra20.c | ||
tegra30-emc.c | ||
tegra30.c | ||
tegra114.c | ||
tegra124-emc.c | ||
tegra124.c | ||
tegra186-emc.c | ||
tegra186.c | ||
tegra210-emc-cc-r21021.c | ||
tegra210-emc-core.c | ||
tegra210-emc-table.c | ||
tegra210-emc.h | ||
tegra210-mc.h | ||
tegra210.c |