Re: [PATCH] configfs: implement binary attributes

2015-12-29 Thread Krzysztof Opasiak
W dniu 2015-12-24 o 15:51, Christoph Hellwig pisze: From: Pantelis Antoniou ConfigFS lacked binary attributes up until now. This patch introduces support for binary attributes in a somewhat similar manner of sysfs binary attributes albeit with changes that fit the configfs usage model.

Re: [PATCH 3/5] Staging: panel: Remove ULL

2015-12-29 Thread Willy Tarreau
On Tue, Dec 29, 2015 at 03:59:26PM -0500, Ilia Mirkin wrote: > On Tue, Dec 29, 2015 at 3:08 PM, Ksenija Stanojevic > wrote: > > Remove ULL since it's useless. > > > > Signed-off-by: Ksenija Stanojevic > > --- > > drivers/staging/panel/panel.c | 12 ++-- > > 1 file changed, 6

Re: [RESEND PATCH v1 3/4] net: ethernet: arc: Add support emac for RK3036

2015-12-29 Thread Heiko Stübner
Am Dienstag, 29. Dezember 2015, 14:59:59 schrieb Florian Fainelli: > On December 27, 2015 11:22:20 PM PST, Xing Zheng wrote: > >The RK3036's GRFs offset are different with RK3066/RK3188, and need to > >set > >mac TX/RX clock before probe emac. > > > >Signed-off-by: Xing Zheng > >--- > > > >

Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding

2015-12-29 Thread Rob Herring
On Tue, Dec 29, 2015 at 11:03:57AM -0800, Bjorn Andersson wrote: > On Tue 29 Dec 10:34 PST 2015, Rob Herring wrote: > > > On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > > > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > > > Signed-off-by: Bjorn Andersson >

Re: [PATCH] configfs: implement binary attributes

2015-12-29 Thread Krzysztof Opasiak
W dniu 2015-12-30 o 00:00, Joel Becker pisze: > On Thu, Dec 24, 2015 at 03:51:10PM +0100, Christoph Hellwig wrote: >> From: Pantelis Antoniou >> >> ConfigFS lacked binary attributes up until now. This patch >> introduces support for binary attributes in a somewhat similar >> manner of sysfs

Re: a configfs update for 4.5, and the configfs tree question

2015-12-29 Thread Joel Becker
On Thu, Dec 24, 2015 at 03:51:09PM +0100, Christoph Hellwig wrote: > Hi all, > > I really want the configfs change in this series to go into 4.5. Originally > both Pantelis and I had changes ontop that would require it in a stable > non-rebased branch, but one or both of those might not make the

Re: [PATCH] configfs: implement binary attributes

2015-12-29 Thread Joel Becker
On Thu, Dec 24, 2015 at 03:51:10PM +0100, Christoph Hellwig wrote: > From: Pantelis Antoniou > > ConfigFS lacked binary attributes up until now. This patch > introduces support for binary attributes in a somewhat similar > manner of sysfs binary attributes albeit with changes that > fit the

Re: [RESEND PATCH v1 3/4] net: ethernet: arc: Add support emac for RK3036

2015-12-29 Thread Florian Fainelli
On December 27, 2015 11:22:20 PM PST, Xing Zheng wrote: >The RK3036's GRFs offset are different with RK3066/RK3188, and need to >set >mac TX/RX clock before probe emac. > >Signed-off-by: Xing Zheng >--- > }; > > static const struct of_device_id emac_rockchip_dt_ids[] = { >- { .compatible

Re: [RESEND PATCH v1 0/4] Add support emac for the RK3036 SoC platform

2015-12-29 Thread Florian Fainelli
On December 29, 2015 2:27:55 PM PST, "Heiko Stübner" wrote: >Hi Dave, > >Am Dienstag, 29. Dezember 2015, 15:53:14 schrieb David Miller: >> You have to submit this series properly, the same problem happend >twice >> now. >> >> When you submit a series you should: >> >> 1) Make it clear which

Re: [PATCH net-next 1/3] r8169:Fix typo in setting RTL8168EP and RTL8168H D3cold PFM mode

2015-12-29 Thread Francois Romieu
Chunhao Lin : > The register for setting D3code PFM mode is MISC_1, not DLLPR. > > Signed-off-by: Chunhao Lin Reviewed-by: Francois Romieu -- Ueimor -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [RESEND PATCH v1 0/4] Add support emac for the RK3036 SoC platform

2015-12-29 Thread Heiko Stübner
Hi Dave, Am Dienstag, 29. Dezember 2015, 15:53:14 schrieb David Miller: > You have to submit this series properly, the same problem happend twice > now. > > When you submit a series you should: > > 1) Make it clear which tree you expect these changes to be applied >to. Here it is

[PATCH 1/1] include/uapi/linux/sockios.h: mark SIOCRTMSG unused

2015-12-29 Thread Heinrich Schuchardt
IOCTL SIOCRTMSG does nothing but return EINVAL. So comment it as unused. Signed-off-by: Heinrich Schuchardt --- include/uapi/linux/sockios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/sockios.h b/include/uapi/linux/sockios.h index e888b1a..8e7890b

[PATCH] Limit VPD length on Atheros wifi cards

2015-12-29 Thread Jordan Hargrave
Attempt to read VPD on these cards causes kernel hang or delay Signed-off-by: Jordan Hargrave --- drivers/pci/quirks.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index e6376f6..a72667f 100644 ---

[PATCH] cxgb4: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since t4_alloc_mem can be failed in memory pressure, if not properly handled, NULL dereference could be happened. Signed-off-by: Insu Yun --- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c

Re: [PATCH v2 1/3] clk: bcm2835: Add bindings for the auxiliary peripheral clock gates.

2015-12-29 Thread Rob Herring
+Arnd and Olof On Mon, Dec 28, 2015 at 4:39 PM, Michael Turquette wrote: > Quoting Eric Anholt (2015-12-24 15:45:15) >> Michael Turquette writes: >> >> > On Fri, Dec 18, 2015 at 8:19 PM, Rob Herring wrote: >> >> On Tue, Dec 15, 2015 at 03:35:57PM -0800, Eric Anholt wrote: >> >>> These will be

crash in acpi_ns_detach_object in 4.3.3

2015-12-29 Thread Toralf Förster
The screen shots in [1] and [2] happened after I plugged + unplugged my ThinkPad T440s into/from the docking station. I did that to investigate why after few s2ram / docking cycles the external monitor stays black when docked. This did not happen with 4.1.7, I'm unsure if this was the case

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-29 Thread Rob Herring
On Tue, Dec 29, 2015 at 3:26 PM, Paul Kocialkowski wrote: > Le mardi 29 décembre 2015 à 14:02 -0600, Rob Herring a écrit : >> On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: >> > LP872x regulators are made active via the EN pin, which might be hooked to >> > a >> > GPIO. This

[PATCH] ixgbe: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since kzalloc can be failed in memory pressure, NULL derefence could be happened. Signed-off-by: Insu Yun --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c

[PATCH] usbtv: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since kzalloc can be failed, if not properly handled, NULL dereference could be happened. Signed-off-by: Insu Yun --- drivers/media/usb/usbtv/usbtv-video.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/usb/usbtv/usbtv-video.c b/drivers/media/usb/usbtv/usbtv-video.c

Re: [PATCH v3 0/4] Add online file check feature

2015-12-29 Thread Andrew Morton
On Fri, 25 Dec 2015 15:16:15 +0800 Gang He wrote: > When there are errors in the ocfs2 filesystem, > they are usually accompanied by the inode number which caused the error. > This inode number would be the input to fixing the file. > One of these options could be considered: > A file in the sys

Re: [PATCH v3 1/4] ocfs2: export ocfs2_kset for online file check

2015-12-29 Thread Andrew Morton
On Fri, 25 Dec 2015 15:16:16 +0800 Gang He wrote: > Export ocfs2_kset object from ocfs2_stackglue kernel module, > then online file check code will create the related sysfiles > under ocfs2_kset object. > > ... > > --- a/fs/ocfs2/stackglue.c > +++ b/fs/ocfs2/stackglue.c > @@ -629,7 +629,8 @@

[PATCH] mISDN: correctly handling failed allocation in fsm

2015-12-29 Thread Insu Yun
Since kzalloc can be failed in memory pressure, NULL dereference can be happened. Signed-off-by: Insu Yun --- drivers/isdn/mISDN/fsm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/isdn/mISDN/fsm.c b/drivers/isdn/mISDN/fsm.c index 26477d4..3c3ffb0 100644 ---

[PATCH] mISDN: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since kzalloc can be failed in memory pressure, NULL dereference might be happened. Signed-off-by: Insu Yun --- drivers/isdn/hardware/mISDN/hfcsusb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/isdn/hardware/mISDN/hfcsusb.c b/drivers/isdn/hardware/mISDN/hfcsusb.c index

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-29 Thread Paul Kocialkowski
Le mardi 29 décembre 2015 à 14:02 -0600, Rob Herring a écrit : > On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > > LP872x regulators are made active via the EN pin, which might be hooked to a > > GPIO. This adds support for driving the GPIO high when the driver is in use. > >

