Re: [PATCH 5/5] kfifo: log based kfifo API

2013-01-08 Thread Yuanhan Liu
On Tue, Jan 08, 2013 at 10:16:46AM -0800, Dmitry Torokhov wrote: > Hi Yuanhan, > > On Tue, Jan 08, 2013 at 10:57:53PM +0800, Yuanhan Liu wrote: > > The current kfifo API take the kfifo size as input, while it rounds > > _down_ the size to power of 2 at __kfifo_allo

[PATCH 5/5] kfifo: log based kfifo API

2013-01-08 Thread Yuanhan Liu
l.org Cc: linux-usb@vger.kernel.org Cc: linux...@kvack.org Cc: d...@vger.kernel.org Cc: linux-s...@vger.kernel.org Signed-off-by: Yuanhan Liu --- arch/arm/plat-omap/Kconfig |2 +- arch/arm/plat-omap/mailbox.c|6 +++- arch/powerpc/sysdev/fsl_rmu.c |

[PATCH] USB: use bus_to_hdc instead of container_of

2012-10-06 Thread Yuanhan Liu
We defined bus_to_hdc for that, use it. Signed-off-by: Yuanhan Liu --- drivers/usb/core/usb.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index cd8fb44..7d3de09 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb