[bug report] PCI: hv: Add paravirtual PCI front-end for Microsoft Hyper-V VMs

2017-02-06 Thread Dan Carpenter
[ No idea why I haven never sent this email before. I was just going through all the use after free warnings again today and noticed it. ] Hello Jake Oshins, The patch 4daace0d8ce8: "PCI: hv: Add paravirtual PCI front-end for Microsoft Hyper-V VMs" from Feb 16, 2016, leads to the following sta

[PATCH] staging: greybus: Move Documentation to Documentation/

2017-02-06 Thread Viresh Kumar
Move all greybus documentation to the top level Documentation/ directory, as that's the obvious place where everyone will look for it. Signed-off-by: Viresh Kumar --- .../Documentation => Documentation/greybus}/firmware/authenticate.c | 0 .../Documentation => Documentation/greybus}/firmwa

[PATCH] staging: rtl8192u: Fix indentation

2017-02-06 Thread Fu Yong Quah
Fix number of indentaions for block scopes as suggested by Documentation/CodingStyle. Signed-off-by: Fu Yong Quah --- drivers/staging/rtl8192u/r8192U_wx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u/r8

Re: [PATCH v3 16/24] media: Add i.MX media core driver

2017-02-06 Thread Steve Longerbeam
On 02/02/2017 02:50 PM, Russell King - ARM Linux wrote: On Fri, Jan 06, 2017 at 06:11:34PM -0800, Steve Longerbeam wrote: +/* register an internal subdev as a platform device */ +static struct imx_media_subdev * +add_internal_subdev(struct imx_media_dev *imxmd, + const struct

Re: [PATCH v3 20/24] media: imx: Add Camera Interface subdev driver

2017-02-06 Thread Steve Longerbeam
On 02/02/2017 02:35 PM, Russell King - ARM Linux wrote: However, "*vfd" contains a struct device, and you _correctly_ set the release function for "*vfd" to video_device_release via camif_videodev. However, if you try to rmmod imx-media, then you end up with a kernel warning that you're freein

RE: [PATCH 05/14] netvsc: remove no longer needed receive staging buffers

2017-02-06 Thread Stephen Hemminger
The netvsc part is already in net-next. This patch is not needed. The part that removes the per-channel state can be in another patch. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-06 Thread Steve Longerbeam
On 02/06/2017 02:33 PM, Laurent Pinchart wrote: Hi Hans, (CC'ing Sakari) On Monday 06 Feb 2017 10:50:22 Hans Verkuil wrote: On 02/05/2017 04:48 PM, Laurent Pinchart wrote: On Tuesday 24 Jan 2017 18:07:55 Steve Longerbeam wrote: On 01/24/2017 04:02 AM, Philipp Zabel wrote: On Fri, 2017-01-

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-06 Thread Laurent Pinchart
Hi Hans, (CC'ing Sakari) On Monday 06 Feb 2017 10:50:22 Hans Verkuil wrote: > On 02/05/2017 04:48 PM, Laurent Pinchart wrote: > > On Tuesday 24 Jan 2017 18:07:55 Steve Longerbeam wrote: > >> On 01/24/2017 04:02 AM, Philipp Zabel wrote: > >>> On Fri, 2017-01-20 at 15:03 +0100, Hans Verkuil wrote:

Re: [PATCHv1] net-next: treewide use is_vlan_dev() helper function.

2017-02-06 Thread David Miller
From: Parav Pandit Date: Sat, 4 Feb 2017 11:00:49 -0600 > This patch makes use of is_vlan_dev() function instead of flag > comparison which is exactly done by is_vlan_dev() helper function. > > Signed-off-by: Parav Pandit > Reviewed-by: Daniel Jurgens Applied. ___

RE: [PATCHv1] net-next: treewide use is_vlan_dev() helper function.

2017-02-06 Thread Haiyang Zhang
> -Original Message- > From: Parav Pandit [mailto:pa...@mellanox.com] > Sent: Saturday, February 4, 2017 12:01 PM > To: dledf...@redhat.com; Sean Hefty ; > hal.rosenst...@gmail.com; mo...@mellanox.com; sant...@chelsio.com; > ganes...@chelsio.com; manish.cho...@cavium.com; rahul.ve...@cavi

I HOPE YOU RECEIVED MY EMAIL THIS TIME?

2017-02-06 Thread EMMANUEL NERUWANA
Dear. Director/CEO My name is EMMANUEL NERUWANA the Son of Mr. RICHARD NERUWANA of Zimbabwe. It might be a surprise to you where I got your contact address but I got your contact address from the Johannesburg Chambers of Trade and Commerce. During the last crisis against the farmers

[PATCH] staging: bcm2835-audio: Fix various checkpatch warnings

2017-02-06 Thread Simon Sandström
Fix following warnings in bcm2835.c: * Do not initialise statics to NULL. * Unnecessary whitespace before a quoted newline. * Open brace { on wrong line. Fix 'Missing blank line after declarations' by simplifying bcm2835_alsa_device_init(). Signed-off-by: Simon Sandström --- drivers/staging/bcm

I HOPE YOU RECEIVED MY EMAIL THIS TIME?

2017-02-06 Thread EMMANUEL NERUWANA
Dear. Director/CEO My name is EMMANUEL NERUWANA the Son of Mr. RICHARD NERUWANA of Zimbabwe. It might be a surprise to you where I got your contact address but I got your contact address from the Johannesburg Chambers of Trade and Commerce. During the last crisis against the farmers

Re: [PATCH] somedriver: remove the initialization of static pointers.

2017-02-06 Thread Mathieu Poirier
On Sun, Feb 05, 2017 at 08:12:26AM +0100, AbdAllah MEZITI wrote: > On Sun, 5 Feb 2017 01:29:43 +0100 > Greg Kroah-Hartman wrote: > > > On Sat, Feb 04, 2017 at 08:39:21PM +0100, AbdAllah-MEZITI wrote: > > > In C a static pointer will be initialized to NULL (e.g: draft C99 > > > standard $6.7.8): "

Re: [PATCH v4 2/2] staging: lustre: move else if statement to a single line

2017-02-06 Thread Joe Perches
On Mon, 2017-02-06 at 11:13 -0500, Maksymilian Piechota wrote: > diff --git a/drivers/staging/wlan-ng/prism2mgmt.c > b/drivers/staging/wlan-ng/prism2mgmt.c [] > @@ -1307,8 +1307,7 @@ int prism2mgmt_wlansniff(struct wlandevice *wlandev, > void *msgp) > && (msg->prismheader.data =

[PATCH v2] Staging: omap4iss: Fix coding style issues

2017-02-06 Thread Avraham Shukron
Fixes line-over-80-characters issues as well as multiline comments style. Signed-off-by: Avraham Shukron --- drivers/staging/media/omap4iss/iss_video.c | 41 -- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/drivers/staging/media/omap4iss/iss_video.c

[PATCH 1/4] staging:r8188eu: replace rx_end member of recv_frame with pkt->end

2017-02-06 Thread Ivan Safonov
rx_end is duplication of pkt->end pointer. pkt->end is preferred, because it is native skb field supported by skb_*() functions. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_recv.h | 3 +-- drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 1 - 2 files changed, 1 in

[PATCH 4/4] staging:r8188eu: replace recv_frame->rx_(data|len|tail) with pkt->(data|len|tail) and remove unused recvframe_(put|pull|pull_tail)()

2017-02-06 Thread Ivan Safonov
recv_frame->rx_(data|len|tail) duplicate pkt (skb) data|len|tail members and require special functions recvframe_(put|pull|pull_tail)() instead of skb_(put|pull|trim). Replace rx_(data|len|tail) with pkt->(data|len|tail), remove rx_(data|len|tail) and remove recvframe_(put|pull|pull_tail)(). Signe

[PATCH 2/4] staging:r8188eu: remove unused rtw_ieee80211_bar structure definition

2017-02-06 Thread Ivan Safonov
rtw_ieee80211_bar structure definition does not used. Remove it. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/wifi.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/wifi.h b/drivers/staging/rtl8188eu/include/wifi.h index

[PATCH 3/4] staging:r8188eu: update pkt->(data|tail|len) synchronously with rx_(data|tail|len) in recv_frame structure

2017-02-06 Thread Ivan Safonov
Original driver code uses rx_* members to store skb (pkt) fields (instead of pkt->* members), pkt->* updated only after data completely formed, not in process. Update pkt->* after data buffer changed (with rx_*). Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_recv.h | 5 +

[PATCH] staging: gdm724x: fix incorrect type in assignment

2017-02-06 Thread Javier Rodriguez
Fix sparse warning issue. drivers/staging/gdm724x/gdm_lte.c:201:33: warning: incorrect type in assignment (different base types) drivers/staging/gdm724x/gdm_lte.c:201:33:expected unsigned int [unsigned] [addressable] [usertype] ph_len drivers/staging/gdm724x/gdm_lte.c:201:33:got restrict

[PATCH v4 2/2] staging: lustre: move else if statement to a single line

2017-02-06 Thread Maksymilian Piechota
Signed-off-by: Maksymilian Piechota --- drivers/staging/wlan-ng/prism2mgmt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c index 64a9ebc..af83f2a 100644 --- a/drivers/staging/wlan-ng/prism2mgmt.c

[PATCH v4 1/2] staging: lustre: move logical continuations at the end of line

2017-02-06 Thread Maksymilian Piechota
Signed-off-by: Maksymilian Piechota --- drivers/staging/wlan-ng/prism2mgmt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c index 16fb2d3..64a9ebc 100644 --- a/drivers/staging/wlan-ng/prism2mgmt

[PATCH v4 0/2] staging: lustre: align else if statement to coding standard

2017-02-06 Thread Maksymilian Piechota
Align else if statement to normal kernel style Maksymilian Piechota (2): staging: lustre: move logical continuations at the end of line staging: lustre: move else if statement to a single line drivers/staging/wlan-ng/prism2mgmt.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) -

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Hans Verkuil
On 02/06/2017 04:21 PM, Dave Stevenson wrote: > Hi Hans. > > On 06/02/17 12:58, Hans Verkuil wrote: >> On 02/06/2017 12:37 PM, Dave Stevenson wrote: >>> Hi Hans. >>> >>> On 06/02/17 09:08, Hans Verkuil wrote: Hi Eric, Great to see this driver appearing for upstream merging! >>>

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Dave Stevenson
Hi Hans. On 06/02/17 12:58, Hans Verkuil wrote: On 02/06/2017 12:37 PM, Dave Stevenson wrote: Hi Hans. On 06/02/17 09:08, Hans Verkuil wrote: Hi Eric, Great to see this driver appearing for upstream merging! See below for my review comments, focusing mostly on V4L2 specifics. +

Re: [PATCH v3] staging: lustre: align else if statement to coding standard

2017-02-06 Thread Joe Perches
On Mon, 2017-02-06 at 14:03 +0100, Greg Kroah-Hartman wrote: > On Mon, Feb 06, 2017 at 07:56:39AM -0500, Maksymilian Piechota wrote: > > On Mon, Feb 06, 2017 at 01:50:02PM +0100, Greg Kroah-Hartman wrote: > > > On Mon, Feb 06, 2017 at 07:26:56AM -0500, Maksymilian Piechota wrote: > > > > - move log

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Dave Stevenson
Hi Mauro. Can I just say that I'm not attempting to upstream this, others are. I've just answered questions raised. On 06/02/17 12:37, Mauro Carvalho Chehab wrote: Em Sun, 5 Feb 2017 22:15:21 + Dave Stevenson escreveu: If the goal was to protect some IP related to the sensors, I guess

[PATCH] Staging: bcm2835-audio: Fixed that open brace should be on previous line error in bcm2835-ctl.c

2017-02-06 Thread Victor Vaschenko
Fixed ERROR: that open brace { should be on the previous line. One coding style correction for better readable code. Signed-off-by: Victor Vaschenko --- drivers/staging/bcm2835-audio/bcm2835-ctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/bcm2835-audi

Re: [PATCH v3] staging: lustre: align else if statement to coding standard

2017-02-06 Thread Greg Kroah-Hartman
On Mon, Feb 06, 2017 at 07:56:39AM -0500, Maksymilian Piechota wrote: > On Mon, Feb 06, 2017 at 01:50:02PM +0100, Greg Kroah-Hartman wrote: > > On Mon, Feb 06, 2017 at 07:26:56AM -0500, Maksymilian Piechota wrote: > > > - move logical continuations at the end of line > > > - move else if statement

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Hans Verkuil
On 01/27/2017 10:54 PM, Eric Anholt wrote: > - Supports raw YUV capture, preview, JPEG and H264. > - Uses videobuf2 for data transfer, using dma_buf. > - Uses 3.6.10 timestamping > - Camera power based on use > - Uses immutable input mode on video encoder > > This code comes from the Raspberry Pi

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Hans Verkuil
On 02/06/2017 12:37 PM, Dave Stevenson wrote: > Hi Hans. > > On 06/02/17 09:08, Hans Verkuil wrote: >> Hi Eric, >> >> Great to see this driver appearing for upstream merging! >> >> See below for my review comments, focusing mostly on V4L2 specifics. >> >> On 01/27/2017 10:54 PM, Eric Anholt wrote:

Re: [PATCH v3] staging: lustre: align else if statement to coding standard

2017-02-06 Thread Maksymilian Piechota
On Mon, Feb 06, 2017 at 01:50:02PM +0100, Greg Kroah-Hartman wrote: > On Mon, Feb 06, 2017 at 07:26:56AM -0500, Maksymilian Piechota wrote: > > - move logical continuations at the end of line > > - move else if statement to a single line > > - Replace spaces with tabstop. > > That's a lot of diffe

Re: [PATCH v3] staging: lustre: align else if statement to coding standard

2017-02-06 Thread Greg Kroah-Hartman
On Mon, Feb 06, 2017 at 07:26:56AM -0500, Maksymilian Piechota wrote: > - move logical continuations at the end of line > - move else if statement to a single line > - Replace spaces with tabstop. That's a lot of different things, happening all at once. Please break this up into multiple patches,

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Mauro Carvalho Chehab
Em Sun, 5 Feb 2017 22:15:21 + Dave Stevenson escreveu: > Hi Mauro. > > I'm going to stick my head above the parapet as one of the original > authors back when I worked at Broadcom. > As it happens I started working at Raspberry Pi last Monday, so that > puts me in a place where I can work

[PATCH v3] staging: lustre: align else if statement to coding standard

2017-02-06 Thread Maksymilian Piechota
- move logical continuations at the end of line - move else if statement to a single line - Replace spaces with tabstop. Signed-off-by: Maksymilian Piechota --- drivers/staging/wlan-ng/prism2mgmt.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wlan-ng/

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Dave Stevenson
Hi Hans. On 06/02/17 09:08, Hans Verkuil wrote: Hi Eric, Great to see this driver appearing for upstream merging! See below for my review comments, focusing mostly on V4L2 specifics. On 01/27/2017 10:54 PM, Eric Anholt wrote: - Supports raw YUV capture, preview, JPEG and H264. - Uses videobu

Re: [PATCH v3 12/24] add mux and video interface bridge entity functions

2017-02-06 Thread Philipp Zabel
On Sun, 2017-02-05 at 17:36 +0200, Laurent Pinchart wrote: > Hi Steve, > > Thank you for the patch > > On Friday 06 Jan 2017 18:11:30 Steve Longerbeam wrote: > > From: Philipp Zabel > > > > Signed-off-by: Philipp Zabel > > --- > > Documentation/media/uapi/mediactl/media-types.rst | 22 +++

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-06 Thread Hans Verkuil
On 02/05/2017 04:48 PM, Laurent Pinchart wrote: > Hi Steve, > > On Tuesday 24 Jan 2017 18:07:55 Steve Longerbeam wrote: >> On 01/24/2017 04:02 AM, Philipp Zabel wrote: >>> On Fri, 2017-01-20 at 15:03 +0100, Hans Verkuil wrote: > + > +int vidsw_g_mbus_config(struct v4l2_subdev *sd, struct v

Re: Is it time to move drivers/staging/netlogic/ out of staging?

2017-02-06 Thread Greg KH
On Sun, Feb 05, 2017 at 07:21:17PM -0800, Florian Fainelli wrote: > Le 02/04/17 à 00:08, Greg KH a écrit : > > On Fri, Feb 03, 2017 at 06:37:02PM -0800, Florian Fainelli wrote: > >> > >> > >> On 02/03/2017 12:44 PM, Greg KH wrote: > >>> On Fri, Feb 03, 2017 at 12:38:45PM -0800, Florian Fainelli wro

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Hans Verkuil
Hi Eric, Great to see this driver appearing for upstream merging! See below for my review comments, focusing mostly on V4L2 specifics. On 01/27/2017 10:54 PM, Eric Anholt wrote: > - Supports raw YUV capture, preview, JPEG and H264. > - Uses videobuf2 for data transfer, using dma_buf. > - Uses 3.

[PATCH 2/2] staging: bcm2835-audio: Removed space after '('

2017-02-06 Thread Abhijit Naik
bcm2835-vchiq.c and vc_vchi_audioserv_defs.h: fixing ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Abhijit Naik --- drivers/staging/bcm2835-audio/bcm2835-vchiq.c | 16 drivers/staging/bcm2835-audio/vc_vchi_audioserv_defs.h | 2 +- 2 files chang

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Greg Kroah-Hartman
On Sun, Feb 05, 2017 at 10:15:21PM +, Dave Stevenson wrote: > Newbie question: if this has already been merged to staging, where am I > looking for the relevant tree to add patches on top of? > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git branch > staging-next? Yes, that is