[PATCH 1/5] fdtdec: make fdtdec_get_config_string() return const char*

Simon Glass sjg at chromium.org
Tue Nov 17 00:52:54 CET 2020


On Tue, 10 Nov 2020 at 13:26, Rasmus Villemoes
<rasmus.villemoes at prevas.dk> wrote:
>
> Nobody should modify the string returned by
> fdtdec_get_config_string(), so make it return a const pointer.
>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> ---
>  arch/arm/mach-exynos/include/mach/mipi_dsim.h | 2 +-
>  arch/arm/mach-rockchip/rk3188/rk3188.c        | 2 +-
>  board/dhelectronics/dh_stm32mp1/board.c       | 2 +-
>  board/firefly/firefly-rk3288/firefly-rk3288.c | 2 +-
>  board/st/stm32mp1/stm32mp1.c                  | 2 +-
>  common/cli.c                                  | 2 +-
>  include/fdtdec.h                              | 2 +-
>  lib/fdtdec.c                                  | 4 ++--
>  8 files changed, 9 insertions(+), 9 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list