[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121209.003454.640487870743353259.davem@davemloft.net>
Date: Sun, 09 Dec 2012 00:34:54 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: sjur.brandeland@...ricsson.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] caif_usb: Make the driver name check more
efficient
From: Ben Hutchings <bhutchings@...arflare.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@...arflare.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?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists