From: David Miller <davem@davemloft.net>
To: bhutchings@solarflare.com
Cc: sjur.brandeland@stericsson.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-next 2/2] caif_usb: Make the driver name check more efficient
Date: Sun, 09 Dec 2012 00:34:54 -0500 (EST) [thread overview]
Message-ID: <20121209.003454.640487870743353259.davem@davemloft.net> (raw)
In-Reply-To: <1354897227.2707.10.camel@bwh-desktop.uk.solarflarecom.com>
From: Ben Hutchings <bhutchings@solarflare.com>
Date: Fri, 7 Dec 2012 16:20:27 +0000
> Use the device model to get just the name, rather than using the
> ethtool API to get all driver information.
>
> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
> ---
> Compile-tested only. I'm assuming that the strncmp() is not really
> necessary, but perhaps there is some OOT variant of cdc_ncm that is also
> supposed to be supported?
Applied, I guess you found this while looking around for tests
of ethtool_ops being NULL?
next prev parent reply other threads:[~2012-12-09 5:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 16:20 [PATCH net-next 2/2] caif_usb: Make the driver name check more efficient Ben Hutchings
2012-12-07 23:41 ` Experimental network protocol produces "dropping frag" Templin, Fred L
2012-12-09 5:34 ` David Miller [this message]
2012-12-09 12:07 ` [PATCH net-next 2/2] caif_usb: Make the driver name check more efficient Ben Hutchings
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=20121209.003454.640487870743353259.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=bhutchings@solarflare.com \
--cc=netdev@vger.kernel.org \
--cc=sjur.brandeland@stericsson.com \
/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