Re: [PATCH 3/6] iommu/amd: Introduce amd_iommu_get_num_iommus()

2015-12-29 Thread Suravee Suthikulpanit
Hi Jorge, On 12/28/15 09:43, Joerg Roedel wrote: On Tue, Dec 22, 2015 at 01:19:14PM -0600, Suthikulpanit, Suravee wrote: This patch introduces amd_iommu_get_num_iommus(). Initially, this is intended to be used by Perf AMD IOMMU driver. Signed-off-by: Suravee Suthikulpanit ---

[PATCH] ata: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since kzalloc can be failed in memory pressure, return error when failed. Signed-off-by: Insu Yun --- drivers/ata/sata_sx4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/sata_sx4.c b/drivers/ata/sata_sx4.c index fab504f..48301cb 100644 --- a/drivers/ata/sata_sx4.c +++

[PATCH 2/2] mmc-sdricoh_cs: Less checks in sdricoh_init_mmc() after, error detection

2015-12-29 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Dec 2015 21:45:34 +0100 This issue was detected by using the Coccinelle software. Two pointer checks could be repeated by the sdricoh_init_mmc() function during error handling even if the relevant properties can be determined for the involved variables before

[PATCH 1/2] mmc-sdricoh_cs: Delete unnecessary variable initialisations in sdricoh_init_mmc()

2015-12-29 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Dec 2015 21:11:45 +0100 These variables will eventually be set to an appropriate value a bit later. * host * iobase * result Thus let us omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/mmc/host/sdricoh_cs.c | 6

Re: [PATCH 3/5] Staging: panel: Remove ULL

2015-12-29 Thread Ilia Mirkin
On Tue, Dec 29, 2015 at 3:08 PM, Ksenija Stanojevic wrote: > Remove ULL since it's useless. > > Signed-off-by: Ksenija Stanojevic > --- > drivers/staging/panel/panel.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/panel/panel.c

[PATCH 0/2] mmc-host: Fine-tuning for one function

2015-12-29 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Dec 2015 21:54:14 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete unnecessary variable initialisations in sdricoh_init_mmc() Less checks in sdricoh_init_mmc() after error detection

[PATCH v3 0/4] um: Add seccomp support

2015-12-29 Thread Mickaël Salaün
This series add seccomp support to User-mode Linux (i386 and x86_64 subarchitectures) and fix ptrace issues. This apply on v4.4-rc7 and pass all the 48 tests from selftest/seccomp plus the UML ptsc test. Changes since v2: * remove get_syscall() from os.h and don't include it in syscall.c [1/4] *

Re: [RESEND PATCH v1 0/4] Add support emac for the RK3036 SoC platform

2015-12-29 Thread David Miller
You have to submit this series properly, the same problem happend twice now. When you submit a series you should: 1) Make it clear which tree you expect these changes to be applied to. Here it is completely ambiguous, do you want it to go into my networking tree or some other subsystem

[PATCH v3 1/4] um: Fix ptrace GETREGS/SETREGS bugs

2015-12-29 Thread Mickaël Salaün
This fix two related bugs: * PTRACE_GETREGS doesn't get the right orig_ax (syscall) value * PTRACE_SETREGS can't set the orig_ax value (erased by initial value) Get rid of the now useless and error-prone get_syscall(). Fix inconsistent behavior in the ptrace implementation for i386 when updating

[PATCH v3 2/4] selftests/seccomp: Remove the need for HAVE_ARCH_TRACEHOOK

2015-12-29 Thread Mickaël Salaün
Some architectures do not implement PTRACE_GETREGSET nor PTRACE_SETREGSET (required by HAVE_ARCH_TRACEHOOK) but only implement PTRACE_GETREGS and PTRACE_SETREGS (e.g. User-mode Linux). This improve seccomp selftest portability for architectures without HAVE_ARCH_TRACEHOOK support by defining a

[PATCH v3 4/4] um: Add seccomp support

2015-12-29 Thread Mickaël Salaün
This brings SECCOMP_MODE_STRICT and SECCOMP_MODE_FILTER support through prctl(2) and seccomp(2) to User-mode Linux for i386 and x86_64 subarchitectures. secure_computing() is called first in handle_syscall() so that the syscall emulation will be aborted quickly if matching a seccomp rule. This

Re: [PATCH 06/10] net: hns: use to_platform_device()

2015-12-29 Thread David Miller
From: Geliang Tang Date: Sun, 27 Dec 2015 21:15:44 +0800 > Use to_platform_device() instead of open-coding it. > > Signed-off-by: Geliang Tang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/9] atm: solos-pci: use to_pci_dev()

