Re: [PATCH] usb gadget: fix null pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



IIRC, patches some time ago made it possible to compile in several UDC
drivers so my understanding is that CONFIG_USB_GADGET_DUALSPEED should
not be used any more since some UDC drivers can be dual speed and others
might not.

On Wed, 17 Aug 2011 12:18:41 +0200, Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> wrote:
Oh. Nasty little thing. Indeed, this could cause harm for driver which do
not support DUALSPEED and it gets enabled via another driver.

Yep, that's why I think we should get rid of USB_GADGET_DUALSPEED all together. There are 15 places it used outside of Kconfig so it should not be very hard
to do.  If we agree that's the thing to do I prepare a patch if no one else
wishes to waste their time.

--
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michal "mina86" Nazarewicz    (o o)
ooo +-----<email/xmpp: mnazarewicz@xxxxxxxxxx>-----ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux