[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211021143503.xp7u6qmypvhbl5th@steredhat>
Date: Thu, 21 Oct 2021 16:35:03 +0200
From: Stefano Garzarella <sgarzare@...hat.com>
To: cgel.zte@...il.com
Cc: mst@...hat.com, jasowang@...hat.com, pbonzini@...hat.com,
stefanha@...hat.com, axboe@...nel.dk,
virtualization@...ts.linux-foundation.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Ye Guojin <ye.guojin@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] virtio-blk: fixup coccinelle warnings
On Thu, Oct 21, 2021 at 06:51:11AM +0000, cgel.zte@...il.com wrote:
>From: Ye Guojin <ye.guojin@....com.cn>
>
>coccicheck complains about the use of snprintf() in sysfs show
>functions:
>WARNING use scnprintf or sprintf
>
>Use sysfs_emit instead of scnprintf or sprintf makes more sense.
>
>Reported-by: Zeal Robot <zealci@....com.cn>
>Signed-off-by: Ye Guojin <ye.guojin@....com.cn>
>---
> drivers/block/virtio_blk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefano Garzarella <sgarzare@...hat.com>
Powered by blists - more mailing lists