2015-12-29 Thread David Miller
From: Geliang Tang Date: Sun, 27 Dec 2015 18:45:57 +0800 > Use to_pci_dev() instead of open-coding it. > > Signed-off-by: Geliang Tang Applied. -- 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

Re: [PATCH v4 9/9] phy: omap-usb2: use *syscon* framework API to power on/off the PHY

2015-12-29 Thread Rob Herring
On Mon, Dec 21, 2015 at 02:24:13PM +0530, Kishon Vijay Abraham I wrote: > Deprecate using phy-omap-control driver to power on/off the PHY, > and use *syscon* framework to do the same. This handles > powering on/off the PHY for the USB2 PHYs used in various TI SoCs. > > Signed-off-by: Kishon Vijay

[PATCH v3 3/4] um: Add full asm/syscall.h support

2015-12-29 Thread Mickaël Salaün
Add subarchitecture-independent implementation of asm-generic/syscall.h allowing access to user system call parameters and results: * syscall_get_nr() * syscall_rollback() * syscall_get_error() * syscall_get_return_value() * syscall_set_return_value() * syscall_get_arguments() *

Re: [PATCH] unix: properly account for FDs passed over unix sockets

2015-12-29 Thread Willy Tarreau
On Tue, Dec 29, 2015 at 03:48:45PM +0100, Hannes Frederic Sowa wrote: > On 28.12.2015 15:14, Willy Tarreau wrote: > >It is possible for a process to allocate and accumulate far more FDs than > >the process' limit by sending them over a unix socket then closing them > >to keep the process' fd count

Re: [PATCH v2 2/2] pci, pcie-thunder-pem: Add PCIe host driver for ThunderX processors.

2015-12-29 Thread Rob Herring
On Tue, Dec 22, 2015 at 03:43:52PM -0800, David Daney wrote: > From: David Daney > > Some Cavium ThunderX processors require quirky access methods for the > config space of the PCIe bridge. Add a driver to provide these config > space accessor functions. The pci-host-common code is used to >

Re: [PATCH net] openvswitch: Fix template leak in error cases.

2015-12-29 Thread David Miller
From: Joe Stringer Date: Wed, 23 Dec 2015 14:39:27 -0800 > Commit 5b48bb8506c5 ("openvswitch: Fix helper reference leak") fixed a > reference leak on helper objects, but inadvertently introduced a leak on > the ct template. > > Previously, ct_info.ct->general.use was initialized to 0 by >

Re: [PATCH 2/2] pci: Update VPD size with correct length

2015-12-29 Thread Alexander Duyck
On Tue, Dec 29, 2015 at 11:01 AM, wrote: >>On Mon, Dec 28, 2015 at 9:29 PM, wrote: >>> I had posted a patch recently to enable exposing the VPD-R valyes to sysfs. >>> I need access >>> to these to parse into systemd for network naming (biosdevname style names). >>> >>> >>> The VPD-R is a

Re: [PATCH v2] cfq-iosched: convert group idle time to jiffies

2015-12-29 Thread Alexandru Moise
On Tue, Dec 29, 2015 at 01:19:57PM -0700, Jens Axboe wrote: > On 12/29/2015 01:16 PM, Alexandru Moise wrote: > >This patch refers to Jens Axboe's change way back in 2006: > >7b14e3b52 cfq-iosched: slice expiry fixups > > > >In this patch he fixed a potential timer race condition by delaying >

Re: [PATCH v2] cfq-iosched: convert group idle time to jiffies

2015-12-29 Thread Jens Axboe
On 12/29/2015 01:16 PM, Alexandru Moise wrote: This patch refers to Jens Axboe's change way back in 2006: 7b14e3b52 cfq-iosched: slice expiry fixups In this patch he fixed a potential timer race condition by delaying idle_slice_timer by the slice_idle time value. Today this timer is delayed by

crypto: use-after-free in alg_bind

2015-12-29 Thread Dmitry Vyukov
Hello, On commit 8513342170278468bac126640a5d2d12ffbff106 + crypto: algif_skcipher - Use new skcipher interface + crypto: algif_skcipher - Require setkey before accept(2) + crypto: af_alg - Disallow bind/setkey/... after accept(2) The following program causes use-after-free in alg_bind and later

[PATCH v2] cfq-iosched: convert group idle time to jiffies

2015-12-29 Thread Alexandru Moise
This patch refers to Jens Axboe's change way back in 2006: 7b14e3b52 cfq-iosched: slice expiry fixups In this patch he fixed a potential timer race condition by delaying idle_slice_timer by the slice_idle time value. Today this timer is delayed by either slice_idle or group_idle time values,

