[PATCH 2/6] usb: gadget: fsl_udc_core: delete __init marker for probe

2014-05-18 Thread Peter Chen
The probe function may be probed deferal and called after .init section has freed. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/fsl_udc_core.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/fsl_udc_core.c

[PATCH 1/6] usb: gadget: atmel_usba_udc: delete __init marker for probe

2014-05-18 Thread Peter Chen
The probe function may be probed deferal and called after .init section has freed. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/atmel_usba_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/atmel_usba_udc.c

[PATCH 4/6] usb: gadget: m66592-udc: delete __init marker for probe

2014-05-18 Thread Peter Chen
The probe function may be probed deferal and called after .init section has freed. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/m66592-udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/m66592-udc.c

[PATCH 6/6] usb: gadget: r8a66597-udc: delete __init marker for probe

2014-05-18 Thread Peter Chen
The probe function may be probed deferal and called after .init section has freed. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/r8a66597-udc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/r8a66597-udc.c

[PATCH 5/6] usb: gadget: fusb300_udc: delete __init marker for probe

2014-05-18 Thread Peter Chen
The probe function may be probed deferal and called after .init section has freed. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/fusb300_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/fusb300_udc.c

[PATCH 0/6] usb: gadget: Delete __init marker for probe

2014-05-18 Thread Peter Chen
The probe function may be probed deferal and called after .init section has freed. Peter Chen (6): usb: gadget: atmel_usba_udc: delete __init marker for probe usb: gadget: fsl_udc_core: delete __init marker for probe usb: gadget: lpc32xx: delete __init marker for probe usb: gadget:

[PATCH 3/6] usb: gadget: lpc32xx: delete __init marker for probe

2014-05-18 Thread Peter Chen
The probe function may be probed deferal and called after .init section has freed. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/lpc32xx_udc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/lpc32xx_udc.c

Re: [PATCH net-next v2 00/12] cdc_ncm: add buffer tuning and stats using ethtool

2014-05-18 Thread Enrico Mioso
Or a set of module parameters, allowing them to be tuned at run-time via (e.g.) the param directory of the module in sysfs? Yes, I imagine it's not the best solution. On Sun, 18 May 2014, Peter Stuge wrote: ==Date: Sun, 18 May 2014 03:19:17 ==From: Peter Stuge pe...@stuge.se ==Reply-To: Bjørn

Re: [PATCH net-next v2 00/12] cdc_ncm: add buffer tuning and stats using ethtool

2014-05-18 Thread Bjørn Mork
I could be wrong, but my impression is that the userspace API preferences for network devices are 1. ethtool 2. sysfs 3. module param .. 99. ioctl This is the primary reason why I was looking for someplace to put this within the existing ethtool API. Using sysfs would have worked fine too,

Re: [PATCH net-next v2 00/12] cdc_ncm: add buffer tuning and stats using ethtool

2014-05-18 Thread Lars Melin
On 2014-05-18 21:50, Bjørn Mork wrote: I could be wrong, but my impression is that the userspace API preferences for network devices are 1. ethtool 2. sysfs 3. module param .. 99. ioctl This is the primary reason why I was looking for someplace to put this within the existing ethtool

[no subject]

2014-05-18 Thread Michael Durkin
Im not sure if im even looking in the right resource ... I have a Fresco Logic USB3/2 to VGA adapter and im not sure if there is support for it in the kernel ... Vender id is 1d5c and the producet is 2000 -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a

Re: [PATCH net-next v2 00/12] cdc_ncm: add buffer tuning and stats using ethtool

2014-05-18 Thread David Miller
From: Bjørn Mork bj...@mork.no Date: Sun, 18 May 2014 16:50:30 +0200 I could be wrong, but my impression is that the userspace API preferences for network devices are 1. ethtool 2. sysfs 3. module param .. 99. ioctl I would swap module param and ioctl, module params are the least

[no subject]

2014-05-18 Thread lin du
subscribe linux-usb -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 0/13] make return of 0 explicit

2014-05-18 Thread Julia Lawall
Sometimes a local variable is used as a return value in a case where the return value is always 0. The result is more apparent if this variable is just replaced by 0. This is done by the following semantic patch, although some cleanups may be needed. (http://coccinelle.lip6.fr/) // smpl @r

[PATCH 5/13] usb: gadget: make return of 0 explicit

2014-05-18 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Delete unnecessary local variable whose value is always 0 and that hides the fact that the result is always 0. A simplified version of the semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @r exists@ local

[PROBLEM] USB problem causes the HW hang

2014-05-18 Thread lin du
Add linux-usb in loop. Hello, When reload the xhci_hcd.ko continuously as following, we will see many error messages, even HW hang! (almost 300 times; if no sleep between rmmod and modprobe driver, the value should be smaller). # rmmod xhci_hcd; modprobe xhci_hcd By the way, our kernel