Re: [PATCH] vhost: Coalesce vq_err formats, pr_fmt misuse, add missing newlines

From: Stefan Hajnoczi
Date: Mon May 22 2017 - 10:17:05 EST


On Mon, May 22, 2017 at 03:33:43AM -0700, Joe Perches wrote:
> vhost logging uses of vq_err has a few defects and style inconsistencies.
>
> o pr_debug already uses pr_fmt so its use in vq_err is defective
> however no #defines of pr_fmt exist in this code so no actual
> defects exist
> o vq_err uses need terminating newlines so add the missing ones
> o Coalesce formats and realign arguments
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> drivers/vhost/net.c | 17 ++++++-------
> drivers/vhost/scsi.c | 17 ++++++-------
> drivers/vhost/test.c | 4 +--
> drivers/vhost/vhost.c | 70 +++++++++++++++++++++++----------------------------
> drivers/vhost/vhost.h | 11 ++++----
> 5 files changed, 54 insertions(+), 65 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature