Re: [PATCH RFC v2 1/2] crypto: add PKE API

2015-05-31 Thread Herbert Xu
On Thu, May 28, 2015 at 09:54:41AM -0700, Tadeusz Struk wrote: > > If we do this that way then we will be able to pass only one input and one > output parameter. There are cases when we will need more that this. > For instance for ECDSA signature generation we need one input param hash(m) > and

Re: [PATCH kernel v11 09/34] vfio: powerpc/spapr: Move locked_vm accounting to helpers

2015-05-31 Thread David Gibson
On Fri, May 29, 2015 at 06:44:33PM +1000, Alexey Kardashevskiy wrote: > There moves locked pages accounting to helpers. > Later they will be reused for Dynamic DMA windows (DDW). > > This reworks debug messages to show the current value and the limit. > > This stores the locked pages number in

Re: [PATCH kernel v11 16/34] powerpc/spapr: vfio: Replace iommu_table with iommu_table_group

2015-05-31 Thread David Gibson
On Fri, May 29, 2015 at 06:44:40PM +1000, Alexey Kardashevskiy wrote: > Modern IBM POWERPC systems support multiple (currently two) TCE tables > per IOMMU group (a.k.a. PE). This adds a iommu_table_group container > for TCE tables. Right now just one table is supported. > > This defines

Re: [PATCH 0/6] use devicemodel with parport

2015-05-31 Thread Sudip Mukherjee
On Mon, Jun 01, 2015 at 07:05:30AM +0900, Greg Kroah-Hartman wrote: > On Wed, May 20, 2015 at 08:56:56PM +0530, Sudip Mukherjee wrote: > > After 5 versions of WIP, finally a patch submission. > > parport subsystem is now in the transition stage and supports the old > > model and the new device

Re: [PATCH v3] sparc: Resolve conflict between sparc v9 and M7 on usage of bit 9 of TTE

2015-05-31 Thread David Miller
From: Khalid Aziz Date: Wed, 27 May 2015 10:00:46 -0600 > sparc: Resolve conflict between sparc v9 and M7 on usage of bit 9 of TTE > > Bit 9 of TTE is CV (Cacheable in V-cache) on sparc v9 processor while > the same bit 9 is MCDE (Memory Corruption Detection Enable) on M7 > processor. This

Re: [PATCH] sparc: kernel: GRPCI2: Remove a useless memset

2015-05-31 Thread David Miller
From: Christophe Jaillet Date: Fri, 1 May 2015 14:05:39 +0200 > grpci2priv is allocated using kzalloc, so there is no need to memset it. > > Signed-off-by: Christophe Jaillet Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] xen-netfront: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar Date: Mon, 1 Jun 2015 10:28:37 +0530 > Use the timer API function setup_timer instead of structure field > assignments to initialize a timer. > > A simplified version of the Coccinelle semantic patch that performs > this transformation is as follows: > > @change@ >

Re: [PATCH] staging: rtl8192u: Patch to modify if, else conditions

2015-05-31 Thread Dhere, Chaitanya (C.)
On Sun, May 31, 2015 at 10:38:18AM +0900, gre...@linuxfoundation.org wrote: > On Tue, May 19, 2015 at 04:55:57PM +, Dhere, Chaitanya (C.) wrote: > > In this patch: > > 1. the if condition is modified to remove > > the unnecessary equality check. > > 2. The else if condition is replaced by an

BOOKING=============

2015-05-31 Thread Mr David Brink
I am writing you this email to make reservations for my family at your hotel. Arrival day : 15/06/2015 Departure day: 30/06/2015 Number Of Gusts: 4 Adult Kindly send the total quotation so as to forward my card for the full payment only. Thanks Mr David Brink -- To unsubscribe from this list:

Re: [RFC PATCH v4 17/29] bpf tools: Relocate eBPF programs

2015-05-31 Thread Namhyung Kim
On Wed, May 27, 2015 at 05:19:52AM +, Wang Nan wrote: > If an eBPF program access a map, LLVM generates a relocated load > instruction. To enable the usage of that map, relocation must be done > by replacing original instructions by map loading instructions. > > Based on relocation

[PATCH V2 3/3] tty: serial: fsl_lpuart: Add support for RS-485

2015-05-31 Thread Bhuvanchandra DV
Enable Vybrid's build-in support for RS-485 auto RTS for controlling line direction of RS-485 transceiver driver. Signed-off-by: Bhuvanchandra DV --- drivers/tty/serial/fsl_lpuart.c | 56 + 1 file changed, 56 insertions(+) diff --git

[PATCH V2 1/3] ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins

2015-05-31 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- arch/arm/boot/dts/vf-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi index 68ca125..ad6c5ca 100644 --- a/arch/arm/boot/dts/vf-colibri.dtsi +++

[PATCH V2 2/3] tty: serial: fsl_lpuart: remove RTS/CTS control from set/get_mctrl

2015-05-31 Thread Bhuvanchandra DV
The LPUART does not provide manual control of RTS/CTS signals, those can only be controlled by the hardware directly. Therefore manual control of those signals through mctrl can not be provided. The current implementation enables/disables the automatic control, which is not what mctrl should do,

[PATCH V2 0/3] Add RS-485 support and fix RTS/CTS implementation

2015-05-31 Thread Bhuvanchandra DV
Changes since V1: Use common get/set mctrl control methods for both lpuart, lpuart32 and fix indention. Bhuvanchandra DV (3): ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins tty: serial: fsl_lpuart: remove RTS/CTS control from set/get_mctrl tty: serial: fsl_lpuart: Add

Re: [RFC PATCH v4 10/29] bpf tools: Collect map definitions from 'maps' section

2015-05-31 Thread Wangnan (F)
On 2015/6/1 10:12, Namhyung Kim wrote: Hi Alexei and Wang, On Thu, May 28, 2015 at 08:35:19PM -0700, Alexei Starovoitov wrote: On Thu, May 28, 2015 at 03:14:44PM +0800, Wangnan (F) wrote: On 2015/5/28 14:09, Alexei Starovoitov wrote: On Thu, May 28, 2015 at 11:09:50AM +0800, Wangnan (F)

[PATCH] xen-netfront: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e, func, da; @@ -init_timer (); +setup_timer (, func, da); -e.data =

Re: Crash in crc32_le during kmemleak_scan()

2015-05-31 Thread vigneshr
> On Thu, May 21, 2015 at 06:45:17AM +0100, vigne...@codeaurora.org wrote: >> diff --git a/mm/kmemleak.c b/mm/kmemleak.c >> index 5ec8b71..4455bb8 100644 >> --- a/mm/kmemleak.c >> +++ b/mm/kmemleak.c >> @@ -959,7 +959,7 @@ void __ref kmemleak_free(const void *ptr) >> { >>

linux-next: manual merge of the block tree with Linus' tree

2015-05-31 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in drivers/md/dm.c between commits 3a1407559a59 ("dm: fix NULL pointer when clone_and_map_rq returns !DM_MAPIO_REMAPPED") and e5d8de32cc02 ("dm: fix false warning in free_rq_clone() for unmapped requests") from Linus' tree and

Re: [PATCH 0/3] net/rds: SOL_RDS socket option to explicitly select transport

2015-05-31 Thread David Miller
From: Sowmini Varadhan Date: Fri, 29 May 2015 17:28:06 -0400 > Today the underlying transport (TCP or IB) for a PF_RDS socket is > implicitly selected based on the local address used to bind(2) the > PF_RDS socket. This results in some non-deterministic behavior when > there are un-numbered and

Re: [PATCH] ethernet/intel: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar Date: Mon, 1 Jun 2015 10:13:49 +0530 > Use the timer API function setup_timer instead of structure field > assignments to initialize a timer. > > A simplified version of the Coccinelle semantic patch that performs > this transformation is as follows: > > @change@ >

linux-next: manual merge of the block tree with the uml tree

2015-05-31 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in arch/um/include/asm/Kbuild between commit d5f20be7cab8 ("um: Create asm/sections.h") from the uml tree and commit c546d5db75b4 ("remove scatterlist.h generation from arch Kbuild files") from the block tree. I fixed it up (see

[PATCH] ethernet/intel: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e1, e2, e3, e4, a, b; @@ -init_timer(); +setup_timer(, a, b); ... when

Re: [PATCH] isdn/capi: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar Date: Mon, 1 Jun 2015 07:10:15 +0530 > Use the timer API function setup_timer instead of structure field > assignments to initialize a timer. > > A simplified version of the Coccinelle semantic patch that performs > this transformation is as follows: > > @change@ >

Re: linux-next: build failure after merge of the net-next tree

2015-05-31 Thread David Miller
From: Stephen Rothwell Date: Mon, 1 Jun 2015 13:44:13 +1000 > After merging the net-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/net/ethernet/mellanox/mlx5/core/main.c: In function > 'mlx5_irq_set_affinity_hint': >

Re: [PATCH] net: dl2k: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar Date: Mon, 1 Jun 2015 09:55:10 +0530 > Use the timer API function setup_timer instead of structure field > assignments to initialize a timer. > > A simplified version of the Coccinelle semantic patch that performs > this transformation is as follows: > > @change@ >

[PATCH] net: dl2k: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e1, e2, e3, e4, a, b; @@ -init_timer(); +setup_timer(, a, b); ... when

Re: [PATCH] net: mv643xx_eth: Use setup_timer

2015-05-31 Thread David Miller
From: Vaishali Thakkar Date: Mon, 1 Jun 2015 09:36:02 +0530 > Use the timer API function setup_timer instead of structure field > assignments to initialize a timer. > > A simplified version of the Coccinelle semantic patch that performs > this transformation is as follows: > > @change@ >

RE: [v4] QE: Move QE from arch/powerpc to drivers/soc

2015-05-31 Thread Zhao Qiang
On Fri, Jan 30, 2015 at 1:22PM +0800, Wood Scott wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Friday, January 30, 2015 1:22 PM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; net...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; Wood Scott-B07421; Xie

Re: [PATCH kernel v11 05/34] powerpc/iommu: Always release iommu_table in iommu_free_table()

2015-05-31 Thread David Gibson
On Fri, May 29, 2015 at 06:44:29PM +1000, Alexey Kardashevskiy wrote: > At the moment iommu_free_table() only releases memory if > the table was initialized for the platform code use, i.e. it had > it_map initialized (which purpose is to track DMA memory space use). > > With dynamic DMA windows,

Re: [PATCH kernel v11 03/34] powerpc/powernv/ioda: Clean up IOMMU group registration

2015-05-31 Thread David Gibson
On Fri, May 29, 2015 at 06:44:27PM +1000, Alexey Kardashevskiy wrote: > The existing code has 3 calls to iommu_register_group() and > all 3 branches actually cover all possible cases. > > This replaces 3 calls with one and moves the registration earlier; > the latter will make more sense when we

Re: [PATCH kernel v11 04/34] powerpc/iommu: Put IOMMU group explicitly

2015-05-31 Thread David Gibson
On Fri, May 29, 2015 at 06:44:28PM +1000, Alexey Kardashevskiy wrote: > So far an iommu_table lifetime was the same as PE. Dynamic DMA windows > will change this and iommu_free_table() will not always require > the group to be released. > > This moves iommu_group_put() out of iommu_free_table().

Re: [PATCH kernel v11 01/34] powerpc/eeh/ioda2: Use device::iommu_group to check IOMMU group

2015-05-31 Thread David Gibson
On Fri, May 29, 2015 at 06:44:25PM +1000, Alexey Kardashevskiy wrote: > This relies on the fact that a PCI device always has an IOMMU table > which may not be the case when we get dynamic DMA windows so > let's use more reliable check for IOMMU group here. > > As we do not rely on the table

Re: [PATCH kernel v11 02/34] powerpc/iommu/powernv: Get rid of set_iommu_table_base_and_group

2015-05-31 Thread David Gibson
On Fri, May 29, 2015 at 06:44:26PM +1000, Alexey Kardashevskiy wrote: > The set_iommu_table_base_and_group() name suggests that the function > sets table base and add a device to an IOMMU group. > > The actual purpose for table base setting is to put some reference > into a device so later

[PATCH] Staging: vt6655: Remove unnecessary equality checks in rxtx.c

2015-05-31 Thread Harisangam, Sharvari (S.)
From: Sharvari Harisangam Modified the if-else statements to remove unnecessary comparisons in rxtx.c. This change was detected with the help of coccinelle tool Signed-off-by: Sharvari Harisangam --- drivers/staging/vt6655/rxtx.c |8 1 file changed, 4 insertions(+), 4

[PATCH] Staging: comedi: ni_at_a2150: remove extra spaces before tab

2015-05-31 Thread Joglekar Tejas
This patch fix warning given by checkpatch.pl abouts spaces given before tab Signed-off-by: Joglekar Tejas --- drivers/staging/comedi/drivers/ni_at_a2150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_at_a2150.c

[PATCH] net: mv643xx_eth: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e, func, da; @@ -init_timer (); +setup_timer (, func, da); -e.data =

Re: [PATCH] staging: wlan-ng: fix long line

2015-05-31 Thread Greg Kroah-Hartman
On Sun, May 31, 2015 at 11:00:28PM -0300, Douglas Barbonaglia Sathler Figueiredo wrote: > From: douglasbsf That's not your "real name", please use the same name you use in the signed-off-by line. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 11:24:42PM -0300, Gaston Gonzalez wrote: > On Mon, Jun 01, 2015 at 10:53:20AM +0900, Greg KH wrote: > > On Sun, May 31, 2015 at 10:41:52PM -0300, Gaston Gonzalez wrote: > > > On Mon, Jun 01, 2015 at 08:24:17AM +0900, Greg KH wrote: > > > > On Sun, May 31, 2015 at 08:07:21PM

Re: [PATCH v2] mmc: dw_mmc: insmod followed by rmmod will hung for eMMC

2015-05-31 Thread Jaehoon Chung
Hi, Prabu. Thanks for resending the patch. Will apply this patch at my tree. Thanks! Best Regards, Jaehoon Chung On 05/28/2015 09:21 PM, Prabu Thangamuthu wrote: > Remove module of dw_mmc driver will hung for eMMC devices if we follow the > steps which are listed below, > insmod

linux-next: build failure after merge of the net-next tree

2015-05-31 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ethernet/mellanox/mlx5/core/main.c: In function 'mlx5_irq_set_affinity_hint': drivers/net/ethernet/mellanox/mlx5/core/main.c:474:2: error: implicit declaration of function

Re: More updates for event lists in perf list

2015-05-31 Thread Sukadev Bhattiprolu
Andi Kleen [a...@firstfloor.org] wrote: | This adds support for the event topics that Ingo requested, and | replaces the earlier event group patch. JSON files now have a Topic | header that is used by perf list to group events. | | This applies on top of Sukadev's patchkit. In addition | the

A question about state machine function state_next()

2015-05-31 Thread Baoquan He
Hi Joerg, I am reading amd iommu code because I have some knowledge about intel iommu since review Zhenhua's fixing kdump error patches. Now there's a question I didn't find answer. In amd iommu state_next() is the state machine running function. However I only found 4 function to call

[PATCH 1/1] Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion

2015-05-31 Thread K. Y. Srinivasan
Allocate ring buffer memory from the NUMA node assigned to the channel. Since this is a performance and not a correctness issue, if the node specific allocation were to fail, fall back and allocate without specifying the node. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c | 14

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Gaston Gonzalez
On Mon, Jun 01, 2015 at 10:53:20AM +0900, Greg KH wrote: > On Sun, May 31, 2015 at 10:41:52PM -0300, Gaston Gonzalez wrote: > > On Mon, Jun 01, 2015 at 08:24:17AM +0900, Greg KH wrote: > > > On Sun, May 31, 2015 at 08:07:21PM -0300, Gaston Gonzalez wrote: > > > > On Mon, Jun 01, 2015 at 07:17:39AM

Linux 4.1-rc6

2015-05-31 Thread Linus Torvalds
It's been a fairly normal week, although I can't say that the rc's have exactly started shrinking yet. No, the rc's haven't been all that big to begin with this release cycle, and things have been fairly calm, but I'd be happier if we didn't have noise in raid5 and device-mapper at this stage.

RE: [v8 0/9] Add VT-d Posted-Interrupts support - IOMMU part

2015-05-31 Thread Wu, Feng
Hi Joerg, Any comments about this new version? Thanks a lot! Thanks, Feng > -Original Message- > From: Wu, Feng > Sent: Wednesday, May 27, 2015 12:06 PM > To: j...@8bytes.org; dw...@infradead.org > Cc: t...@linutronix.de; jiang@linux.intel.com; > io...@lists.linux-foundation.org;

Re: [RFC PATCH v4 10/29] bpf tools: Collect map definitions from 'maps' section

2015-05-31 Thread Namhyung Kim
Hi Alexei and Wang, On Thu, May 28, 2015 at 08:35:19PM -0700, Alexei Starovoitov wrote: > On Thu, May 28, 2015 at 03:14:44PM +0800, Wangnan (F) wrote: > > On 2015/5/28 14:09, Alexei Starovoitov wrote: > > >On Thu, May 28, 2015 at 11:09:50AM +0800, Wangnan (F) wrote: > > For me, enable eBPF

linux-next: manual merge of the vfs tree with the uml tree

2015-05-31 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in fs/hppfs/hppfs.c between commit f74a14e870c8 ("um: Remove hppfs") from the uml tree and commits 680baacbca69 ("new ->follow_link() and ->put_link() calling conventions"), 6e77137b363b ("don't pass nameidata to ->follow_link()") and

Hello

2015-05-31 Thread zocl
hi laptop,moto,camera,cellphone,gultar the shipping is free si te: mno .com

[PATCH] staging: wlan-ng: fix long line

2015-05-31 Thread Douglas Barbonaglia Sathler Figueiredo
From: douglasbsf Style (line over 80 chars) in drivers/staging/wlan-ng/prism2fw.c Signed-off-by: Douglas Barbonaglia Sathler Figueiredo --- drivers/staging/wlan-ng/prism2fw.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c

[PATCH] phy: tusb1210: Use devm_gpiod_get_optional for optional GPIOs

2015-05-31 Thread Axel Lin
Also simplify the code a bit by specify direction and initial value for output in devm_gpiod_get_optional function. Signed-off-by: Axel Lin --- drivers/phy/phy-tusb1210.c | 28 ++-- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 10:41:52PM -0300, Gaston Gonzalez wrote: > On Mon, Jun 01, 2015 at 08:24:17AM +0900, Greg KH wrote: > > On Sun, May 31, 2015 at 08:07:21PM -0300, Gaston Gonzalez wrote: > > > On Mon, Jun 01, 2015 at 07:17:39AM +0900, Greg KH wrote: > > > > On Sun, May 31, 2015 at 12:17:48PM

2.6.32.66 tcp regression OOPs

2015-05-31 Thread starlight . 2015q2
Hello, Apoligies if I have submitted to the wrong lists. Encountered a regression in 2.6.32.66 relative to 2.6.32.65. Crash eight minutes after boot. Will responded with additional details if the OOPS is not sufficent. Best Regards Linux version 2.6.32.66 (scrubbed) (gcc version 4.4.7

Re: [PATCH v5 2/3] usb: xhci: implement device_suspend/device_resume entries

2015-05-31 Thread Greg Kroah-Hartman
On Sat, May 09, 2015 at 09:15:29AM +0800, Lu Baolu wrote: > This patch implements device_suspend/device_resume entries for xHC driver. > device_suspend will be called when a USB device is about to suspend. It > will issue a stop endpoint command for each endpoint in this device. The > Suspend(SP)

[lkp] [block] fbccf1df065: +276.3% boot-meminfo.KernelStack

2015-05-31 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/mlin/linux.git block-generic-req commit fbccf1df06574add60bdb71103cc1662e477f02d ("block: make generic_make_request handle arbitrarily sized bios") testcase/path_params/tbox_group: boot/1/vm-kbuild-1G

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Gaston Gonzalez
On Mon, Jun 01, 2015 at 08:24:17AM +0900, Greg KH wrote: > On Sun, May 31, 2015 at 08:07:21PM -0300, Gaston Gonzalez wrote: > > On Mon, Jun 01, 2015 at 07:17:39AM +0900, Greg KH wrote: > > > On Sun, May 31, 2015 at 12:17:48PM -0300, Gaston Gonzalez wrote: > > > > Fix the following sparse warnings:

linux-next: manual merge of the mips tree with the imx-mxs tree

2015-05-31 Thread Stephen Rothwell
Hi Ralf, Today's linux-next merge of the mips tree got a conflict in drivers/clk/Makefile between commit 33156149fc4a ("ARM: imx: move clock drivers into drivers/clk") from the imx-mxs tree and commit 66ab9263a018 ("clk: ingenic: add driver for Ingenic SoC CGU clocks") from the mips tree. I

linux-next: manual merge of the mips tree with the h8300 tree

2015-05-31 Thread Stephen Rothwell
Hi Ralf, Today's linux-next merge of the mips tree got conflicts in drivers/irqchip/Kconfig and drivers/irqchip/Makefile between commit 19efb55b79f3 ("h8300: IRQ chip driver") from the h8300 tree and commit a7c64f0e29a6 ("MIPS/IRQCHIP: Move Ingenic SoC intc driver to drivers/irqchip") from the

[PATCH] isdn/capi: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e1, e2, e3, e4, a, b; @@ -init_timer(); +setup_timer(, a, b); ... when

[PATCH] fuse: avoid clobbering fc->release with fuse_conn_init(fc)

2015-05-31 Thread Jeremiah Mahler
fuse_conn_init(fc) zeros the entire fc structure before it assigns specific values. Since fc->release is set before fuse_conn_init(fc) is called, the value gets set to zero, which results in a NULL pointer deference when fc->release() is called. Fix the problem by assigning fc->release after

Re: [PATCH v2 5/8] driver core: implement device_for_each_child_reverse()

2015-05-31 Thread Greg Kroah-Hartman
On Mon, May 25, 2015 at 07:09:29PM +0300, Andy Shevchenko wrote: > The new function device_for_each_child_reverse() is helpful to traverse the > registered devices in a reversed order, e.g. in the case when an operation on > each device should be done first on the last added device, then on one

Re: [PATCH] base:cacheinfo - Fix for typos in comment and pr_warn log message

2015-05-31 Thread Greg Kroah-Hartman
On Mon, May 25, 2015 at 07:48:36AM +0530, Shailendra Verma wrote: > > Signed-off-by: Shailendra Verma > --- > drivers/base/cacheinfo.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Someone sent this patch before you did, sorry :( greg k-h -- To unsubscribe from this list:

Re: [PATCH v2 4/8] klist: implement klist_prev()

2015-05-31 Thread Greg Kroah-Hartman
On Mon, May 25, 2015 at 07:09:28PM +0300, Andy Shevchenko wrote: > klist_prev() gets the previous element in the list. It is useful to traverse > through the list in reverse order, for example, to provide LIFO (last in first > out) variant of access. > > Signed-off-by: Andy Shevchenko > ---

[PATCH] USB: serial: Use setup_timer

2015-05-31 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @change@ expression e1, e2, e3, e4, a, b; @@ -init_timer(); +setup_timer(, a, b); ... when

Re: [PATCH 2/3] megaraid_sas: use dev_printk when possible

2015-05-31 Thread James Bottomley
On Tue, 2015-04-28 at 18:14 -0500, Bjorn Helgaas wrote: > Use dev_printk() when possible to make messages more useful. I got the first one, but this one needs refreshing. 2&3 have the same commit message, so they should be one patch, I think. Thanks, James -- To unsubscribe from this list:

[PATCH 00/11] Replace module_init with an alternate initcall in non modules

2015-05-31 Thread Paul Gortmaker
This series of commits converts non-modular code that is using the module_init() call to hook itself into the system to instead use one of the alternate priority initcalls. Unlike the earlier series[1] that used device_initcall and hence was a runtime no-op, these commits change to one of the

[PATCH 04/11] x86: don't use module_init for non-modular core bootflag code

2015-05-31 Thread Paul Gortmaker
The bootflag.o is obj-y (always built in). It will never be modular, so using module_init as an alias for __initcall is somewhat misleading. Fix this up now, so that we can relocate module_init from init.h into module.h in the future. If we don't do this, we'd have to add module.h to obviously

[GIT PULL] ARM: EXYNOS: Fix for 4.1, 4th

2015-05-31 Thread Krzysztof Kozlowski
Dear Arnd and Olof, This is fix from April which should be applied before [0]. Apparently it was missed. I am sending it to you guys because Kukjin seems to be busy. Best regards, Krzysztof [0] http://www.spinics.net/lists/linux-samsung-soc/msg44937.html The following changes since commit

[PATCH 08/11] lib/list_sort: use late_initcall to hook in self tests

2015-05-31 Thread Paul Gortmaker
This was using module_init, but there is no way this code can be modular. In the non-modular case, a module_init becomes a device_initcall, but this really isn't a device. So we should choose a more appropriate initcall bucket to put it in. Assuming boot time self tests need to be observed

[PATCH 07/11] arm: use subsys_initcall in non-modular pl320 IPC code

2015-05-31 Thread Paul Gortmaker
The drivers/mailbox/pl320-ipc.o is dependent on config PL320_MBOX which is declared as a bool. Hence the code is never going to be modular. So using module_init as an alias for __initcall can be somewhat misleading. Fix this up now, so that we can relocate module_init from init.h into module.h

[PATCH 10/11] x86: perf_event_intel_bts.c: use arch_initcall to hook in enabling

2015-05-31 Thread Paul Gortmaker
This was using module_init, but there is no way this code can be modular. In the non-modular case, a module_init becomes a device_initcall, but this really isn't a device. So we should choose a more appropriate initcall bucket to put it in. The obvious choice here seems to be arch_initcall,

[PATCH 11/11] x86: perf_event_intel_pt.c: use arch_initcall to hook in enabling

2015-05-31 Thread Paul Gortmaker
This was using module_init, but there is no way this code can be modular. In the non-modular case, a module_init becomes a device_initcall, but this really isn't a device. So we should choose a more appropriate initcall bucket to put it in. The obvious choice here seems to be arch_initcall,

linux-next: manual merge of the imx-mxs tree with the arm-soc tree

2015-05-31 Thread Stephen Rothwell
Hi Shawn, Today's linux-next merge of the imx-mxs tree got a conflict in arch/arm/mach-imx/Kconfig between commit 8064887e02fd ("ARM: vf610: enable Cortex-M4 configuration on Vybrid SoC") from the arm-soc tree and commit ef6c578329c7 ("ARM: imx: imx7d requires anatop") from the imx-mxs tree. I

[PATCH 03/11] netfilter: don't use module_init/exit in core IPV4 code

2015-05-31 Thread Paul Gortmaker
The file net/ipv4/netfilter.o is created based on whether CONFIG_NETFILTER is set. However that is defined as a bool, and hence this file with the core netfilter hooks will never be modular. So using module_init as an alias for __initcall can be somewhat misleading. Fix this up now, so that we

[PATCH 05/11] powerpc: use subsys_initcall for Freescale Local Bus

2015-05-31 Thread Paul Gortmaker
The FSL_SOC option is bool, and hence this code is either present or absent. It will never be modular, so using module_init as an alias for __initcall is rather misleading. Fix this up now, so that we can relocate module_init from init.h into module.h in the future. If we don't do this, we'd

[PATCH 06/11] powerpc: don't use module_init for non-modular core hugetlb code

2015-05-31 Thread Paul Gortmaker
The hugetlbpage.o is obj-y (always built in). It will never be modular, so using module_init as an alias for __initcall is somewhat misleading. Fix this up now, so that we can relocate module_init from init.h into module.h in the future. If we don't do this, we'd have to add module.h to

[PATCH 02/11] fs/notify: don't use module_init for non-modular inotify_user code

2015-05-31 Thread Paul Gortmaker
The INOTIFY_USER option is bool, and hence this code is either present or absent. It will never be modular, so using module_init as an alias for __initcall is rather misleading. Fix this up now, so that we can relocate module_init from init.h into module.h in the future. If we don't do this,

[PATCH 09/11] mm/page_owner.c: use late_initcall to hook in enabling

2015-05-31 Thread Paul Gortmaker
This was using module_init, but there is no way this code can be modular. In the non-modular case, a module_init becomes a device_initcall, but this really isn't a device. So we should choose a more appropriate initcall bucket to put it in. In order of execution, our close choices are:

[PATCH 01/11] mm: replace module_init usages with subsys_initcall in nommu.c

2015-05-31 Thread Paul Gortmaker
Compiling some arm/m68k configs with "# CONFIG_MMU is not set" reveals two more instances of module_init being used for code that can't possibly be modular, as CONFIG_MMU is either on or off. We replace them with subsys_initcall as per what was done in other mmu-enabled code. Note that direct

[PATCH] NFC: nci: hci: Fix releasing uninitialized skbs

2015-05-31 Thread Joe Perches
Several of these goto exit; uses should be direct returns as skb is not yet initialized by nci_hci_get_param(). Miscellanea: o Use !memcmp instead of memcmp() == 0 o Remove unnecessary goto from if () {... goto exit;} else {...} exit: Signed-off-by: Joe Perches --- net/nfc/nci/hci.c | 11

linux-next: manual merge of the arm-soc tree with Linus' tree

2015-05-31 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/zynq-7000.dtsi between commit 9eeb5161397a ("ARM: zynq: DT: Use the zynq binding with macb") from Linus' tree and commit 4481b18b7cf0 ("ARM: zynq: DT: Use the zynq binding with macb") from the arm-soc tree.

Re: [PATCH 1/1] net: core: 'ethtool' issue with querying phy settings

2015-05-31 Thread David Miller
From: Ben Hutchings Date: Sun, 31 May 2015 20:54:06 +0100 > On Fri, 2015-05-22 at 16:15 -0400, David Miller wrote: >> From: Arun Parameswaran >> Date: Wed, 20 May 2015 14:35:30 -0700 >> >> > When trying to configure the settings for PHY1, using commands >> > like 'ethtool -s eth0 phyad 1 speed

linux-next: manual merge of the arm-perf tree with the tree

2015-05-31 Thread Stephen Rothwell
Hi Will, Today's linux-next merge of the arm-perf tree got a conflict in arch/arm/kernel/perf_event_cpu.c between commit 338d9dd3e2ae ("ARM: 8351/1: perf: don't warn about missing interrupt-affinity property for PPIs") (and others) from Linus' tree and commit 74cf0bc75f16 ("arm: perf: unify

Re: BUG: update-grub, unable to handle kernel NULL pointer dereference

2015-05-31 Thread Jeremiah Mahler
Miklos, all, On Sat, May 30, 2015 at 01:03:24AM -0700, Jeremiah Mahler wrote: > all, > > When running update-grub on a system with a Windows partition the kernel > will oops with a "BUG: unable to handle kernel NULL pointer dereference" > message. It does this during the call to os-prober.

Re: [PATCH 11/11] i2c-core: Fix typo in comment

2015-05-31 Thread Wolfram Sang
On Mon, May 18, 2015 at 10:24:01PM +0530, Shailendra Verma wrote: > > Signed-off-by: Shailendra Verma Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH] I2c:smbus - Fix typo in comment.

2015-05-31 Thread Wolfram Sang
On Tue, May 19, 2015 at 08:09:41PM +0530, Shailendra Verma wrote: > > Signed-off-by: Shailendra Verma Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH 12/12] i2c-algo-pca: Fix typo in comment.

2015-05-31 Thread Wolfram Sang
On Mon, May 18, 2015 at 10:37:54PM +0530, Shailendra Verma wrote: > > Signed-off-by: Shailendra Verma Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH v9 0/3] ARM: mediatek: Add driver for Mediatek I2C

2015-05-31 Thread Wolfram Sang
On Thu, May 21, 2015 at 04:53:27PM +0800, Eddie Huang wrote: > This series is for Mediatek SoCs I2C controller common bus driver. > > Earlier MTK SoC (for example, MT6589, MT8135) I2C HW has some limitations. > New generation SoC like MT8173 fix following limitations: > > 1. Only support one

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 08:07:21PM -0300, Gaston Gonzalez wrote: > On Mon, Jun 01, 2015 at 07:17:39AM +0900, Greg KH wrote: > > On Sun, May 31, 2015 at 12:17:48PM -0300, Gaston Gonzalez wrote: > > > Fix the following sparse warnings: > > > > > >

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Gaston Gonzalez
On Mon, Jun 01, 2015 at 07:17:39AM +0900, Greg KH wrote: > On Sun, May 31, 2015 at 12:17:48PM -0300, Gaston Gonzalez wrote: > > Fix the following sparse warnings: > > > > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32: warning: > > incorrect type in assignment (different base

Re: linux-next: hang while trying to fetch the osd tree

2015-05-31 Thread Stephen Rothwell
Hi Boaz, On Sun, 31 May 2015 11:43:18 +0300 Boaz Harrosh wrote: > > On 05/28/2015 11:39 AM, Boaz Harrosh wrote: > > On 05/28/2015 03:47 AM, Stephen Rothwell wrote: > >> > >> Trying to fetch the osd tree > >> (git://git.open-osd.org/linux-open-osd.git#linux-next) just hangs after > >> connecting.

[PATCH][V2] usb: isp1760: fix null dereference if kzalloc returns null

2015-05-31 Thread Colin King
From: Colin Ian King If kzalloc returns null then isp1760_ep_alloc_request performs a null pointer dereference on req. Check for null to avoid this. Detected with smatch static analysis: drivers/usb/isp1760/isp1760-udc.c:816 isp1760_ep_alloc_request() error: potential null dereference 'req'.

Re: [PATCH] usb: isp1760: fix null dereference if kzalloc returns null

2015-05-31 Thread Colin Ian King
On 31/05/15 23:15, Sergei Shtylyov wrote: > Hello. > > On 06/01/2015 01:00 AM, Colin King wrote: > >> From: Colin Ian King > >> If kzalloc returns null then isp1760_ep_alloc_request performs >> a null pointer deference on req. > >Dereference, not "deference". Shall I send v2 for this

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 12:17:48PM -0300, Gaston Gonzalez wrote: > Fix the following sparse warnings: > > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32: warning: > incorrect type in assignment (different base types) > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32:

Re: [PATCH] usb: isp1760: fix null dereference if kzalloc returns null

2015-05-31 Thread Sergei Shtylyov
Hello. On 06/01/2015 01:00 AM, Colin King wrote: From: Colin Ian King If kzalloc returns null then isp1760_ep_alloc_request performs a null pointer deference on req. Dereference, not "deference". No, it doesn't. It calculates the address of the 'isp1760_request::req' instead,

Re: [PATCH 2/2] base: power : opp.c: fixed a typo error

2015-05-31 Thread Greg KH
On Wed, May 27, 2015 at 12:00:10AM +0530, Sriram Dash wrote: > From: dashsriram This name doesn't match your signed-off-by line :( > > Fixed a typo error in the file > > Signed-off-by: Sriram Dash Where is patch 1/2 of this series? -- To unsubscribe from this list: send the line

Re: [PATCH 0/4] UART slave device support - version 4

2015-05-31 Thread Greg Kroah-Hartman
On Mon, May 11, 2015 at 11:56:14AM +1000, NeilBrown wrote: > Hi all, > here is version 4 of my "UART slave device" patch set, previously > known as "tty slave devices". > > The most obvious change is the name. I realized that this isn't > really about "tty"s at all - it is about UARTs. Then

Re: [PATCH 0/6] use devicemodel with parport

2015-05-31 Thread Greg Kroah-Hartman
On Wed, May 20, 2015 at 08:56:56PM +0530, Sudip Mukherjee wrote: > After 5 versions of WIP, finally a patch submission. > parport subsystem is now in the transition stage and supports the old > model and the new device model. 3 of the drivers have been converted > into new model and tested. >

Re: [PATCH] base: power: domain.c: fixed a typo error

2015-05-31 Thread Greg KH
On Tue, May 26, 2015 at 08:06:51AM +0530, Sriram Dash wrote: > From: dashsriram Name isn't correct :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 4/4] base: power: runtime.c: Fixed a typo error

2015-05-31 Thread Greg KH
On Wed, May 27, 2015 at 12:13:47AM +0530, Sriram Dash wrote: > From: dashsriram Name problem :( > > Fixed a typo error in the file > > Signed-off-by: Sriram Dash > --- > drivers/base/power/runtime.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patches 1/4, 2/4, 3/4? You aren't

  1   2   3   4   5   6   >