Re: [PATCH] usb: gadget: zero: fix format string warnings

2015-01-23 Thread Amit Virdi
string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/usb/gadget/function/f_sourcesink.c:1608]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int' Signed-off-by: Asaf Vertz --- drivers/usb

Re: Enabling ftrace on ARM MMU-less system

2014-09-30 Thread Amit Virdi
On Tue, Sep 30, 2014 at 4:26 PM, Amit Virdi wrote: > I'm trying to enable Ftrace on my ARM based MMU-less system. > Unexpectedly, I don't see tracing directory under /sys/kernel/debug I forgot to mention that I'm using read-only filesystem (cramfs). -- To unsubscribe fro

Enabling ftrace on ARM MMU-less system

2014-09-30 Thread Amit Virdi
Hi, I'm trying to enable Ftrace on my ARM based MMU-less system. Unexpectedly, I don't see tracing directory under /sys/kernel/debug I have done the following so far but no success: 1. Verified that I have enabled these flags in my .config CONFIG_FUNCTION_TRACER CONFIG_FUNCTION_GRAPH_TRACE

[PATCH V2] usb: core: allow zero packet flag for interrupt urbs

2014-07-20 Thread Amit Virdi
nel throws warning of BOGUS transfer flags. Signed-off-by: Amit Virdi Acked-by: Hans de Goede --- drivers/usb/core/urb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c index 991386ceb4ec..c9e8ee81b6b7 100644 --- a/drivers/usb/core/urb.c +++ b/d

Re: [PATCH] usb: core: allow zero packet flag for interrupt urbs

2014-07-20 Thread Amit Virdi
On 7/18/2014 8:09 PM, Alan Stern wrote: On Fri, 18 Jul 2014, Amit Virdi wrote: On 7/17/2014 8:25 PM, Alan Stern wrote: I can't say this is actually wrong, but have you ever encountered a situation where this would be needed? How often does anyone need to do a multi-packet transfer ov

Re: [PATCH] usb: core: allow zero packet flag for interrupt urbs

2014-07-18 Thread Amit Virdi
break; } allowed &= urb->transfer_flags; --- Otherwise, it sets zero packet flag for control out transfers too. I'll send a V2 with this change if you agree to setting of the zero packet flag for interrupt transfers. Regards Amit Virdi -- To unsubscribe from this list: send

[PATCH] usb: core: allow zero packet flag for interrupt urbs

2014-07-17 Thread Amit Virdi
: Amit Virdi --- drivers/usb/core/urb.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c index 991386c..a136246 100644 --- a/drivers/usb/core/urb.c +++ b/drivers/usb/core/urb.c @@ -460,6 +460,10 @@ int usb_submit_urb(struct urb *urb, gfp_t

Re: [PATCH] ARM: asm: Configure caches as per the defconfig

2013-11-28 Thread Amit Virdi
On 11/28/2013 3:41 PM, Russell King - ARM Linux wrote: On Thu, Nov 28, 2013 at 11:12:55AM +0530, Amit Virdi wrote: On 11/27/2013 5:44 PM, Russell King - ARM Linux wrote: On Wed, Nov 27, 2013 at 05:24:04PM +0530, Amit Virdi wrote: From: Amit VIRDI In the current implementation of the

Re: [PATCH] ARM: asm: Configure caches as per the defconfig

2013-11-27 Thread Amit Virdi
On 11/27/2013 5:44 PM, Russell King - ARM Linux wrote: On Wed, Nov 27, 2013 at 05:24:04PM +0530, Amit Virdi wrote: From: Amit VIRDI In the current implementation of the decompression code, the caches are enabled irrespective of their configuration in the deconfig. This makes setting the

[PATCH] ARM: asm: Configure caches as per the defconfig

2013-11-27 Thread Amit Virdi
From: Amit VIRDI In the current implementation of the decompression code, the caches are enabled irrespective of their configuration in the deconfig. This makes setting the ICACHE and DCACHE disable options from the menuconfig irrelevant. Change this implementation to enable caches only if