Re: [PATCH 7/8 v3] crypto:s5p-sss: validate iv before memcpy

2014-01-14 Thread Naveen Krishna Ch
Hello Tomasz, On 10 January 2014 21:33, Tomasz Figa wrote: > Hi Naveen, > > > On 10.01.2014 12:45, Naveen Krishna Chatradhi wrote: >> >> This patch adds code to validate "iv" buffer before trying to >> memcpy the contents >> >> Signed-off-by: Naveen Krishna Chatradhi >> --- >> Changes since v2:

[PATCH v2] drivers: i2c: silence a compile warning in i2c-s3c2410.c

2014-01-14 Thread y
From: Pankaj Dubey If used 64 bit compiler GCC warns that: drivers/i2c/busses/i2c-s3c2410.c: In function ‘s3c24xx_get_device_quirks’: drivers/i2c/busses/i2c-s3c2410.c:168:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] This patch fixes this by converting "uns

RE: [RFC PATCH 0/2] dwc2/s3c-hsotg: Initial steps to combine the 2 driver

2014-01-14 Thread Paul Zimmerman
> From: Dinh Nguyen [mailto:dingu...@altera.com] > Sent: Tuesday, January 14, 2014 1:30 PM > > On Tue, 2014-01-14 at 13:14 -0800, Greg KH wrote: > > On Tue, Jan 14, 2014 at 08:57:12PM +, Paul Zimmerman wrote: > > > > From: Dinh Nguyen [mailto:dingu...@altera.com] > > > > Sent: Tuesday, January

Re: [RFC PATCH 0/2] dwc2/s3c-hsotg: Initial steps to combine the 2 driver

2014-01-14 Thread Dinh Nguyen
On Tue, 2014-01-14 at 13:14 -0800, Greg KH wrote: > On Tue, Jan 14, 2014 at 08:57:12PM +, Paul Zimmerman wrote: > > > From: Dinh Nguyen [mailto:dingu...@altera.com] > > > Sent: Tuesday, January 14, 2014 12:46 PM > > > > > > On Tue, 2014-01-14 at 06:21 -0800, Greg KH wrote: > > > > On Tue, Jan

Re: [RFC PATCH 0/2] dwc2/s3c-hsotg: Initial steps to combine the 2 driver

2014-01-14 Thread Greg KH
On Tue, Jan 14, 2014 at 08:57:12PM +, Paul Zimmerman wrote: > > From: Dinh Nguyen [mailto:dingu...@altera.com] > > Sent: Tuesday, January 14, 2014 12:46 PM > > > > On Tue, 2014-01-14 at 06:21 -0800, Greg KH wrote: > > > On Tue, Jan 14, 2014 at 05:01:00AM -0600, dingu...@altera.com wrote: > > >

RE: [RFC PATCH 0/2] dwc2/s3c-hsotg: Initial steps to combine the 2 driver

2014-01-14 Thread Paul Zimmerman
> From: Dinh Nguyen [mailto:dingu...@altera.com] > Sent: Tuesday, January 14, 2014 12:46 PM > > On Tue, 2014-01-14 at 06:21 -0800, Greg KH wrote: > > On Tue, Jan 14, 2014 at 05:01:00AM -0600, dingu...@altera.com wrote: > > > From: Dinh Nguyen > > > > > > Hi, > > > > > > I'm starting work downstre

Re: [RFC PATCH 0/2] dwc2/s3c-hsotg: Initial steps to combine the 2 driver

2014-01-14 Thread Dinh Nguyen
On Tue, 2014-01-14 at 06:21 -0800, Greg KH wrote: > On Tue, Jan 14, 2014 at 05:01:00AM -0600, dingu...@altera.com wrote: > > From: Dinh Nguyen > > > > Hi, > > > > I'm starting work downstream on combining the DWC2 host driver and the > > s3c-hsotg > > gadget driver into a dual-role OTG driver.

Re: [PATCH 1/1] drivers: i2c: silence a compile warning in i2c-s3c2410.c

