]> git.baikalelectronics.ru Git - uboot.git/commit
spl: fit: constify the output parameter of spl_fit_get_image_name()
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 22 Oct 2019 14:39:17 +0000 (16:39 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:12:47 +0000 (11:12 -0500)
commitb2142e93b8f34b05f12d36cf6493d08729256d16
tree1131707cf1a48be6d21f313649fd1d6c0640c937
parent0cce920c6b79e74e727ba6f6b675fb54415ce652
spl: fit: constify the output parameter of spl_fit_get_image_name()

There is no need for it to be non-constant. Making it constant, allows to
return constant string without warning.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_fit.c