[U-Boot] [PATCH] cmd: host: fix seg fault at "host info"

Bin Meng bmeng.cn at gmail.com
Tue Aug 27 01:12:26 UTC 2019


On Thu, Aug 22, 2019 at 3:45 PM AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> With the patch below applied, host_block_dev structure was switched
> to be placed in platdata rather than priv. The command "host info"
> must be aligned with this change. Otherwise, we will see "Segmentation
> Fault."
>
> Fixes: 8f994c860d91 ("sandbox: blk: Switch to use platdata_auto_alloc_size for the driver data")
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
>  cmd/host.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list