Re: [PATCH] staging: greybus: audio: Rename cport with intf_id

2016-10-18 Thread Vaibhav Agarwal
On Mon, Oct 17, 2016 at 9:01 PM, Johan Hovold wrote: > On Sun, Oct 16, 2016 at 03:29:14PM +0530, Pankaj Bharadiya wrote: >> gb_audio_manager_module_descriptor's cport field is actually used to >> manage and pass interface id to user space. >> >> Thus rename gb_audio_manager_module_descriptor's 'cp

[PATCH] tools: hv: clean up code, remove unnecessary header files and link flags

2016-10-18 Thread Weibing Zhang
Remove unnecessary header files and netlink related code as the daemons do not use netlink to communicate with the kernel now. Fix a compile warning in snprintf. Pthread is also not needed. Signed-off-by: Weibing Zhang --- tools/hv/Makefile | 3 +-- tools/hv/hv_fcopy_daemon.c | 7 --

Re: [PATCH] staging: clocking-wizard: Fix incorrect type of speed grade

2016-10-18 Thread Moritz Fischer
On Tue, Oct 18, 2016 at 11:45 PM, Sören Brinkmann wrote: > On Tue, 2016-10-18 at 22:56:50 +0200, Xavier Roumegue wrote: >> The speed grade type is unsigned according to the dt-bindings. >> >> Fix sparse issue (-Wtypesign): >> CHECK drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c >> drive

Re: [PATCH] staging: clocking-wizard: Fix incorrect type of speed grade

2016-10-18 Thread Sören Brinkmann
On Tue, 2016-10-18 at 22:56:50 +0200, Xavier Roumegue wrote: > The speed grade type is unsigned according to the dt-bindings. > > Fix sparse issue (-Wtypesign): > CHECK drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c > drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:162:56: warni

Re: [RFC PATCH v1 21/28] KVM: introduce KVM_SEV_ISSUE_CMD ioctl

2016-10-18 Thread Paolo Bonzini
> > If I understanding correctly then you are recommending that instead of > > exporting various functions from PSP drv we should expose one function > > for the all the guest command handling (something like this). > > > > My understanding is that a user could exhaust the ASIDs for encrypted > >

Re: [PATCH] staging/lustre/llite: Move unstable_stats from sysfs to debugfs

2016-10-18 Thread James Simmons
> It's multiple values per file, so it has no business being in sysfs, > besides it was assuming seqfile anyway. > > Introduced by > commit d806f30e639b ("staging: lustre: osc: revise unstable pages accounting") Tested it manually to make sure it was right this time. Reviewed-by: James Simmons

Re: [PATCH] staging: slicoss: replace memcpy_fromio with memcpy

2016-10-18 Thread Lino Sanfilippo
On 18.10.2016 23:26, Ryan Swan wrote: > As per discusion with Lino Sanfilippo, memcpy is the proper way to copy > across dma memory, which also removes sparse warning that triggered > inquiry. > > Signed-off-by: Ryan Swan > --- > drivers/staging/slicoss/slicoss.c | 2 +- > 1 file changed, 1 inse

[PATCH] staging: rtl8188eu: os_dep: fix checkpatch issues

2016-10-18 Thread Pierre-Yves Kerbrat
This patch fixes the following: - fix 2 block comments - add missing spaces around operators - remove unnecessary kzalloc fail message - fix line over 80 char ... Signed-off-by: Pierre-Yves Kerbrat --- drivers/staging/rtl8188eu/os_dep/osdep_service.c | 31 1 file changed

[PATCH] staging: slicoss: replace memcpy_fromio with memcpy

2016-10-18 Thread Ryan Swan
As per discusion with Lino Sanfilippo, memcpy is the proper way to copy across dma memory, which also removes sparse warning that triggered inquiry. Signed-off-by: Ryan Swan --- drivers/staging/slicoss/slicoss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/

[PATCH] staging: clocking-wizard: Fix incorrect type of speed grade

2016-10-18 Thread Xavier Roumegue
The speed grade type is unsigned according to the dt-bindings. Fix sparse issue (-Wtypesign): CHECK drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:162:56: warning: incorrect type in argument 3 (different signedness) drivers/stagin

Scheduled Maintenance & Upgrade

