[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPybu_2RA90txoSC6qQZ=3JY8U9UCE_BVZQxfnjEKAEO9imi5w@mail.gmail.com>
Date: Mon, 19 May 2014 21:43:04 +0200
From: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: "balbi@...com" <balbi@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux USB Mailing List <linux-usb@...r.kernel.org>,
Amit Uttamchandani <auttamchandani@...icube.com>,
Alan Stern <stern@...land.harvard.edu>
Subject: Re: [PATCH 5/5] usb: gadget: net2280: Use pr_* function
Hello Joe
OK, then I will use dev_vdbg. Thanks!
On Mon, May 19, 2014 at 9:42 PM, Joe Perches <joe@...ches.com> wrote:
> On Mon, 2014-05-19 at 21:33 +0200, Ricardo Ribalda Delgado wrote:
>> I think dev_vdg cannot be controlled with DYNAMIC_DEBUG, therefore I
>> replaced it with dev_dbg.
>>
>> But if you prefer to use dev_dbg, I will modify it to use dev_dbg
>
> s/VDEBUG/dev_vdbg/
>
> dev_vdbg can be controlled by DYNAMIC_DEBUG.
>
> dev_vdbg is dev_dbg when VERBOSE_DEBUG is set.
>
> include/linux/device.h-#ifdef VERBOSE_DEBUG
> include/linux/device.h:#define dev_vdbg dev_dbg
> include/linux/device.h-#else
> include/linux/device.h:#define dev_vdbg(dev, format, arg...) \
> include/linux/device.h-({ \
> include/linux/device.h- if (0) \
> include/linux/device.h- dev_printk(KERN_DEBUG, dev, format, ##arg); \
> include/linux/device.h- 0; \
> include/linux/device.h-})
>
>
--
Ricardo Ribalda
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists