[PATCH] Staging: rtl8192u: r819xU_firmware_img.c Fixed checkpatch.pl ERRORs

2014-05-24 Thread Chaitanya Hazarey
Fixed a lot of errors of the type "ERROR: space required after that ',' (ctx:VxV)" Signed-off-by: Chaitanya Hazarey --- drivers/staging/rtl8192u/r819xU_firmware_img.c | 1036 1 file changed, 518 insertions(+), 518 deletions(-) diff --git

Greetings From Brian

2014-05-24 Thread Brian Shields
I apologize for using this medium to reach out to you however, I am compelled by the urgency of my situation to contact you. I am a US Army Officer currently on mission in Libya. I would need your assistance to invest the sum of US$ 2.5M for me in your region. If you can offer me some

[PATCHv2 net-next 0/4] bridge: multicast snooping patches / exports

2014-05-24 Thread Linus Lüssing
Changes in v2: * fix a nasty typo in PATCH 1/4, br_multicast_update_query_timer(): "br->multicast_query_interval" vs. "br->multicast_querier_interval" => this accidentally reduced the other querier present timer from 255 to 125 seconds * fix a typo in PATCH 2/4,

[PATCHv2 net-next 2/4] bridge: adhere to querier election mechanism specified by RFCs

2014-05-24 Thread Linus Lüssing
MLDv1 (RFC2710 section 6), MLDv2 (RFC3810 section 7.6.2), IGMPv2 (RFC2236 section 3) and IGMPv3 (RFC3376 section 6.6.2) specify that the querier with lowest source address shall become the selected querier. So far the bridge stopped its querier as soon as it heard another querier regardless of

[PATCHv2 net-next 3/4] bridge: add export of multicast database adjacent to net_dev

2014-05-24 Thread Linus Lüssing
With this new, exported function br_multicast_list_adjacent(net_dev) a list of IPv4/6 addresses is returned. This list contains all multicast addresses sensed by the bridge multicast snooping feature on all bridge ports of the bridge interface of net_dev, excluding addresses from the specified

[PATCHv2 net-next 1/4] bridge: rename struct bridge_mcast_query/querier

2014-05-24 Thread Linus Lüssing
The current naming of these two structs is very random, in that reversing their naming would not make any semantical difference. This patch tries to make the naming less confusing by giving them a more specific, distinguishable naming. This is also useful for the upcoming patches reintroducing

[PATCHv2 net-next 4/4] bridge: memorize and export selected IGMP/MLD querier port

2014-05-24 Thread Linus Lüssing
Adding bridge support to the batman-adv multicast optimization requires batman-adv knowing about the existence of bridged-in IGMP/MLD queriers to be able to reliably serve any multicast listener behind this same bridge. Signed-off-by: Linus Lüssing --- include/linux/if_bridge.h |1 +

[PATCH] perf: fix 'make help' message error

2014-05-24 Thread Jianyu Zhan
Currently 'make help' message has such hint: use "make prefix= " to install to a particular path like make prefix=/usr/local install install-doc But this is misleading, when I specify "prefix=/usr/local", it has got no respect at all. Instead, what takes effect is the "DESTDIR"

Re: [PATCH 1/4] lib/debugobjects.c: convert printk to pr_foo()

