From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: gadget: net2280: Remove pci_class from PCI_TABLE
Date: Wed, 27 Aug 2014 12:25:47 -0700 [thread overview]
Message-ID: <20140827192547.GB9620@kroah.com> (raw)
In-Reply-To: <1409144429-23723-1-git-send-email-ricardo.ribalda@gmail.com>
On Wed, Aug 27, 2014 at 03:00:29PM +0200, Ricardo Ribalda Delgado wrote:
> Defining the vendor and the product id should be enough to discriminate
> the device.
>
> The reason for this patch is that there is a missmatch betweed the
> modalias showed by sysfs and the modalias generated by file2alias.
>
> One expects the programming interface in uppercase and the other
> generates it in lowercase.
I don't understand, what is wrong here? Who does it in uppercase and
who in lower? And does it matter? It's just a numeric value that
should not be used as a string compare.
> This means that some implementations modprobe will fail to load the
> driver.
What implementations fail to work? Shouldn't we fix the root of the
problem and not just patch up all drivers to display incorrect data?
And I mean incorrect, as you are changing the values here from being
very specific, to being much broader.
thanks,
greg k-h
next prev parent reply other threads:[~2014-08-27 19:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-27 13:00 [PATCH] usb: gadget: net2280: Remove pci_class from PCI_TABLE Ricardo Ribalda Delgado
2014-08-27 19:25 ` Greg Kroah-Hartman [this message]
2014-08-27 19:39 ` Ricardo Ribalda Delgado
2014-08-27 20:22 ` Greg Kroah-Hartman
2014-08-27 21:03 ` Ricardo Ribalda Delgado
2014-08-27 21:11 ` Greg Kroah-Hartman
2014-08-27 21:09 ` Bjørn Mork
2014-08-27 23:43 ` Greg Kroah-Hartman
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=20140827192547.GB9620@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=balbi@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ricardo.ribalda@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.