2016-10-18 Thread Help Desk
Help Desk Scheduled Maintenance & Upgrade Your account is in the process of being upgraded to the newest Windows-based servers and an enhanced online email interface inline with internet infrastructure Maintenance. The new servers will provide better anti-spam and anti-virus functions, along

Re: [PATCH] Staging: media: bcm2048: Use octal permissions '0444'

2016-10-18 Thread Shyam Saini
On Tue, 2016-10-18 at 14:36 +0200, Greg KH wrote: > On Tue, Oct 18, 2016 at 05:52:21PM +0530, Shyam Saini wrote: > > > > On Mon, 2016-10-17 at 21:37 +0200, Greg KH wrote: > > > > > > On Mon, Oct 17, 2016 at 10:10:08PM +0530, Shyam Saini wrote: > > > > > > > > > > > > On Mon, 2016-10-17 at 18:07

Re: [RFC PATCH v1 21/28] KVM: introduce KVM_SEV_ISSUE_CMD ioctl

2016-10-18 Thread Brijesh Singh
Hi Paolo, On 10/17/2016 03:14 PM, Paolo Bonzini wrote: I am not sure if I fully understand this feedback. Let me summaries what we have right now. At highest level SEV key management commands are divided into two sections: - platform management : commands used during platform provisioning. PS

Re: [PATCH] staging: slicoss.ko: slicoss.c: Fixed incorrect argument type

2016-10-18 Thread Lino Sanfilippo
Hi Ryan, On 18.10.2016 20:03, Ryan Swan wrote: > sparse produced > warning: incorrect type in argument 2 (different address spaces) > expected void const volatile [noderef] *src > got struct slic_stats *stats > > casting argument 2 to what is expected by memcpy_fromio() fixed this > > Signed-off

[PATCH] [staging/comedi] use kernel integer types

2016-10-18 Thread Thomas Weißschuh
Signed-off-by: Thomas Weißschuh --- drivers/staging/comedi/drivers/cb_pcidas64.c | 140 - drivers/staging/comedi/drivers/s626.c| 218 +-- drivers/staging/comedi/drivers/usbduxsigma.c | 2 +- 3 files changed, 180 insertions(+), 180 deletions(-) di

Re: [PATCH 21/28] net/hyperv: avoid uninitialized variable

2016-10-18 Thread David Miller
From: Arnd Bergmann Date: Tue, 18 Oct 2016 00:16:09 +0200 > The hdr_offset variable is only if we deal with a TCP or UDP packet, > but as the check surrounding its usage tests for skb_is_gso() > instead, the compiler has no idea if the variable is initialized > or not at that point: > > drivers/

[PATCH] staging: slicoss.ko: slicoss.c: Fixed incorrect argument type

2016-10-18 Thread Ryan Swan
sparse produced warning: incorrect type in argument 2 (different address spaces) expected void const volatile [noderef] *src got struct slic_stats *stats casting argument 2 to what is expected by memcpy_fromio() fixed this Signed-off-by: Ryan Swan --- drivers/staging/slicoss/slicoss.c | 2 +- 1

Re: [PATCH] doc-rst: DocBook to reST migration of the uio-howto.tmpl

2016-10-18 Thread Markus Heiser
Am 18.10.2016 um 17:59 schrieb Greg KH : > On Tue, Oct 18, 2016 at 05:52:58PM +0200, Markus Heiser wrote: >> The migration is done with the dbxml2rst project with small additional >> handmade. The uio-howto is chunked along its chapters into smal parts. > > "small"? :) ups > And why small par

Re: [PATCH v5 4/4] net: phy: leds: add support for led triggers on phy link state change

2016-10-18 Thread Zach Brown
On Tue, Oct 18, 2016 at 09:13:50AM +0200, Andrew Lunn wrote: > On Mon, Oct 17, 2016 at 10:49:55AM -0500, Zach Brown wrote: > > Create an option CONFIG_LED_TRIGGER_PHY (default n), which will create a > > set of led triggers for each instantiated PHY device. There is one LED > > trigger per link-spe

Re: [PATCH] doc-rst: DocBook to reST migration of the uio-howto.tmpl

