Hi Samuel,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on next-20200507]
[also build test ERROR on dm/for-next]
[cannot apply to v5.7-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '
Hi Mike,
You are right.
I did not notice that the macro DMEMIT uses the sz variable.
Thanks.
On 2020/5/7 22:29, Mike Snitzer wrote:
On Thu, May 07 2020 at 8:26am -0400,
Samuel Zou wrote:
This patch fixes below warning reported by coccicheck:
drivers/md/dm-historical-service-time.c:240:14-
On Thu, May 07 2020 at 8:26am -0400,
Samuel Zou wrote:
> This patch fixes below warning reported by coccicheck:
>
> drivers/md/dm-historical-service-time.c:240:14-16: Unneeded variable: "sz".
> Return "0" on line 261
>
> Reported-by: Hulk Robot
> Signed-off-by: Samuel Zou
Nack.
DMEMIT() u
This patch fixes below warning reported by coccicheck:
drivers/md/dm-historical-service-time.c:240:14-16: Unneeded variable: "sz".
Return "0" on line 261
Reported-by: Hulk Robot
Signed-off-by: Samuel Zou
---
drivers/md/dm-historical-service-time.c | 3 +--
1 file changed, 1 insertion(+), 2 de
4 matches
Mail list logo