From: David Miller <davem@davemloft.net>
To: david-b@pacbell.net
Cc: jussi.kivilinna@mbnet.fi, joe@perches.com,
netdev@vger.kernel.org, dbrownell@users.sourceforge.net
Subject: Re: Broken rndis_host with #define DEBUG (by a475f603d23392f386e45cf377b17c30ed3bbb80)
Date: Wed, 16 Jun 2010 18:11:45 -0700 (PDT) [thread overview]
Message-ID: <20100616.181145.02276685.davem@davemloft.net> (raw)
In-Reply-To: <299618.58880.qm@web180304.mail.gq1.yahoo.com>
From: David Brownell <david-b@pacbell.net>
Date: Sat, 12 Jun 2010 19:49:27 -0700 (PDT)
> --- On Sat, 6/12/10, Joe Perches <joe@perches.com> wrote:
>
>> > rndis_host oopses with #define DEBUG, in
>> generic_rndis_bind() when
>> > calling netif_dbg(). Problem is that
>> (netdev)->dev.parent is NULL
>
>> > (used in netdev_printk) while generic_rndis_bind is
>> called.Thanks.
>
> Should have been assigned by SET_NETDEV_DEV()
> in usbnet_probe() ... before calling the
> bind() routine
>
> Maybe just moving that SET_NETDEV_DEV earlier
> would suffice.
Can someone please submit a patch which does this?
Thanks!
prev parent reply other threads:[~2010-06-17 1:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-12 20:39 Broken rndis_host with #define DEBUG (by a475f603d23392f386e45cf377b17c30ed3bbb80) Jussi Kivilinna
2010-06-12 21:10 ` Joe Perches
2010-06-13 2:49 ` David Brownell
2010-06-17 1:11 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100616.181145.02276685.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=david-b@pacbell.net \
--cc=dbrownell@users.sourceforge.net \
--cc=joe@perches.com \
--cc=jussi.kivilinna@mbnet.fi \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).