[PATCH] mwifiex: correctly handling kzalloc

2015-12-29 Thread Insu Yun
Signed-off-by: Insu Yun --- drivers/net/wireless/mwifiex/sdio.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/wireless/mwifiex/sdio.c b/drivers/net/wireless/mwifiex/sdio.c index 78a8474..a8af72d 100644 --- a/drivers/net/wireless/mwifiex/sdio.c +++

Re: [PATCH v2 0/3] bpf: hash: use per-bucket spinlock

2015-12-29 Thread David Miller
From: Ming Lei Date: Tue, 29 Dec 2015 22:40:24 +0800 > Hi, > > This patchset tries to optimize ebpf hash map, and follows > the idea: > > Both htab_map_update_elem() and htab_map_delete_elem() > can be called from eBPF program, and they may be in kernel > hot path, it

Re: timerfd_settime/timerfd_gettime issue ?

2015-12-29 Thread Helge Deller
On 29.12.2015 10:44, Thomas Gleixner wrote: > On Sat, 26 Dec 2015, Helge Deller wrote: >> I see a strange behavior on the parisc platform, for which I'm not sure if >> it's intended or if there is a bug somewhere. > >> The program calls timerfd_settime() and sets a timer (e.g. sec=0, >>

Routable IRQs

2015-12-29 Thread Felipe Balbi
Hi Thomas & Jason, I'm dealing with an interesting situation which I'm wondering if Linux already support for. Basically, in some TI SoCs we have what's referred to as Programmable Real-Time Unit SubSystem (PRUSS). That's essentially a really simple, low latency, single cycle architecture which

[PATCH 5/5] Staging: panel: Make statement more readable

2015-12-29 Thread Ksenija Stanojevic
Broke statement into 3 different lines to make it more readable. Signeded-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 70cb9f3..207d8d5

Re: [PATCH] mwifiex: correctly handling kzalloc

2015-12-29 Thread David Miller
From: Insu Yun Date: Tue, 29 Dec 2015 14:55:25 -0500 > Since kzalloc can be failed in memory pressure, > it needs to be handled as above kzalloc. > > Signed-off-by: Insu Yun > --- > drivers/net/wireless/mwifiex/sdio.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

[PATCH 4/5] Staging: panel: Reduce value range for *name

2015-12-29 Thread Ksenija Stanojevic
out is 0-9 so it's too much for om, therefore reduce value range for *name from '0'-'9' to '0'-'7'. Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/panel/panel.c

[PATCH 3/5] Staging: panel: Remove ULL

2015-12-29 Thread Ksenija Stanojevic
Remove ULL since it's useless. Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7138ee7..6dc3efb 100644 ---

Re: [PATCH] net: Fix potential NULL pointer dereference in __skb_try_recv_datagram

2015-12-29 Thread David Miller
From: Rainer Weikusat Date: Tue, 29 Dec 2015 19:42:36 + > Jacob Siverskog writes: >> This should fix a NULL pointer dereference I encountered (dump >> below). Since __skb_unlink is called while walking, >> skb_queue_walk_safe should be used. > > The code in question is: ... > __skb_unlink

[PATCH 2/5] Staging: panel: Remove typedef pmask_t

2015-12-29 Thread Ksenija Stanojevic
Use __u64 instead of pmask_t and remove pmask_t since is useless. Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c

[PATCH 1/5] Staging: panel: Use u8 type

2015-12-29 Thread Ksenija Stanojevic
Declare om, im, omask and imask as u8 to remove any confusion if that describes the 8 bits of the data bus on the parallel port. Also change return type of lcd_write_data() to u8. Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 0/5] Staging: panel: TODO fixes

2015-12-29 Thread Ksenija Stanojevic
This patchset is based on patch sent by Bijosh Thykkoottathil. Here I tried to address all suggestions made by Dan and Willy. Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (5): Staging: panel: Use u8 type Staging: panel: Remove typedef pmask_t Staging: panel: Remove ULL Staging:

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-29 Thread Rob Herring
On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > LP872x regulators are made active via the EN pin, which might be hooked to a > GPIO. This adds support for driving the GPIO high when the driver is in use. > > Signed-off-by: Paul Kocialkowski > --- >

Re: [PATCH v2 0/6] watchdog: Replace driver based refcounting

2015-12-29 Thread Wim Van Sebroeck
Hi Guenter, > All variables required by the watchdog core to manage a watchdog are > currently stored in struct watchdog_device. The lifetime of those > variables is determined by the watchdog driver. However, the lifetime > of variables used by the watchdog core differs from the lifetime of >