2016-10-18 Thread Greg KH
On Tue, Oct 18, 2016 at 05:52:58PM +0200, Markus Heiser wrote: > The migration is done with the dbxml2rst project with small additional > handmade. The uio-howto is chunked along its chapters into smal parts. "small"? :) And why small parts? Is that the new "desired" way? > > [1] https://retu

Re: [PATCH] doc-rst: DocBook to reST migration of the uio-howto.tmpl

2016-10-18 Thread Jonathan Corbet
On Tue, 18 Oct 2016 17:52:57 +0200 Markus Heiser wrote: > this is the DocBook to reST migration of the uio-howto.tmpl as ordered by > Stephen Hemminger [1]. Markus, slow down just a little bit, please. Let me get docs-next going for 4.9 (will happen once I get LWN together for this week) and ge

Re: [PATCH v5 0/4] Add support for led triggers on phy link state change

2016-10-18 Thread David Miller
From: Zach Brown Date: Mon, 17 Oct 2016 10:49:51 -0500 > Fix skge driver that declared enum contants that conflicted with enum > constants in linux/leds.h > > Create function that encapsulates actions taken during the adjust phy link > step > of phy state changes. > > Create function that prov

[PATCH] doc-rst: DocBook to reST migration of the uio-howto.tmpl

2016-10-18 Thread Markus Heiser
The migration is done with the dbxml2rst project with small additional handmade. The uio-howto is chunked along its chapters into smal parts. [1] https://return42.github.io/dbxml2rst/ Signed-off-by: Markus Heiser --- Documentation/DocBook/Makefile |2 +- Documentation/DocB

[PATCH] doc-rst: DocBook to reST migration of the uio-howto.tmpl

2016-10-18 Thread Markus Heiser
Hi, this is the DocBook to reST migration of the uio-howto.tmpl as ordered by Stephen Hemminger [1]. The patch is on top of git://git.lwn.net/linux.git docs-next [1] https://www.mail-archive.com/linux-doc@vger.kernel.org/msg06891.html Markus Heiser (1): doc-rst: DocBook to reST migration of t

Re: [PATCH -next] staging: i4l: pcbit: remove duplicated include from capi.c

2016-10-18 Thread Wei Yongjun
Hi Alexander, On 10/18/2016 11:30 PM, Alexander Alemayhu wrote: > On Tue, Oct 18, 2016 at 02:37:10PM +, Wei Yongjun wrote: >> From: Wei Yongjun >> >> Remove duplicated include. >> > How did you discover that? Just curious if you used any tooling. > I found those using my dpatch tool, which i

Re: [PATCH -next] staging: i4l: pcbit: remove duplicated include from capi.c

2016-10-18 Thread Alexander Alemayhu
On Tue, Oct 18, 2016 at 02:37:10PM +, Wei Yongjun wrote: > From: Wei Yongjun > > Remove duplicated include. > How did you discover that? Just curious if you used any tooling. -- Mit freundlichen Grüßen Alexander Alemayhu ___ devel mailing list de

[PATCH -next] staging: ks7010: remove unused including

2016-10-18 Thread Wei Yongjun
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- drivers/staging/ks7010/ks_wlan.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index 5851714..6981170 100644 --- a/drivers/staging/ks7

[PATCH -next] staging: ks7010: ks_wlan_net: Use setup_timer instead of init_timer and data fields

2016-10-18 Thread Wei Yongjun
From: Wei Yongjun Use setup_timer function instead of initializing timer with the function and data fields Signed-off-by: Wei Yongjun --- drivers/staging/ks7010/ks_wlan_net.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/driver

[PATCH -next] staging: i4l: pcbit: drv: remove duplicated include from drv.c

2016-10-18 Thread Wei Yongjun
From: Wei Yongjun Remove duplicated include. Signed-off-by: Wei Yongjun --- drivers/staging/i4l/pcbit/drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/i4l/pcbit/drv.c b/drivers/staging/i4l/pcbit/drv.c index 87b8522..89b0b5b 100644 --- a/drivers/staging/i4l/pcbit/drv.c +

[PATCH -next] staging: ks7010: convert list_for_each to entry variant

2016-10-18 Thread Wei Yongjun
From: Wei Yongjun convert list_for_each() to list_for_each_entry() where applicable. Signed-off-by: Wei Yongjun --- drivers/staging/ks7010/ks_hostif.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c

