Sam Protsenko 97f3c09706 cmd: avb: Fix compiler warnings
When building U-Boot with AVB enabled, compiler shows next warnings:

    cmd/avb.c: In function 'do_avb_read_pvalue':
    cmd/avb.c:371:18: warning: format '%ld' expects argument of type
                      'long int', but argument 2 has type 'size_t'
                      {aka 'unsigned int'} [-Wformat=]
       printf("Read %ld bytes, value = %s\n", bytes_read,
                    ~~^                       ~~~~~~~~~~
                    %d

    cmd/avb.c: In function 'do_avb_write_pvalue':
    cmd/avb.c:404:19: warning: format '%ld' expects argument of type
                      'long int', but argument 2 has type '__kernel_size_t'
                      {aka 'unsigned int'} [-Wformat=]
       printf("Wrote %ld bytes\n", strlen(value) + 1);
                     ~~^           ~~~~~~~~~~~~~~~~~
                     %d

Fix those by using "%zu" specified.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com>
2019-08-07 15:31:04 -04:00
..
2019-04-22 12:06:39 -04:00
2019-04-22 12:06:39 -04:00
2019-04-22 12:06:39 -04:00
2017-02-08 15:56:28 -05:00
2019-07-24 13:16:29 -04:00
2019-08-07 15:31:04 -04:00
2018-08-11 09:16:08 +02:00
2019-07-30 12:57:01 +02:00
2017-07-03 17:35:28 -04:00
2019-05-21 07:52:34 +02:00
2018-05-23 17:30:05 -04:00
2019-05-09 16:47:52 +08:00
2018-12-04 19:44:57 +01:00
2018-09-25 21:49:18 -04:00
2019-02-19 08:55:43 -05:00
2018-09-23 21:55:30 +02:00
2019-05-02 18:17:50 +02:00
2019-06-21 10:07:11 -04:00
2019-07-24 13:16:29 -04:00
2019-05-04 19:26:49 +02:00
2019-07-18 11:31:25 -04:00
2016-10-06 20:57:42 -04:00
2018-09-28 18:27:33 +02:00
2019-07-24 13:16:29 -04:00
2018-05-08 09:07:35 -04:00
2019-03-25 17:36:53 -04:00
2019-01-15 15:28:44 -05:00
2019-01-15 15:28:44 -05:00
2019-01-15 15:28:44 -05:00
2018-09-28 20:22:36 -04:00
2019-04-12 07:04:18 +02:00
2018-07-02 14:14:20 -05:00
2019-01-15 15:28:44 -05:00