[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V2] block/vvfat: Fix bad printf format specifiers
From: |
Kevin Wolf |
Subject: |
Re: [PATCH V2] block/vvfat: Fix bad printf format specifiers |
Date: |
Tue, 3 Nov 2020 15:06:57 +0100 |
Am 03.11.2020 um 10:42 hat AlexChen geschrieben:
> We should use printf format specifier "%u" instead of "%d" for
> argument of type "unsigned int".
> In addition, fix two error format problems found by checkpatch.pl:
> ERROR: space required after that ',' (ctx:VxV)
> + fprintf(stderr,"%s attributes=0x%02x begin=%u size=%d\n",
> ^
> ERROR: line over 90 characters
> + fprintf(stderr, "%d, %s (%u, %d)\n", i, commit->path ? commit->path
> : "(null)", commit->param.rename.cluster, commit->action);
>
> Reported-by: Euler Robot <euler.robot@huawei.com>
> Signed-off-by: Alex Chen <alex.chen@huawei.com>
Thanks, applied to the block branch.
Kevin