[PATCH -next] staging: i4l: pcbit: remove duplicated include from capi.c

2016-10-18 Thread Wei Yongjun
From: Wei Yongjun Remove duplicated include. Signed-off-by: Wei Yongjun --- drivers/staging/i4l/pcbit/capi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/i4l/pcbit/capi.c b/drivers/staging/i4l/pcbit/capi.c index 91f2994..a6c4e00 100644 --- a/drivers/staging/i4l/pcbit/capi

Re: [PATCH v2 3/3] doc: add documentation for uio-hv-generic

2016-10-18 Thread Stephen Hemminger
On Tue, 18 Oct 2016 13:01:20 +0200 Markus Heiser wrote: > Am 18.10.2016 um 12:54 schrieb Jani Nikula : > > > On Mon, 17 Oct 2016, Stephen Hemminger wrote: > >> From: Stephen Hemminger > >> > >> Update UIO documentation to include basic information about > >> uio_hv_generic. > > > > How a

Re: [PATCH v2 3/3] doc: add documentation for uio-hv-generic

2016-10-18 Thread Markus Heiser
Am 18.10.2016 um 15:59 schrieb Stephen Hemminger : > On Tue, 18 Oct 2016 13:01:20 +0200 > Markus Heiser wrote: > >> Am 18.10.2016 um 12:54 schrieb Jani Nikula : >> >>> On Mon, 17 Oct 2016, Stephen Hemminger wrote: From: Stephen Hemminger Update UIO documentation to include

Re: [PATCH] Staging: media: bcm2048: Use octal permissions '0444'

2016-10-18 Thread Greg KH
On Tue, Oct 18, 2016 at 05:52:21PM +0530, Shyam Saini wrote: > On Mon, 2016-10-17 at 21:37 +0200, Greg KH wrote: > > On Mon, Oct 17, 2016 at 10:10:08PM +0530, Shyam Saini wrote: > > > > > > On Mon, 2016-10-17 at 18:07 +0200, Greg KH wrote: > > > > > > > > On Mon, Oct 17, 2016 at 09:24:19PM +0530,

Re: [PATCH] Staging: media: bcm2048: Use octal permissions '0444'

2016-10-18 Thread Shyam Saini
On Mon, 2016-10-17 at 21:37 +0200, Greg KH wrote: > On Mon, Oct 17, 2016 at 10:10:08PM +0530, Shyam Saini wrote: > > > > On Mon, 2016-10-17 at 18:07 +0200, Greg KH wrote: > > > > > > On Mon, Oct 17, 2016 at 09:24:19PM +0530, Shyam Saini wrote: > > > > > > > > > > > > Fixed following checkpatch

Re: [PATCH v2 3/3] doc: add documentation for uio-hv-generic

2016-10-18 Thread Markus Heiser
Am 18.10.2016 um 12:54 schrieb Jani Nikula : > On Mon, 17 Oct 2016, Stephen Hemminger wrote: >> From: Stephen Hemminger >> >> Update UIO documentation to include basic information about >> uio_hv_generic. > > How about converting to Sphinx/reStructuredText first...? It's not a big > file... >

Re: [PATCH v2 3/3] doc: add documentation for uio-hv-generic

2016-10-18 Thread Jani Nikula
On Mon, 17 Oct 2016, Stephen Hemminger wrote: > From: Stephen Hemminger > > Update UIO documentation to include basic information about > uio_hv_generic. How about converting to Sphinx/reStructuredText first...? It's not a big file... BR, Jani. > > Signed-off-by: Stephen Hemminger > --- >

Re: [PATCH 5/5] [media] st-cec: Fix module autoload

2016-10-18 Thread Benjamin Gaignard
Thanks, Acked-by: Benjamin Gaignard 2016-10-17 17:44 GMT+02:00 Javier Martinez Canillas : > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export th

Re: [PATCH v5 4/4] net: phy: leds: add support for led triggers on phy link state change

2016-10-18 Thread Andrew Lunn
On Mon, Oct 17, 2016 at 10:49:55AM -0500, Zach Brown wrote: > Create an option CONFIG_LED_TRIGGER_PHY (default n), which will create a > set of led triggers for each instantiated PHY device. There is one LED > trigger per link-speed, per-phy. > The triggers are registered during phy_attach and unre