2014-01-14 Thread Wolfram Sang
On Fri, Jan 10, 2014 at 12:03:45PM +0900, Pankaj Dubey wrote: > If used 64 bit compiler GCC warns that: > > drivers/i2c/busses/i2c-s3c2410.c: In function ‘s3c24xx_get_device_quirks’: > drivers/i2c/busses/i2c-s3c2410.c:168:10: warning: cast from pointer to integer > of different size [-Wpointer-to-

Re: [PATCH RFC 04/10] base: power: Add generic OF-based power domain look-up

2014-01-14 Thread Kevin Hilman
Tomasz Figa writes: > This patch introduces generic code to perform power domain look-up using > device tree and automatically bind devices to their power domains. > Generic device tree binding is introduced to specify power domains of > devices in their device tree nodes. > > Backwards compatibi

Re: [PATCH 4/5] arm: omap3: twl: use the new lookup method with usb phy

2014-01-14 Thread Heikki Krogerus
On Tue, Jan 07, 2014 at 06:31:52PM +0530, Kishon Vijay Abraham I wrote: > > In any case, having two device names to deal with does not add any > > more risk. These associations should always be made in the place where > > the phy device is created so you will always know it's device name. > > huh.

Re: [PATCH 2/5] phy: add support for indexed lookup

2014-01-14 Thread Heikki Krogerus
Hi Kishon, And happy new year.. On Tue, Jan 07, 2014 at 07:10:36PM +0530, Kishon Vijay Abraham I wrote: > >>> /** > >>> - * phy_get() - lookup and obtain a reference to a phy. > >>> + * phy_get_index() - obtain a phy based on index > >> > >> NAK. It still takes a 'char' argument and the name is

Re: [PATCH] ARM: s3c24xx: explicit dependency on

2014-01-14 Thread Heiko Stübner
Am Dienstag, 14. Januar 2014, 15:13:08 schrieb Linus Walleij: > Previously the custom GPIO header for the S3C24xx would in turn > bring in the custom pin control implementation from > . This is not good as it mixes up two > subsystems and makes the dependencies hard to track. Make > the dependency

Re: [RFC PATCH 0/2] dwc2/s3c-hsotg: Initial steps to combine the 2 driver

2014-01-14 Thread Greg KH
On Tue, Jan 14, 2014 at 05:01:00AM -0600, dingu...@altera.com wrote: > From: Dinh Nguyen > > Hi, > > I'm starting work downstream on combining the DWC2 host driver and the > s3c-hsotg > gadget driver into a dual-role OTG driver. Before I go further, I was hoping > to > solicit comments on whet

Re: [PATCH] ARM: S3C[24|64]xx: move includes back under scope

2014-01-14 Thread Heiko Stübner
Am Dienstag, 14. Januar 2014, 14:53:38 schrieb Linus Walleij: > When refactoring and breaking out the includes for the > machine-specific GPIO configuration, two files were created > in , but as > that namespace shall be used for defining data exchanged > between machines and drivers, using it for

[PATCH] ARM: s3c24xx: explicit dependency on

2014-01-14 Thread Linus Walleij
Previously the custom GPIO header for the S3C24xx would in turn bring in the custom pin control implementation from . This is not good as it mixes up two subsystems and makes the dependencies hard to track. Make the dependency explicit by explicitly including the pin control header where needed. R

Re: [PATCH] ARM: S3C[24|64]xx: move includes back under scope

2014-01-14 Thread Arnd Bergmann
On Tuesday 14 January 2014 14:53:38 Linus Walleij wrote: > When refactoring and breaking out the includes for the > machine-specific GPIO configuration, two files were created > in , but as > that namespace shall be used for defining data exchanged > between machines and drivers, using it for these

Re: [PATCH] ARM: S3C[24|64]xx: move includes back under scope

2014-01-14 Thread Mark Brown
On Tue, Jan 14, 2014 at 02:53:38PM +0100, Linus Walleij wrote: > When refactoring and breaking out the includes for the > machine-specific GPIO configuration, two files were created > in , but as > that namespace shall be used for defining data exchanged > between machines and drivers, using it for

[PATCH] ARM: S3C[24|64]xx: move includes back under scope

2014-01-14 Thread Linus Walleij
When refactoring and breaking out the includes for the machine-specific GPIO configuration, two files were created in , but as that namespace shall be used for defining data exchanged between machines and drivers, using it for these broad macros and config settings is wrong. Move the headers back

[RFC PATCH 0/2] dwc2/s3c-hsotg: Initial steps to combine the 2 driver

2014-01-14 Thread dinguyen
From: Dinh Nguyen Hi, I'm starting work downstream on combining the DWC2 host driver and the s3c-hsotg gadget driver into a dual-role OTG driver. Before I go further, I was hoping to solicit comments on whether or not my initial approach is correct? I know there are plans to combine the 2, so wo

[RFC PATCH 2/2] usb: gadget: s3c-hsotg: move s3c-hsotg driver into dwc2

2014-01-14 Thread dinguyen
From: Dinh Nguyen In preparation for combining the dwc2 host driver and the s3c-hsotg gadget driver into a dual-role USB driver, move the s3c-hsotg into the same place with DWC2 host driver. Signed-off-by: Dinh Nguyen Cc: Paul Zimmerman Cc: Rashika Kheria Cc: Matthijs Kooijman Cc: Luis Orteg

[RFC PATCH 1/2] staging: dwc2: Move DWC2 usb driver out of staging

2014-01-14 Thread dinguyen
From: Dinh Nguyen Signed-off-by: Dinh Nguyen Cc: Paul Zimmerman Cc: Rashika Kheria Cc: Matthijs Kooijman Cc: Luis Ortega Perez de Villar Cc: Dom Cobley Cc: Ben Dooks Cc: Kukjin Kim Cc: Robert Baldyga Cc: Kyungmin Park Cc: Jingoo Han Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-s

Re: [PATCH 1/2 v3] ARM: s3c24xx: get rid of custom

2014-01-14 Thread Arnd Bergmann
On Tuesday 14 January 2014 11:42:08 Linus Walleij wrote: > On Wed, Jan 8, 2014 at 4:59 PM, Arnd Bergmann wrote: > > > I've asked the mighty grep and it said that these are the files > > using the contents you moved around: > > > > drivers/gpio/gpio-samsung.c > > drivers/leds/leds-s3c24xx.c > > dr

Re: [PATCH 1/2 v3] ARM: s3c24xx: get rid of custom

2014-01-14 Thread Linus Walleij
On Wed, Jan 8, 2014 at 4:59 PM, Arnd Bergmann wrote: > I've asked the mighty grep and it said that these are the files > using the contents you moved around: > > drivers/gpio/gpio-samsung.c > drivers/leds/leds-s3c24xx.c > drivers/mmc/host/s3cmci.c > sound/soc/samsung/h1940_uda1380.c > sound/soc/s