[PATCH] qlcnic: correctly handle qlcnic_alloc_mbx_args

2015-12-29 Thread Insu Yun
Since qlcnic_alloc_mbx_args can be failed, return value should be checked. Signed-off-by: Insu Yun --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c

[PATCH] cgroup: demote subsystem init messages to KERN_DEBUG

2015-12-29 Thread Tejun Heo
>From 507bd688e32c2b2ca4bed139d9123b3da6d2d19d Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 29 Dec 2015 14:53:56 -0500 These are noisy during boot and not all that interesting. Signed-off-by: Tejun Heo --- Queued for the coming merge window. Thanks. kernel/cgroup.c | 2 +- 1 file

[PATCH] mwifiex: correctly handling kzalloc

2015-12-29 Thread Insu Yun
Since kzalloc can be failed in memory pressure, it needs to be handled as above kzalloc. Signed-off-by: Insu Yun --- drivers/net/wireless/mwifiex/sdio.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/mwifiex/sdio.c b/drivers/net/wireless/mwifiex/sdio.c index

[PATCH] mmc-core: One check less in mmc_select_hs200() after error detection

2015-12-29 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Dec 2015 20:28:46 +0100 This issue was detected by using the Coccinelle software. Move the jump label directly before the desired log statement so that the variable "err" will not be checked once more after it was determined that a call of the function

Re: [PATCH RESEND] xhci:Remove unused marco definitions from the file xhci-hub.c

2015-12-29 Thread Greg KH
On Tue, Dec 29, 2015 at 01:28:16PM -0500, Nicholas Krause wrote: > This removes the unneeded marco definitions for the marcos > of XHCI_PORT_RW1S, XHCI_PORT_RW1C, XHCI_PORT_RWand > XHCI_PORT_RZ due to no uses of these marcos in the file > xhci-hub.c or any other related kernel source code

Re: [PATCH] qlcnic: correctly handle qlcnic_alloc_mbx_args

2015-12-29 Thread David Miller
From: Insu Yun Date: Tue, 29 Dec 2015 14:29:47 -0500 > Signed-off-by: Insu Yun > --- > drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c >

RE:IMPORTANT AND LUCRATIVE BUSINESS DISCUSSION

2015-12-29 Thread Hassan Ameri
HELLO, PLEASE GET BACK TO ME FOR AN IMPORTANT AND LUCRATIVE BUSINESS DISCUSSION.I AM TALKING ABOUT CRUDE OIL AND SEEKING A REPRESENTATIVE. REGARDS, H.A -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

RE:IMPORTANT AND LUCRATIVE BUSINESS PROJECT.

2015-12-29 Thread Hassan Ameri
HELLO, PLEASE GET BACK TO ME FOR AN IMPORTANT AND LUCRATIVE BUSINESS DISCUSSION.I AM TALKING ABOUT CRUDE OIL AND SEEKING A REPRESENTATIVE. REGARDS, H.A -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH] net: Fix potential NULL pointer dereference in __skb_try_recv_datagram

