[PATCH v2 3/8] cmd: ubi: use void * for buf parameter in ubi_volume_read

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


On 2026-04-21T08:35:39, Weijie Gao <weijie.gao at mediatek.com> wrote:
> cmd: ubi: use void * for buf parameter in ubi_volume_read
>
> Use void * to avoid explicit type casting as what ubi_volume_write has done
> already.
>
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
>
> cmd/ubi.c           | 4 ++--
>  env/ubi.c           | 4 ++--
>  include/ubi_uboot.h | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)

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


More information about the U-Boot mailing list