Re: [patch v2] net/usb: remove err() messages in few drivers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Klimov
Date: Tuesday, January 13, 2009 - 5:22 pm

Hello, all

On Tue, Jan 13, 2009 at 2:07 PM, Oliver Neukum <oliver@neukum.org> wrote:

Yes, that's obviously right. I'll review and check patch again.
Thank you for your advices.


On Tue, Jan 13, 2009 at 12:46 PM, David Brownell <david-b@pacbell.net> wrote:

Well, in few v4l-dvb drivers successfully used &radio->usbdev->dev in
debug messages and that doesn't look wrong.

Hmm, i see that struct usb_interface passed to probe function for
example, and here in catc_irq_done struct urb passed, and then we have
struct catc. So, messages based on catc->usbdev->dev. I can switch to
&catc->netdev->dev when it's safe to do, right?
I didn't see way we can use &intv->dev in such functions. Am i wrong ?
In probe functions &intf->dev is right.

Btw, in patch "USB: remove info() macro from usb network drivers"

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=880c9c...

few messages based on &urb->dev->dev.

-- 
Best regards, Klimov Alexey
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread: