Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965292AbaGPEy7 (ORCPT ); Wed, 16 Jul 2014 00:54:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47670 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965256AbaGPEy4 (ORCPT ); Wed, 16 Jul 2014 00:54:56 -0400 Date: Tue, 15 Jul 2014 21:54:33 -0700 From: Greg KH To: Peter Senna Tschudin Cc: forest@alittletooquiet.net, tvboxspy@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH V5 6/6] staging: vt6556: Replace printk by dev_warn Message-ID: <20140716045433.GA32044@kroah.com> References: <1405457209-6584-1-git-send-email-peter.senna@gmail.com> <1405457209-6584-2-git-send-email-peter.senna@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1405457209-6584-2-git-send-email-peter.senna@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 15, 2014 at 10:46:49PM +0200, Peter Senna Tschudin wrote: > This patch fixes a checkpatch warning by replacing printk > by dev_warn. Tested by compilation only. > > Signed-off-by: Peter Senna Tschudin > --- > Changes from V4: > - use dev_warn instead of pr_warn > > drivers/staging/vt6656/main_usb.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c > index 7567646..6708e98 100644 > --- a/drivers/staging/vt6656/main_usb.c > +++ b/drivers/staging/vt6656/main_usb.c > @@ -527,7 +527,8 @@ static void usb_device_reset(struct vnt_private *pDevice) > > status = usb_reset_device(pDevice->usb); > if (status) > - printk("usb_device_reset fail status=%d\n",status); > + dev_warn(&pDevice->usb->dev, > + "usb_device_reset fail status=%d\n", status); > } > > static void device_free_int_bufs(struct vnt_private *priv) This doesn't apply to my latest tree, can you please refresh it and resend? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/