[Skiboot] [PATCH] external/pflash: fix range printing

Alistair Popple alistair at popple.id.au
Wed Jun 3 12:06:23 AEST 2015


Looks good to me. Thanks!

Reviewed-by: Alistair Popple <alistair at popple.id.au>

On Mon, 1 Jun 2015 19:58:16 Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
> ---
>  external/pflash/pflash.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Index: skiboot.git/external/pflash/pflash.c
> ===================================================================
> --- skiboot.git.orig/external/pflash/pflash.c
> +++ skiboot.git/external/pflash/pflash.c
> @@ -282,7 +282,7 @@ static void program_file(const char *fil
>  		exit(1);
>  	}
>  	printf("About to program \"%s\" at 0x%08x..0x%08x !\n",
> -	       file, start, size);
> +	       file, start, start + size);
>  	check_confirm();
> 
>  	if (dummy_run) {
> @@ -339,7 +339,7 @@ static void do_read_file(const char *fil
>  		exit(1);
>  	}
>  	printf("Reading to \"%s\" from 0x%08x..0x%08x !\n",
> -	       file, start, size);
> +	       file, start, start + size);
> 
>  	progress_init(size >> 8);
>  	while(size) {
> 
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot



More information about the Skiboot mailing list