[PATCH v2 4/8] cmd: ubifs: mark string parameters with const

Simon Glass sjg at chromium.org
Wed Apr 22 00:43:45 CEST 2026


On 2026-04-21T08:35:39, Weijie Gao <weijie.gao at mediatek.com> wrote:
> cmd: ubifs: mark string parameters with const
>
> File name and volume name should be const as they will not be modified in
> these functions.
>
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
>
> cmd/ubifs.c           | 2 +-
>  fs/ubifs/super.c      | 2 +-
>  fs/ubifs/ubifs.c      | 2 +-
>  include/ubi_uboot.h   | 2 +-
>  include/ubifs_uboot.h | 4 ++--
>  5 files changed, 6 insertions(+), 6 deletions(-)

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


More information about the U-Boot mailing list