Patch "infiniband: fix race condition between infiniband mlx4, mlx5 driver and core dumping" has been added to the 4.9-stable tree

2019-08-05 Thread gregkh
This is a note to let you know that I've just added the patch titled infiniband: fix race condition between infiniband mlx4, mlx5 driver and core dumping to the 4.9-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Re: [PATCH v6 0/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-08-05 Thread Greg KH
On Sun, Aug 04, 2019 at 09:29:28AM +0530, Ajay Kaher wrote: > coredump: fix race condition between mmget_not_zero()/get_task_mm() > and core dumping > > [PATCH v5 1/3]: > Backporting of commit 04f5866e41fb70690e28397487d8bd8eea7d712a upstream. > > [PATCH v5 2/3]: > Extension of commit

[PATCH] Staging : rtl8188eu : rtw_security.c - Fixed warning: coding style issues - Fixed warning: if statement containing return with an else - Fixed check: coding style issues

2019-08-05 Thread merwintf
Signed-off-by: merwintf --- drivers/staging/rtl8188eu/core/rtw_security.c | 525 +++--- 1 file changed, 334 insertions(+), 191 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c b/drivers/staging/rtl8188eu/core/rtw_security.c index 2f90f60f1681..b9f5ebdae034

Re: [PATCH] Staging : rtl8188eu : rtw_security.c - Fixed warning: coding style issues - Fixed warning: if statement containing return with an else - Fixed check: coding style issues

2019-08-05 Thread Dan Carpenter
1) Fix the From header. 2) Fix the subject. 3) Add a blank line after the subject. 4) Split the path up into multiple patches that each do one kind of change. On Mon, Aug 05, 2019 at 01:22:56PM +0530, merwintf wrote: > Signed-off-by: merwintf Use your real name

Re: [PATCH v2 06/34] drm/i915: convert put_page() to put_user_page*()

2019-08-05 Thread Rodrigo Vivi
On Sun, Aug 04, 2019 at 03:48:47PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > For pages that were retained via get_user_pages*(), release those pages > via the new put_user_page*() routines, instead of via put_page() or > release_pages(). > > This is part a tree-wide

Re: [PATCH] staging: pi433 line over 80 characters in multiple places

2019-08-05 Thread Greg Kroah-Hartman
On Mon, Aug 05, 2019 at 05:32:45AM +0530, Giridhar Prasath R wrote: > Fix the following checkpatch warnings: > > WARNING: line over 80 characters > FILE: drivers/staging/pi433/pi433_if.h > > Signed-off-by: Giridhar Prasath R > --- > drivers/staging/pi433/pi433_if.h | 23 ---

Re: [PATCH] staging: rtl8192u: Add NULL check post kzalloc

2019-08-05 Thread Greg Kroah-Hartman
On Sun, Aug 04, 2019 at 09:19:05AM +0530, Hariprasad Kelam wrote: > Collect returns status of kzalloc. > > Signed-off-by: Hariprasad Kelam > --- > drivers/staging/rtl8192u/r8192U_core.c | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) Does not apply to my tree :(

[engineering.redhat.com #494100] Question on submitting patch for a security bug

2019-08-05 Thread Red Hat Product Security
Hello Navid, On Thu, 18 Jul 2019 01:30:20 GMT, emamd...@umn.edu wrote: > I've found a null dereference bug in the Linux kernel source code. I was > wondering should I cc the patch to you as well (along with the > maintainers)? No. Please do not cc on the upstream kernel patches. It is meant for

Re: [PATCH] staging: isdn: remove unnecessary parentheses

2019-08-05 Thread Dan Carpenter
This driver is obselete so we're just keeping it around for a couple kernel releases and then deleting it. We're not taking cleanups for it. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org

Re: [PATCH 1/4] iio: adc: ad7606: Add support for AD7606B ADC

2019-08-05 Thread Jonathan Cameron
On Fri, 2 Aug 2019 13:03:01 +0300 Beniamin Bia wrote: > From: Stefan Popa > > The AD7606B is a 16-bit ADC that supports simultaneous sampling of 8 > channels. It is pin compatible to AD7606, but adds extra modes by > writing to the register map. > > The AD7606B can be configured to work in

Re: [PATCH] Fix the following checkpatch warnings:

2019-08-05 Thread Dan Carpenter
The subject isn't right and I don't really feel that the change makes the code more beautiful to look at. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org

Re: [PATCH] staging: pi433 line over 80 characters in multiple places

2019-08-05 Thread Dan Carpenter
The subject needs a colon after "pi433:" but also this change isn't really an improvement so far as readability goes. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org

Re: [PATCH] Staging : rtl8188eu : rtw_security.c - Fixed warning: coding style issues - Fixed warning: if statement containing return with an else - Fixed check: coding style issues

2019-08-05 Thread Greg KH
On Mon, Aug 05, 2019 at 01:22:56PM +0530, merwintf wrote: > Signed-off-by: merwintf > --- > drivers/staging/rtl8188eu/core/rtw_security.c | 525 +++--- > 1 file changed, 334 insertions(+), 191 deletions(-) > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent

Re: [Lkcamp] [PATCH] isdn: hysdn: fix code style error from checkpatch

2019-08-05 Thread Helen Koike
Hi, On Fri, Aug 2, 2019 at 6:55 PM Stephen Hemminger wrote: > > On Fri, 2 Aug 2019 19:50:17 + > Ricardo Bruno Lopes da Silva wrote: > > > Fix error bellow from checkpatch. > > > > WARNING: Block comments use * on subsequent lines > >

Re: [Lkcamp] [PATCH] staging: isdn: remove unnecessary parentheses

2019-08-05 Thread Helen Koike
Hi, On Mon, Aug 5, 2019 at 11:51 AM Dan Carpenter wrote: > > This driver is obselete so we're just keeping it around for a couple > kernel releases and then deleting it. We're not taking cleanups for it. I'm sorry, it was me who suggested Thiago to make this change as his first contribution, I

[PATCH] rtl8712: rtl871x_ioctl_linux.c: fix unnecessary typecast

2019-08-05 Thread Jose Carlos Cazarin Filho
Fix checkpath warning: WARNING: Unnecessary typecast of c90 int constant Signed-off-by: Jose Carlos Cazarin Filho --- Hello all! This is my first commit to the Linux Kernel, I'm doing this to learn and be able to contribute more in the future Peace all!

[PATCH 04/22] media: Move v4l2_fwnode_parse_link from v4l2 to driver base

2019-08-05 Thread Steve Longerbeam
There is nothing v4l2-specific about v4l2_fwnode_{parse|put}_link(). Make these functions more generally available by moving them to driver base, with the appropriate name changes to the functions and struct. In the process embed a 'struct fwnode_endpoint' in 'struct fwnode_link' for both sides

[PATCH 21/22] media: imx: Use media_create_fwnode_links for external links

2019-08-05 Thread Steve Longerbeam
The entities external to the i.MX6 IPU and i.MX7 now create the links to their fwnode-endpoint connected entities in their notifier bound callbacks. This should mean that there is no longer a need for the imx-media driver to create these external fwnode-endpoint based links. But the v4l2-async

[PATCH 13/22] media: imx: mipi csi-2: Create media links in bound notifier

2019-08-05 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the mipi csi-2 receiver sink pad. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx6-mipi-csi2.c | 24 ++ 1 file changed, 24 insertions(+) diff --git

[PATCH 19/22] media: imx: csi: Lookup endpoint fwnode with media_entity_get_fwnode_pad

2019-08-05 Thread Steve Longerbeam
Fix the 1:1 port-id:pad-index assumption for the upstream subdevice connected to a CSI via one of the subdevice's pads, by searching the upstream subdevice's endpoints for one that maps to the pad's index, using media_entity_get_fwnode_pad(). This is carried out by a new reverse mapping function

[PATCH 11/22] media: v4l2-fwnode: Pass notifier to v4l2_async_register_fwnode_subdev()

2019-08-05 Thread Steve Longerbeam
Instead of allocating a notifier in v4l2_async_register_fwnode_subdev(), have the caller provide one. This allows the caller to implement notifier ops (bind, unbind). The caller is now responsible for first initializing its notifier with a call to v4l2_async_notifier_init(). Signed-off-by: Steve

[PATCH 16/22] media: imx: csi: Implement get_fwnode_pad

2019-08-05 Thread Steve Longerbeam
The CSI does not have a 1:1 relationship between fwnode port numbers and pad indexes. In fact the CSI fwnode device is itself a port which is the sink, containing only a single fwnode endpoint. Implement media_entity operation get_fwnode_pad to first verify the given endpoint is the CSI's sink

[PATCH 22/22] media: imx: TODO: Remove issues regarding media link creation

2019-08-05 Thread Steve Longerbeam
Remove the TODO items regarding media link creation, these issues are resolved after exporting media link creation to individual entity bound callbacks and the use of media_create_fwnode_links(), media_create_fwnode_pad_links(), and media_entity_get_fwnode_pad(). Signed-off-by: Steve Longerbeam

[PATCH 15/22] media: imx7-media-csi: Create media links in bound notifier

2019-08-05 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the CSI sink pad. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx7-media-csi.c | 24 ++ 1 file changed, 24 insertions(+) diff --git

[PATCH 14/22] media: imx7-mipi-csis: Create media links in bound notifier

2019-08-05 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the mipi csi-2 receiver sink pad. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx7-mipi-csis.c | 25 ++ 1 file changed, 25 insertions(+) diff --git

[PATCH 17/22] media: imx: csi: Embed notifier in struct csi_priv

2019-08-05 Thread Steve Longerbeam
Embed the notifier in 'struct csi_priv', instead of dynamically allocating it, to make it possible to retrieve csi_priv in a notifier callback op. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 25 +-- 1 file changed, 10 insertions(+), 15

[PATCH 18/22] media: imx: csi: Create media links in bound notifier

2019-08-05 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the CSI sink pad. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 24 +++ 1 file changed, 24 insertions(+) diff --git

[PATCH 20/22] media: imx: Add is_ipu_internal_subdev()

2019-08-05 Thread Steve Longerbeam
Add a convenience inline function that returns true if the given subdevice is one of the i.MX5/6 IPU-internal subdevices. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/media/imx/imx-media.h