2015-12-29 Thread Rainer Weikusat
Jacob Siverskog writes: > This should fix a NULL pointer dereference I encountered (dump > below). Since __skb_unlink is called while walking, > skb_queue_walk_safe should be used. The code in question is: skb_queue_walk(queue, skb) { *last = skb; *peeked = skb->peeked;

Re: [PATCH] qxl: correctly handling failed allocation

2015-12-29 Thread kbuild test robot
Hi Insu, [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [PATCH] qxl: correctly handling failed allocation

2015-12-29 Thread kbuild test robot
Hi Insu, [auto build test WARNING on drm/drm-next] [also build test WARNING on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH] qlcnic: correctly handle qlcnic_alloc_mbx_args

2015-12-29 Thread Insu Yun
Signed-off-by: Insu Yun --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c index a5f422f..a9a2c33 100644 ---

Re: [PATCH 1/1] kernel booting messages, first line

2015-12-29 Thread Tejun Heo
On Tue, Dec 29, 2015 at 10:42:40AM -0800, Randy Dunlap wrote: > On 12/28/15 17:31, Alexandru GOIA wrote: > > What it does : first line of booting kernel, as seen in dmesg(1), will be > > the Linux kernel signature > > (version, compiler, compiler hostname). > > > > What it solves : it appers

RE: [PATCH 2/2] pci: Update VPD size with correct length

2015-12-29 Thread Jordan_Hargrave
>On Mon, Dec 28, 2015 at 9:29 PM, wrote: >> I had posted a patch recently to enable exposing the VPD-R valyes to sysfs. >> I need access >> to these to parse into systemd for network naming (biosdevname style names). >> >> >> The VPD-R is a readonly area contained within the PCI Vital Product

[PATCH] qxl: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since kmalloc can be failed in memory pressure, when fails, return error code. Signed-off-by: Insu Yun --- drivers/gpu/drm/qxl/qxl_kms.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_kms.c b/drivers/gpu/drm/qxl/qxl_kms.c index b2977a1..2e99854 100644 ---

Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding

2015-12-29 Thread Andy Gross
On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > > Signed-off-by: Bjorn Andersson > --- > + > +- qcom,wcnss-mmio: > + Usage: required > + Value type: nit: encoded > + Definition: should specify

[PATCH] net: Fix potential NULL pointer dereference in __skb_try_recv_datagram

2015-12-29 Thread Jacob Siverskog
This should fix a NULL pointer dereference I encountered (dump below). Since __skb_unlink is called while walking, skb_queue_walk_safe should be used. I investigated the oops and it seems like skb->next was NULL. Oops: Unable to handle kernel NULL pointer dereference at virtual address 0004

Re: [PATCH v2 3/4] dt-binding: remoteproc: Introduce Qualcomm WCNSS loader binding

2015-12-29 Thread Andy Gross
On Sun, Dec 27, 2015 at 05:15:45PM -0800, Bjorn Andersson wrote: > The document defines the binding for a component that loads firmware for > and boots the Qualcomm WCNSS core. > > Signed-off-by: Bjorn Andersson > --- Acked-by: Andy Gross -- To unsubscribe from this list: send the line

Re: [PATCH] i915: correctly handling failed allocation

2015-12-29 Thread kbuild test robot
Hi Insu, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [PATCH] cx231xx: correctly handling failed allocation

2015-12-29 Thread Devin Heitmueller
On Tue, Dec 29, 2015 at 1:53 PM, Insu Yun wrote: > Since kmalloc can be failed in memory pressure, > if not properly handled, NULL dereference can be happend > > Signed-off-by: Insu Yun > --- > drivers/media/usb/cx231xx/cx231xx-417.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding

2015-12-29 Thread Bjorn Andersson
On Tue 29 Dec 10:34 PST 2015, Rob Herring wrote: > On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > > Signed-off-by: Bjorn Andersson > > --- > > .../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 > >

Re: [PATCH v2] net, socket, socket_wq: fix missing initialization of flags

2015-12-29 Thread Eric Dumazet
On Tue, 2015-12-29 at 13:29 +0100, Nicolai Stange wrote: > Fixes: ceb5d58b2170 ("net: fix sock_wake_async() rcu protection") > Sorry for any inconvenience this late-night induced brainfart might > have caused at your side... Not really, because I read the source code and saw the bug there ;)

[PATCH] i915: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Signed-off-by: Insu Yun --- drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c b/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c index a5e99ac..4e279dd 100644 --- a/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c +++

Re: BUG: Bad rss-counter state mm:ffff8800c5a96000 idx:3 val:3894

2015-12-29 Thread Jeremiah Mahler
Andrew, Michal, On Tue, Dec 29, 2015 at 10:30:37AM -0800, Andrew Morton wrote: > On Tue, 29 Dec 2015 17:23:47 +0100 Michal Hocko wrote: > > > [CCing Andrew] > > > > On Thu 24-12-15 09:12:53, Jeremiah Mahler wrote: > > > all, > > > > > > I have started seeing a "Bad rss-counter" message in the

[PATCH] cx231xx: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since kmalloc can be failed in memory pressure, if not properly handled, NULL dereference can be happend Signed-off-by: Insu Yun --- drivers/media/usb/cx231xx/cx231xx-417.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/cx231xx/cx231xx-417.c

Re: [PATCH 1/1] kernel booting messages, first line

2015-12-29 Thread Randy Dunlap
On 12/28/15 17:31, Alexandru GOIA wrote: > > For -rc8 , > > Hoping that someone DO cares about the aesthetic of kernel messages at boot : > > > What it does : first line of booting kernel, as seen in dmesg(1), will be the > Linux kernel signature > (version, compiler, compiler hostname). >

[PATCH] mtd: fixing memory leak and handling failed kmalloc

2015-12-29 Thread Insu Yun
kmalloc needs to be handled when failing in memory pressure. Also, it has memory leak in error routine. Signed-off-by: Insu Yun --- drivers/mtd/chips/cfi_cmdset_0001.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c

Re: [PATCH 2/2] dt-bindings: bus: ti-gpmc: Add AAD timings properties

2015-12-29 Thread Rob Herring
On Mon, Dec 28, 2015 at 02:39:21PM +0100, Neil Armstrong wrote: > In order to support advanced AAD timings, add these properties to the DT > GPMC bindings. > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/bus/ti-gpmc.txt | 5 + > 1 file changed, 5 insertions(+)

Re: [PATCH v2 2/4] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi compatible string

2015-12-29 Thread Rob Herring
On Thu, Dec 24, 2015 at 07:01:01PM +0800, Yuan Yao wrote: > new compatible string: "fsl,ls2080a-qspi". > > Signed-off-by: Yuan Yao > --- > Changed in v2: > Update my email to > --- > Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

crypto: deadlock in alg_setsockopt

2015-12-29 Thread Dmitry Vyukov
Hello, On commit 8513342170278468bac126640a5d2d12ffbff106 + crypto: algif_skcipher - Use new skcipher interface + crypto: algif_skcipher - Require setkey before accept(2) + crypto: af_alg - Disallow bind/setkey/... after accept(2) The following program creates an unkillable, deadlocked process:

Re: [PATCH v2 3/4] dt-binding: remoteproc: Introduce Qualcomm WCNSS loader binding

2015-12-29 Thread Rob Herring
On Sun, Dec 27, 2015 at 05:15:45PM -0800, Bjorn Andersson wrote: > The document defines the binding for a component that loads firmware for > and boots the Qualcomm WCNSS core. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v1: > - Dropped custom properties for firmware-name and

Re: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2015-12-29 Thread Rob Herring
On Thu, Dec 24, 2015 at 07:01:00PM +0800, Yuan Yao wrote: > new compatible string: "fsl,ls2080a-qspi". > > Signed-off-by: Yuan Yao > --- > Changed in v2: > Update my email to > --- > Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 3 ++- > 1 file changed, 2 insertions(+), 1

Re: [PATCH] DT: i2c: Add Freescale MPL3115 to trivial devices list

2015-12-29 Thread Rob Herring
On Wed, Dec 23, 2015 at 01:59:07PM -0500, Akshay Bhat wrote: > This adds devicetree documentation for the bindings of mpl3115 driver. > > Signed-off-by: Akshay Bhat > --- > Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [PATCH 4/4] Documentation: fsl-quadspi: Add optional properties

2015-12-29 Thread Rob Herring
On Thu, Dec 24, 2015 at 07:01:03PM +0800, Yuan Yao wrote: > Add optional properties for QSPI: > big-endian > if the register is big endian on this platform. > > Signed-off-by: Yuan Yao > --- > Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding

2015-12-29 Thread Rob Herring
On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > Signed-off-by: Bjorn Andersson > --- > .../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 > ++ > 1 file changed, 76 insertions(+) >

[PATCH] mfd: twl-core: One function call less in add_numbered_child() after error detection

2015-12-29 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Dec 2015 19:29:08 +0100 The platform_device_put() function was called in one case by the add_numbered_child() function during error handling even if the passed variable "pdev" contained a null pointer. Implementation details could be improved by the adjustment

Re: [PATCH v3 2/5] dt-bindings: mediatek: Modify pinctrl bindings for mt2701

2015-12-29 Thread Rob Herring
On Mon, Dec 28, 2015 at 03:09:03PM +0800, Biao Huang wrote: > Signed-off-by: Biao Huang > --- > .../devicetree/bindings/pinctrl/pinctrl-mt65xx.txt |9 + > 1 file changed, 5 insertions(+), 4 deletions(-) I acked v2 already. Please add acks when posting new versions. Acked-by: Rob

Re: BUG: Bad rss-counter state mm:ffff8800c5a96000 idx:3 val:3894

2015-12-29 Thread Andrew Morton
On Tue, 29 Dec 2015 17:23:47 +0100 Michal Hocko wrote: > [CCing Andrew] > > On Thu 24-12-15 09:12:53, Jeremiah Mahler wrote: > > all, > > > > I have started seeing a "Bad rss-counter" message in the logs with > > the latest linux-next 20151222+. > > > > [ 458.282192] BUG: Bad rss-counter

Re: [PATCH RESEND] csiostor:Fix locking issues in the function csio_scsim_cleanup_io_lnode

2015-12-29 Thread Jens Axboe
On 12/29/2015 11:23 AM, Nicholas Krause wrote: This fixes locking issues in the function csio_scsim_cleanup_io_lnode by locking around the call to the function csio_csci_gather_active_ios with the function pair spin_lock_irq/spin_unlock_irq as any function calling this particular function must

<    1   2   3   4   5   6   7   8   >