2014-05-24 Thread Josh Triplett
On Sun, May 25, 2014 at 05:18:36AM +0200, Fabian Frederick wrote: > On Sat, 24 May 2014 14:53:22 -0700 > Josh Triplett wrote: > > > On Sat, May 24, 2014 at 03:06:08PM +0200, Fabian Frederick wrote: > > > Convert all except KERN_DEBUG > > > > Why not KERN_DEBUG? > printk(KERN_DEBUG can't be

Re: [PATCH v2] net: driver: stmicro: Remove some useless the lock protection

2014-05-24 Thread David Miller
From: Date: Sun, 25 May 2014 09:53:44 +0800 > From: Yang Wei > > kernel always invokes a pair of rtnl_lock adn rtnl_unlock to > protect dev_ethtool(), so its not neccessary to invoke spin_lock/unlock > in ethtool_ops. > > Signed-off-by: Yang Wei Applied to net-next, thanks. -- To

Re: [PATCH 3/4] lib/debugobjects.c: move __initdata after name

2014-05-24 Thread Josh Triplett
Adding Andy and Joe to CC. On Sun, May 25, 2014 at 05:13:38AM +0200, Fabian Frederick wrote: > On Sat, 24 May 2014 14:56:35 -0700 > Josh Triplett wrote: > > > On Sat, May 24, 2014 at 03:07:19PM +0200, Fabian Frederick wrote: > > > Cc: Josh Triplett > > > Cc: Andrew Morton > > > Signed-off-by:

Re: [PATCH 1/4] lib/debugobjects.c: convert printk to pr_foo()

2014-05-24 Thread Fabian Frederick
On Sat, 24 May 2014 14:53:22 -0700 Josh Triplett wrote: > On Sat, May 24, 2014 at 03:06:08PM +0200, Fabian Frederick wrote: > > Convert all except KERN_DEBUG > > Why not KERN_DEBUG? printk(KERN_DEBUG can't be converted to pr_debug the same way as other printk. -- To unsubscribe from this list:

Re: [PATCH 4/4] lib/debugobjects.c: code clean-up

2014-05-24 Thread Fabian Frederick
On Sat, 24 May 2014 15:00:09 -0700 Josh Triplett wrote: > On Sat, May 24, 2014 at 03:08:06PM +0200, Fabian Frederick wrote: > > Fix some checkpatch warnings. > > > > Cc: Josh Triplett > > Cc: Andrew Morton > > Signed-off-by: Fabian Frederick > > Some of these make sense, one of them does

Re: [PATCH 3/4] lib/debugobjects.c: move __initdata after name

2014-05-24 Thread Fabian Frederick
On Sat, 24 May 2014 14:56:35 -0700 Josh Triplett wrote: > On Sat, May 24, 2014 at 03:07:19PM +0200, Fabian Frederick wrote: > > Cc: Josh Triplett > > Cc: Andrew Morton > > Signed-off-by: Fabian Frederick > > No, don't make this change. A quick "git grep __initdata" shows that to > the

[PATCH v2] net: driver: stmicro: Remove some useless the lock protection

2014-05-24 Thread Wei.Yang
From: Yang Wei kernel always invokes a pair of rtnl_lock adn rtnl_unlock to protect dev_ethtool(), so its not neccessary to invoke spin_lock/unlock in ethtool_ops. Signed-off-by: Yang Wei --- Hi David, I regenerate this patch based on net/next repo in v2. Wei

[FIX] [CRITICAL] Re: [PATCH] clk: divider: Fix overflow in clk_divider_bestdiv

2014-05-24 Thread Tomasz Figa
Mike, On 15.05.2014 18:51, Tomasz Figa wrote: > Hi Mike, > > On 07.05.2014 18:24, Tomasz Figa wrote: >> Commit c686078 ("clk: divider: Add round to closest divider") introduced >> a helper function to check whether given divisor is the best one instead >> of direct check. However due to int type

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-24 Thread Serge Hallyn
Quoting James Bottomley (james.bottom...@hansenpartnership.com): > On Fri, 2014-05-23 at 11:20 +0300, Marian Marinov wrote: > > On 05/20/2014 05:19 PM, Serge Hallyn wrote: > > > Quoting Andy Lutomirski (l...@amacapital.net): > > >> On May 15, 2014 1:26 PM, "Serge E. Hallyn" wrote: > > >>> > >

[PATCH 3/3] staging: comedi: addi_apci_1564: introduce apci1564_private struct

2014-05-24 Thread Chase Southwood
The addi_private struct defined in addi-data/addi_common.h is very bloated and contains many fields which addi_apci_1564 does not require. In the interest of eventually removing this driver's dependency on addi_common.h, we can create a private data struct specifically for addi_apci_1564

[PATCH 2/3] staging: comedi: addi_apci_1564: remove send_sig() use

2014-05-24 Thread Chase Southwood
The addi-data drivers use send_sig() to let the user know when an interrupt has occurred. The "standard" way to do this in the comedi subsystem is to have a subdevice that supports asynchronous commands and use comedi_event() to signal the user. Remove the send_sig() usage in this driver.

[PATCH 1/3] staging: comedi: addi_apci_1564: add a subdevice for Change-of-State interrupt support

2014-05-24 Thread Chase Southwood
This board supports an interrupt that can be generated by an AND/OR combination of 16 of the input channels. Create a separate subdevice to handle this interrupt. In doing this, this patch moves the apci1564_di_config() operation from the digital input subdevice to this new subdevice, and also

[PATCH 0/3] staging: comedi: addi_apci_1564: prepare for adding Change-of-State interrupt support

2014-05-24 Thread Chase Southwood
This patchset adds the required subdevice for supporting DI COS interrupts, as well as introducing a driver-specific private data struct that will make the COS interrupt operations much more straightforward and clean. Chase Southwood (3): staging: comedi: addi_apci_1564: add a subdevice for

Re: [PATCH 4/4] lib/debugobjects.c: code clean-up

2014-05-24 Thread Josh Triplett
On Sat, May 24, 2014 at 03:08:06PM +0200, Fabian Frederick wrote: > Fix some checkpatch warnings. > > Cc: Josh Triplett > Cc: Andrew Morton > Signed-off-by: Fabian Frederick Some of these make sense, one of them does not. Comments below. Also, please explicitly note the checkpatch warnings

Re: [PATCH 3/4] lib/debugobjects.c: move __initdata after name

2014-05-24 Thread Josh Triplett
On Sat, May 24, 2014 at 03:07:19PM +0200, Fabian Frederick wrote: > Cc: Josh Triplett > Cc: Andrew Morton > Signed-off-by: Fabian Frederick No, don't make this change. A quick "git grep __initdata" shows that to the extent it has a consistent placement, it's either right after the type

Re: [PATCH 2/4] lib/debugobjects.c: add pr_fmt to logging

2014-05-24 Thread Josh Triplett
On Sat, May 24, 2014 at 03:06:55PM +0200, Fabian Frederick wrote: > Add ODEBUG: prefix to pr_fmt > > Cc: Josh Triplett > Cc: Andrew Morton > Signed-off-by: Fabian Frederick Reviewed-by: Josh Triplett > lib/debugobjects.c | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-)

Re: [PATCH 1/4] lib/debugobjects.c: convert printk to pr_foo()

2014-05-24 Thread Josh Triplett
On Sat, May 24, 2014 at 03:06:08PM +0200, Fabian Frederick wrote: > Convert all except KERN_DEBUG Why not KERN_DEBUG? > Cc: Josh Triplett > Cc: Andrew Morton > Signed-off-by: Fabian Frederick Reviewed-by: Josh Triplett > lib/debugobjects.c | 12 +--- > 1 file changed, 5

[usb-dev] [probably a bug] GINZZU GR-126B cardreader misbehavior.

2014-05-24 Thread Sarbash Sergey
Hello, dear Developers. Recently, I've got this device: http://ginzzu.com/rus_level5_tab1.php?lang=NAME_ENG=520=-1=51_id=-10 It is an internal usb-cardreader. lsusb shows it as Bus 003 Device 004: ID 14cd:168a Super Top A manufacturer claims that it works in linux systems but that's not

Re: [PATCH] ARM: imx: introduce function imx_free_mx3_camera

2014-05-24 Thread Uwe Kleine-König
Hello, On Sat, May 24, 2014 at 01:05:00PM -0700, Greg Kroah-Hartman wrote: > Please feel free to break it up as asked for and I'll be glad to > consider it then. ack Uwe -- Pengutronix e.K. | Uwe Kleine-König| Industrial Linux Solutions |

Re: sparc64 WARNING: at mm/mmap.c:2757 exit_mmap+0x13c/0x160()

2014-05-24 Thread David Miller
From: mr...@linux.ee Date: Sat, 24 May 2014 23:02:28 +0300 (EEST) > This is todays fresh git with 3.15.0-rc6-00190-g1ee1cea on V210, THP > enabled & always on. Got this and a segfault on apt-spawned xz. Thanks a lot for the report. I've been bogged down with other things but I will come back

[PATCH linux-next] DRM: Armada: update dma_buf_export use

2014-05-24 Thread Vincent Stehlé
The dma_buf_export function was updated in commit 4bcec44ffaf9 'dma-buf: use reservation objects' to take a reservation object parameter; update Armada export method accordingly. This fixes the following compilation error: drivers/gpu/drm/armada/armada_gem.c: In function

Re: [PATCH] USB: cdc-acm: fix broken runtime suspend

2014-05-24 Thread Johan Hovold
On Sat, May 24, 2014 at 12:59:07PM -0700, Greg Kroah-Hartman wrote: > On Sat, May 24, 2014 at 04:42:42PM +0200, Johan Hovold wrote: > > Could you please discard this one for now? I've found a couple of more > > PM related problems and I'll submit a slight update of this one as part > > of a

Re: [PATCH] ARM: imx: introduce function imx_free_mx3_camera

2014-05-24 Thread Greg Kroah-Hartman
On Sat, May 24, 2014 at 05:22:00PM +0200, Emil Goode wrote: > Hello Uwe and Greg, > > > You'd do a better deed if you picked up > > http://thread.gmane.org/gmane.linux.kernel/1613364/focus=1635995 > > Since there is nothing wrong with the last version of the patch in > the above thread, I feel

Re: sparc64 WARNING: at mm/mmap.c:2757 exit_mmap+0x13c/0x160()

2014-05-24 Thread mroos
This is todays fresh git with 3.15.0-rc6-00190-g1ee1cea on V210, THP enabled & always on. Got this and a segfault on apt-spawned xz. [ 142.599575] [ cut here ] [ 142.660349] WARNING: CPU: 1 PID: 2237 at mm/mmap.c:2741 exit_mmap+0x140/0x160() [ 142.756483] Modules

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-24 Thread Marek Vasut
On Saturday, May 24, 2014 at 09:51:59 PM, Tomasz Figa wrote: [...] > >>> Why sun7i-a20 ? Is the crypto unit different in other sunxi chips ? Can > >>> that not be described by DT props ? > >> > >> A widely used convention is to define compatible strings after first > >> SoCs on which particular

Re: [PATCH] USB: cdc-acm: fix broken runtime suspend

2014-05-24 Thread Greg Kroah-Hartman
On Sat, May 24, 2014 at 04:42:42PM +0200, Johan Hovold wrote: > On Mon, Apr 14, 2014 at 09:58:12PM +0200, Johan Hovold wrote: > > The current ACM runtime-suspend implementation is broken in several > > ways: > > > > Firstly, it buffers only the first write request being made while > > suspended

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-24 Thread Tomasz Figa
On 24.05.2014 21:43, Marek Vasut wrote: > On Saturday, May 24, 2014 at 09:20:03 PM, Tomasz Figa wrote: >> Hi Marek, >> >> On 24.05.2014 13:21, Marek Vasut wrote: >>> On Thursday, May 22, 2014 at 05:09:54 PM, LABBE Corentin wrote: >>> >>> Missing commit message. Please fix this and send a V2. >>>

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-24 Thread Marek Vasut
On Saturday, May 24, 2014 at 09:20:03 PM, Tomasz Figa wrote: > Hi Marek, > > On 24.05.2014 13:21, Marek Vasut wrote: > > On Thursday, May 22, 2014 at 05:09:54 PM, LABBE Corentin wrote: > > > > Missing commit message. Please fix this and send a V2. > > > >> Signed-off-by: LABBE Corentin > >>

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-24 Thread Tomasz Figa
Hi Marek, On 24.05.2014 13:21, Marek Vasut wrote: > On Thursday, May 22, 2014 at 05:09:54 PM, LABBE Corentin wrote: > > Missing commit message. Please fix this and send a V2. > >> Signed-off-by: LABBE Corentin >> --- >> Documentation/devicetree/bindings/crypto/sunxi-ss.txt | 9 + >> 1

Re: [PATCH] msi3103: Use time_before_eq()

2014-05-24 Thread Joe Perches
On Sat, 2014-05-24 at 20:47 +0200, Manuel Schölling wrote: > To be future-proof and for better readability the time comparisons are > modified to use time_before_eq() instead of plain, error-prone math. A couple of unrelated, trivial notes: (repeated a few times) > diff --git

[PATCH 2/6] mm/zbud: change zbud_alloc size type to size_t

2014-05-24 Thread Dan Streetman
Change the type of the zbud_alloc() size param from unsigned int to size_t. Technically, this should not make any difference, as the zbud implementation already restricts the size to well within either type's limits; but as zsmalloc (and kmalloc) use size_t, and zpool will use size_t, this brings

[PATCH 4/6] mm/zpool: zbud/zsmalloc implement zpool

2014-05-24 Thread Dan Streetman
Update zbud and zsmalloc to implement the zpool api. Signed-off-by: Dan Streetman Cc: Seth Jennings Cc: Minchan Kim Cc: Nitin Gupta Cc: Weijie Yang --- New for this patch set. mm/zbud.c | 78 mm/zsmalloc.c | 81

[PATCHv2 1/6] mm/zbud: zbud_alloc() minor param change

2014-05-24 Thread Dan Streetman
Change zbud to store gfp_t flags passed at pool creation to use for each alloc; this allows the api to be closer to the existing zsmalloc interface, and the only current zbud user (zswap) uses the same gfp flags for all allocs. Update zswap to use changed interface. Signed-off-by: Dan Streetman

[PATCHv3 5/6] mm/zpool: update zswap to use zpool

2014-05-24 Thread Dan Streetman
Change zswap to use the zpool api instead of directly using zbud. Add a boot-time param to allow selecting which zpool implementation to use, with zbud as the default. Signed-off-by: Dan Streetman Cc: Seth Jennings Cc: Weijie Yang --- Changes since v2 : https://lkml.org/lkml/2014/5/7/894

[PATCHv3 3/6] mm/zpool: implement common zpool api to zbud/zsmalloc

2014-05-24 Thread Dan Streetman
Add zpool api. zpool provides an interface for memory storage, typically of compressed memory. Users can select what backend to use; currently the only implementations are zbud, a low density implementation with up to two compressed pages per storage page, and zsmalloc, a higher density

[PATCH 6/6] mm/zpool: prevent zbud/zsmalloc from unloading when used

2014-05-24 Thread Dan Streetman
Add try_module_get() to pool creation functions for zbud and zsmalloc, and module_put() to pool destruction functions, since they now can be modules used via zpool. Without usage counting, they could be unloaded while pool(s) were active, resulting in an oops. Signed-off-by: Dan Streetman Cc:

[PATCHv3 0/6] mm/zpool: add common api for zswap to use zbud/zsmalloc

2014-05-24 Thread Dan Streetman
In order to allow zswap users to choose between zbud and zsmalloc for the compressed storage pool, this patch set adds a new api "zpool" that provides an interface to both zbud and zsmalloc. Only minor changes to zbud's interface were needed. This does not include implementing shrinking in

Re: [PATCH 21/24] ARM64:ILP32: The native siginfo is used instead of the compat siginfo.

2014-05-24 Thread H. Peter Anvin
On 05/24/2014 12:02 AM, Andrew Pinski wrote: > > +/* ILP32 uses the native siginfo and not the compat struct */ > +#define COMPAT_USE_NATIVE_SIGINFO!is_a32_compat_task() > + Probably want parens around that expression? -hpa -- To unsubscribe from this list: send the line

[PATCH] msi3103: Use time_before_eq()

2014-05-24 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before_eq() instead of plain, error-prone math. Signed-off-by: Manuel Schölling --- drivers/staging/media/msi3101/sdr-msi3101.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [PATCH] parport: Add support for the WCH353 1S/1P multi-IO card

2014-05-24 Thread Ezequiel Garcia
(Ccing linux-serial) On 24 May 03:24 PM, Ezequiel Garcia wrote: > This Multi-IO card has one serial 16550-like and one parallel port connector. > Here's the lspci output, after this commit is applied: > > 03:07.0 Serial controller: Device 4348:5053 (rev 10) (prog-if 02 [16550]) >

[PATCH] parport: Add support for the WCH353 1S/1P multi-IO card

2014-05-24 Thread Ezequiel Garcia
This Multi-IO card has one serial 16550-like and one parallel port connector. Here's the lspci output, after this commit is applied: 03:07.0 Serial controller: Device 4348:5053 (rev 10) (prog-if 02 [16550]) Subsystem: Device 4348:5053 Control: I/O+ Mem- BusMaster- SpecCycle-

Re: randconfig build error with next-20140523, in net/bridge/br_netfilter.c

2014-05-24 Thread David Miller
From: Jim Davis Date: Fri, 23 May 2014 13:06:48 -0700 > Building with the attached random configuration file, > > warning: (BRIDGE_NF_EBTABLES) selects NETFILTER_XTABLES which has > unmet direct dependencies (NET && INET && NETFILTER) > warning: (NF_TABLES_BRIDGE && BRIDGE_NF_EBTABLES) selects

Re: [PATCH v2 1/2] of: Ensure unique names without sacrificing determinism

2014-05-24 Thread Ezequiel Garcia
On 23 May 08:36 AM, Grant Likely wrote: > The way the driver core is implemented, every device using the same bus > type is required to have a unique name because a symlink to each device > is created in the appropriate /sys/bus/*/devices directory, and two > identical names causes a collision. >

Re: pull request: wireless 2014-05-23

2014-05-24 Thread David Miller
From: "John W. Linville" Date: Fri, 23 May 2014 11:07:34 -0400 > I have two more fixes intended for the 3.15 stream... > > For the iwlwifi one, Emmanuel says: > > "A race has been discovered in the beacon filtering code. Since the > fix is too big for 3.15, I disable here the feature." > >

Re: [PATCH v2 0/4] ks8851 DT/regulator/gpio updates

2014-05-24 Thread David Miller
From: Stephen Boyd Date: Fri, 23 May 2014 12:57:16 -0700 > This set of patches properly documents the micrel ks8851 spi ethernet > controller, converts to devm_regulator_get_optional() to make error > paths slightly simpler, and finally adds supports for another > optional regulator and a reset

CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi, I was trying to understand the workqueues in more details: e.g. it is given kworker/u4:0 kworker/0:0 What does u4:0 represents and similarily 0:0 represents. I was glancing into the code when pool->cpu>0, there is u appended. Can you please explain u4:0 and 0:0 (what does it represent)

Re: [PATCH 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-05-24 Thread Marek Vasut
On Friday, May 23, 2014 at 12:46:10 PM, Arnd Bergmann wrote: > On Thursday 22 May 2014, Corentin LABBE wrote: > > Le 22/05/2014 17:28, Arnd Bergmann a écrit : > > > On Thursday 22 May 2014 17:09:56 LABBE Corentin wrote: > > >> Signed-off-by: LABBE Corentin > > > > > > My feeling is that this

CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi, I was trying to understand the workqueues in more details: e.g. it is given kworker/u4:0 kworker/0:0 What does u4:0 represents and similarily 0:0 represents. I was glancing into the code when pool->cpu>0, there is u appended. Can you please explain u4:0 and 0:0 (what does it represent)

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-24 Thread Marek Vasut
On Thursday, May 22, 2014 at 05:09:54 PM, LABBE Corentin wrote: Missing commit message. Please fix this and send a V2. > Signed-off-by: LABBE Corentin > --- > Documentation/devicetree/bindings/crypto/sunxi-ss.txt | 9 + > 1 file changed, 9 insertions(+) > create mode 100644

CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi, I was trying to understand the workqueues in more details: e.g. it is given kworker/u4:0 kworker/0:0 What does u4:0 represents and similarily 0:0 represents. I was glancing into the code when pool->cpu>0, there is u appended. Can you please explain u4:0 and 0:0 (what does it represent)

CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi, I was trying to understand the workqueues in more details: e.g. it is given kworker/u4:0 kworker/0:0 What does u4:0 represents and similarily 0:0 represents. I was glancing into the code when pool->cpu>0, there is u appended. Can you please explain u4:0 and 0:0 (what does it represent)

CMWQ workqueue questions

2014-05-24 Thread Deepa Raj
Hi, I was trying to understand the workqueues in more details: e.g. it is given kworker/u4:0 kworker/0:0 What does u4:0 represents and similarily 0:0 represents. I was glancing into the code when pool->cpu>0, there is u appended. Can you please explain u4:0 and 0:0 (what does it represent)

Re: [PATCH 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-05-24 Thread Marek Vasut
On Thursday, May 22, 2014 at 05:09:56 PM, LABBE Corentin wrote: Do I have to repeat myself ? :) > Signed-off-by: LABBE Corentin > --- > drivers/crypto/Kconfig| 49 ++ > drivers/crypto/Makefile |1 + > drivers/crypto/sunxi-ss.c | 1476 > +

Re: [PATCH] crypto: x86/sha1: fix coverity CID 1195603

2014-05-24 Thread Marek Vasut
On Thursday, May 08, 2014 at 03:30:25 PM, Herbert Xu wrote: > On Wed, Apr 30, 2014 at 03:17:54PM -0400, Milos Vyletel wrote: > > Coverity detected possible use of uninitialized pointer when printing > > info message during module load. While this is higly unlikely to cause > > any troubles simple

Re: [PATCH 2/3] ARM: sun7i: dt: Add Security System to A20 SoC DTS

2014-05-24 Thread Marek Vasut
On Thursday, May 22, 2014 at 05:09:55 PM, LABBE Corentin wrote: Commit message ... damn, there is a reason why you _should_ write the commit message, even if the $subject is descriptive enough. You should elaborate on what you did here and _why_ you did it. The _why_ part is also really

Re: [PATCH v10 1/3] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2014-05-24 Thread Tomasz Figa
Hi Tarek, On 24.05.2014 11:33, Tarek Dakhran wrote: > Hi Tomasz > > I faced another problem, while changing this patch. > See below. > > On 05/24/2014 01:11 AM, Tomasz Figa wrote: >> Hi Tarek, >> >> With v2 of the series I mentioned in review of previous version [1], >> this patch can be

[PATCH] rtc: add support of nvram for maxim dallas rtc ds1343

2014-05-24 Thread Raghavendra Ganiga
This is a patch to add support of nvram for maxim dallas rtc ds1343 Signed-off-by: Raghavendra Chandra Ganiga --- drivers/rtc/rtc-ds1343.c | 75 ++-- 1 file changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-ds1343.c

Re: [PATCH] ARM: imx: introduce function imx_free_mx3_camera

2014-05-24 Thread Emil Goode
Hello Uwe and Greg, > You'd do a better deed if you picked up > http://thread.gmane.org/gmane.linux.kernel/1613364/focus=1635995 Since there is nothing wrong with the last version of the patch in the above thread, I feel strange about picking it up and just splitting it into two patches. However

Re: [PATCH RESEND v4 0/8] Add Allwinner A31 USB support

2014-05-24 Thread Maxime Ripard
On Sat, May 24, 2014 at 07:19:40AM +0900, Greg Kroah-Hartman wrote: > On Fri, May 23, 2014 at 08:33:39PM +0200, Maxime Ripard wrote: > > Hi Greg, > > > > On Wed, May 14, 2014 at 06:05:20PM +0200, Greg Kroah-Hartman wrote: > > > On Wed, May 14, 2014 at 02:34:19PM +0200, Maxime Ripard wrote: > > >

Re: [PATCH] USB: cdc-acm: fix broken runtime suspend

2014-05-24 Thread Johan Hovold
On Mon, Apr 14, 2014 at 09:58:12PM +0200, Johan Hovold wrote: > The current ACM runtime-suspend implementation is broken in several > ways: > > Firstly, it buffers only the first write request being made while > suspended -- any further writes are silently dropped. > > Secondly, writes being

[PATCH] staging: android: describe use of memory barrier on sync.c

2014-05-24 Thread Niv Yehezkel
Added comments describing the purpose of using write memory barrier in the context of sync_timeline_destory. Signed-off-by: Niv Yehezkel --- drivers/staging/android/sync.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c

Re: [PATCH] gpu/drm/ttm: Use mutex_lock_killable() for shrinker functions.

2014-05-24 Thread Tetsuo Handa
Hello. I tried to test whether it is OK (from point of view of reentrant) to use mutex_lock() or mutex_lock_killable() inside shrinker functions when shrinker functions do memory allocation, for drivers/gpu/drm/ttm/ttm_page_alloc_dma.c is doing memory allocation with mutex lock held inside

Re: [PATCH 02/10] xhci: 'noxhci_port_switch' kernel parameter

2014-05-24 Thread Dan Williams
On Fri, May 23, 2014 at 11:39 PM, Holger Hans Peter Freyther wrote: > On Tue, May 20, 2014 at 03:40:16PM -0700, Dan Williams wrote: > > Dear Dan, > >> Sorry, I don't think it is fair to users to force them to re-compile >> their kernel to get their device to work. Granted, I'm new to USB >>

[GIT PULL] devfreq update for Linux 3.16

2014-05-24 Thread MyungJoo Ham
Dear Rafael, Here goes the pull request of devfreq for 3.16 Cheers, MyungJoo -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following changes since commit 4b660a7f5c8099d88d1a43d8ae138965112592c7: Linux 3.15-rc6 (2014-05-22 06:42:02 +0900) are available in the git repository at:

[PATCH] qla2xxx: remove stub qlt_check_srr_debug()

2014-05-24 Thread Paul Bolle
qlt_check_srr_debug() was added in v3.5. It is a stub function unless CONFIG_QLA_TGT_DEBUG_SRR is defined. But CONFIG_QLA_TGT_DEBUG_SRR will never be defined, because the Kconfig symbol QLA_TGT_DEBUG_SRR was never added to the tree. Signed-off-by: Paul Bolle --- Compile tested. Or was it

[PATCH] mm/process_vm_access: move into ipc/

2014-05-24 Thread Konstantin Khlebnikov
"CROSS_MEMORY_ATTACH" and mm/process_vm_access.c seems misnamed and misplaced. Actually it's a kind of IPC and it has no more relation to MM than sys_read(). This patch moves code into ipc/ and config option into init/Kconfig. Signed-off-by: Konstantin Khlebnikov --- init/Kconfig|

[PATCH 1/1] Staging: dgap: Fixed iomem accesses in dgap.c

2014-05-24 Thread Pascal COMBES
I changed dereferences from iomem into the adequate ioread function. Signed-off-by: Pascal COMBES --- NB: -I didn't replace the old style ioread[bwl] by their newer equivalents (ioread[8/16/32]). Is it worth? -I did this for task 16 of the eudyptula challenge. diff --git

[GIT PULL] SCSI fixes for 3.15-rc6

2014-05-24 Thread James Bottomley
This is a single fix for a bug exposed by a sysfs change in 3.13 which now causes libsas to trigger a warn on in device removal. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Joe Lawrence (1):

[PATCH RFC] proc/pid/mem: implement SEEK_DATA and SEEK_HOLE

2014-05-24 Thread Konstantin Khlebnikov
lseek(fd, addr, SEEK_DATA) adjust file offset to the start address of next VMA, or to addr if this address is allocated. lseek(fd, addr, SEEK_HOLE) adjust file offset to the end address of VMA which addr belongs to, or to addr itself if there is hole. This way SEEK_HOLE reports a virtual

Váženie E-mail užívateľa;

2014-05-24 Thread Webmail aktualizácia 2014
Váženie E-mail užívateľa; Prekročili ste limit 23432 ukladanie na Váš e-mailovej schránky stanovenej vaše WEB SERVICE / správcu, a budete mať problémy pri odosielaní a prijímať e-maily, kým sa znova potvrdí svoju e-mailovú adresu. Potrebné postupy sú boli predložené nižšie vášho názoru, overte

Re: [PATCH] acornscsi: remove linked command support

2014-05-24 Thread Paul Bolle
On Sat, 2014-05-24 at 16:13 +0400, James Bottomley wrote: > Wait, no, that's not a good idea. We leave obsolete drivers to bitrot. > Particularly we try not to touch them unless we have to because there > might be a few people still using them and the more we tamper, the > greater the risk that

[PATCH 4/4] lib/debugobjects.c: code clean-up

2014-05-24 Thread Fabian Frederick
Fix some checkpatch warnings. Cc: Josh Triplett Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/debugobjects.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 437a6b4..69f25bf 100644 --- a/lib/debugobjects.c

[PATCH 2/4] lib/debugobjects.c: add pr_fmt to logging

2014-05-24 Thread Fabian Frederick
Add ODEBUG: prefix to pr_fmt Cc: Josh Triplett Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/debugobjects.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/debugobjects.c b/lib/debugobjects.c index ea4c737..b628247 100644 ---

[PATCH 3/4] lib/debugobjects.c: move __initdata after name

2014-05-24 Thread Fabian Frederick
Cc: Josh Triplett Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/debugobjects.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/debugobjects.c b/lib/debugobjects.c index b628247..437a6b4 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -791,7

[PATCH 1/4] lib/debugobjects.c: convert printk to pr_foo()

2014-05-24 Thread Fabian Frederick
Convert all except KERN_DEBUG Cc: Josh Triplett Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/debugobjects.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/debugobjects.c b/lib/debugobjects.c index e0731c3..ea4c737 100644 ---

Re: [PATCH V3 1/8] cpufreq: cpufreq-cpu0: remove dependency on thermal

2014-05-24 Thread Pavel Machek
On Fri 2014-05-23 10:03:27, Viresh Kumar wrote: > On 22 May 2014 20:22, Eduardo Valentin wrote: > > However, on CPUs that needs thermal managment, it makes sense to have > > such dependency, from functional perspective. Mainly because scaling > > frequency and voltage up would be allowed only

Re: [PATCH v2 1/4] devicetree: bindings: Properly document micrel ks8851 SPI chips

2014-05-24 Thread Mark Brown
On Fri, May 23, 2014 at 12:57:17PM -0700, Stephen Boyd wrote: > Optional properties: > -- vdd-supply:supply for Ethernet mac > +- vdd-supply: analog 3.3V supply for Ethernet mac > +- vdd-io-supply: digital 1.8V IO supply for Ethernet mac So, according to the datasheet I managed to find

Re: [PATCH 20/51] Input: atmel_mxt_ts - Set default irqflags when there is no pdata

2014-05-24 Thread Nick Dyer
Yufeng Shen wrote: > On Thu, May 22, 2014 at 10:29 AM, Nick Dyer wrote: >> Dmitry Torokhov wrote: > Make the irqflags default to be IRQF_TRIGGER_FALLING if no platform data > is > provided. >>> >>> I think if there is no platform data we should use 0 as IRQ falgs and >>> assume that

Re: [PATCH] PM / devfreq: remove checks for CONFIG_EXYNOS_ASV

2014-05-24 Thread MyungJoo Ham
On Fri, May 23, 2014 at 1:52 PM, MyungJoo Ham wrote: > On Thu, May 22, 2014 at 5:37 AM, Paul Bolle wrote: >> Checks for CONFIG_EXYNOS_ASV were added in v3.3. But the related Kconfig >> symbol has never been added to the tree. Remove these checks, as they >> always evaluate to false. >> >>

Re: inotify, new idea?

2014-05-24 Thread Richard Weinberger
Am 24.05.2014 09:52, schrieb Michael Kerrisk (man-pages): > On 04/21/2014 10:42 AM, Richard Weinberger wrote: >> Am 21.04.2014 09:24, schrieb Michael Kerrisk: Does recursive monitoring even work with inotify? Last time I've tried it did failed as soon I did a mkdir -p a/b/c/d because

Re: [PATCH/RFC] Re: recvmmsg() timeout behavior strangeness [RESEND]

2014-05-24 Thread Michael Kerrisk (man-pages)
Ping! On 05/22/2014 04:27 PM, Michael Kerrisk (man-pages) wrote: > Hi Arnaldo, > > On 05/21/2014 11:05 PM, Arnaldo Carvalho de Melo wrote: >> Em Mon, May 12, 2014 at 11:34:51AM -0300, Arnaldo Carvalho de Melo escreveu: >>> Em Mon, May 12, 2014 at 12:15:25PM +0200, Michael Kerrisk (man-pages)

Re: inotify, new idea?

2014-05-24 Thread Michael Kerrisk (man-pages)
On 04/21/2014 10:42 AM, Richard Weinberger wrote: > Am 21.04.2014 09:24, schrieb Michael Kerrisk: >>> Does recursive monitoring even work with inotify? >>> Last time I've tried it did failed as soon I did a mkdir -p a/b/c/d because >>> mkdir() raced against the thread which installes the new

Re: [PATCH/RFC] Re: recvmmsg() timeout behavior strangeness [RESEND]

2014-05-24 Thread Michael Kerrisk (man-pages)
On 05/23/2014 09:55 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, May 23, 2014 at 03:00:55PM -0400, David Miller escreveu: >> From: Arnaldo Carvalho de Melo >> Date: Wed, 21 May 2014 18:05:35 -0300 > >>> But after thinking a bit more, looks like we need to do that, please >>> take a look at the

Re: [v4, resend] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-05-24 Thread Michael Kerrisk (man-pages)
On 05/23/2014 05:57 PM, Ondřej Bílka wrote: > On Sat, May 03, 2014 at 09:33:24AM -0400, Jeff Layton wrote: >> Open file description locks have been merged into the Linux kernel for >> v3.15. Add the appropriate command-value definitions and an update to >> the manual that describes their usage.

Re: linux-next: Tree for May 21

2014-05-24 Thread Michael Kerrisk (man-pages)
Hi Stephen. On 05/23/2014 12:06 AM, Stephen Rothwell wrote: > Hi Michael, > > On Thu, 22 May 2014 12:45:05 +0200 Michael Kerrisk > wrote: >> >> On Wed, May 21, 2014 at 9:50 AM, Stephen Rothwell >> wrote: >>> You should use "git fetch" as mentioned in the FAQ on the wiki >>> (see below). >>

man-pages-3.67 is released

2014-05-24 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-3.67 - man pages for Linux Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog:

Re: [PATCH v2 1/4] devicetree: bindings: Properly document micrel ks8851 SPI chips

2014-05-24 Thread Mark Brown
On Fri, May 23, 2014 at 12:57:17PM -0700, Stephen Boyd wrote: > Optional properties: > -- vdd-supply:supply for Ethernet mac > +- vdd-supply: analog 3.3V supply for Ethernet mac > +- vdd-io-supply: digital 1.8V IO supply for Ethernet mac > +- reset-gpios: reset_n input pin Are we

[PATCH] input: tc3589x-keypad: Allocate resources using managed interfaces

2014-05-24 Thread Himangi Saraogi
This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. Also, the unnecesary labels are removed. The include for linux/device.h is added to make sure the devm_*() routine declarations are

[PATCH] input: jornada680_kbd: Allocate resources using managed interfaces

2014-05-24 Thread Himangi Saraogi
This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. Also, the unnecesary labels are removed and the function mrstouch_remove is removed as it becomes empty after removing the no longer

Re: [PATCH] acornscsi: remove linked command support

2014-05-24 Thread James Bottomley
On Sat, 2014-05-24 at 12:35 +0200, Hannes Reinecke wrote: [...] > I'm all for it. Removing never-really-implemented feature on obsolete > hardware is always a good idea. > > Acked-by: Hannes Reinecke Wait, no, that's not a good idea. We leave obsolete drivers to bitrot. Particularly we try

[PATCH 1/1] lib/textsearch.c: move EXPORT_SYMBOL after functions

2014-05-24 Thread Fabian Frederick
Fix checkpatch warning: "WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable" Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/textsearch.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/textsearch.c b/lib/textsearch.c index

Re: [PATCH] i2c-davinci: Handle signals gracefully

2014-05-24 Thread Mike Looijmans
On 05/21/2014 10:17 AM, Wolfram Sang wrote: dev_err(dev->dev, "controller timed out\n"); davinci_i2c_recover_bus(dev); i2c_davinci_init(dev); @@ -384,7 +384,6 @@ i2c_davinci_xfer_msg(struct i2c_adapter *adap, struct i2c_msg *msg, int stop)

  1   2   3   4   >