[PATCH 07/25] staging: unisys: visorbus: renamed functions like chipset_device_* to match driver namespace

2017-05-19 Thread David Kershner
Wadgaonkar Reported-by: Greg Kroah-Hartman Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorbus_main.c| 12 ++-- drivers/staging/unisys/visorbus/visorbus_private.h | 8 drivers/staging/unisys/visorbus/visorchipset.c | 14 +++--- 3 files

[PATCH 20/25] staging: unisys: include: renamed function spar_check_channel in channel.h to match driver namespace

2017-05-19 Thread David Kershner
From: Sameer Wadgaonkar Renamed function spar_check_channel() to visor_check_channel(). Signed-off-by: Sameer Wadgaonkar Signed-off-by: David Kershner --- drivers/staging/unisys/include/channel.h | 12 ++-- drivers/staging/unisys/include/iochannel.h | 4

[PATCH 25/25] staging: unisys: visorbus: remove channel_addr check in handle_command

2017-05-19 Thread David Kershner
From: Sameer Wadgaonkar Removed a check for physaddr=0 in handle_command() function in visorchipset.c. Signed-off-by: Sameer Wadgaonkar Reported-by: Greg Kroah-Hartman Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 3 --- 1 file changed, 3 deletions

[PATCH 18/25] staging: unisys: visorinput: renamed structures in ultrainputreport.h to match driver namespace

2017-05-19 Thread David Kershner
From: Sameer Wadgaonkar Renamed structures * ultra_inputactivity to visor_inputactivity * ultra_inputreport to visor_inputreport Signed-off-by: Sameer Wadgaonkar Signed-off-by: David Kershner --- drivers/staging/unisys/visorinput/ultrainputreport.h | 6 +++--- drivers/staging/unisys

[PATCH 19/25] staging: unisys: visorinput: removed enum in ultrainputreport.h to match driver namespace

2017-05-19 Thread David Kershner
From: Sameer Wadgaonkar Removed enum ultra_inputaction in ultrainputreport.h and changed elements to #defnes. Signed-off-by: Sameer Wadgaonkar Signed-off-by: David Kershner --- drivers/staging/unisys/visorinput/ultrainputreport.h | 43 + drivers/staging/unisys/visorinput

[PATCH 21/25] staging: unisys: include: renamed #defines in channel.h to match driver namespace

2017-05-19 Thread David Kershner
VISOR_VHBA_CHANNEL_UUID_STR * SPAR_VNIC_CHANNEL_PROTOCOL_UUID to VISOR_VNIC_CHANNEL_UUID * SPAR_VNIC_CHANNEL_PROTOCOL_UUID_STR to VISOR_VNIC_CHANNEL_UUID_STR * SPAR_SIOVM_UUID to VISOR_SIOVM_UUID Signed-off-by: Sameer Wadgaonkar Signed-off-by: David Kershner

[PATCH 23/25] staging: unisys: include: renamed structure spar_io_channel_protocol in iochannel.h to match driver namespace

2017-05-19 Thread David Kershner
From: Sameer Wadgaonkar Renamed structure spar_io_channel_protocol to visor_io_channel and changed "visor bus" to "visorbus" in a comment in visornic_main.c and visorhba_main.c. Signed-off-by: Sameer Wadgaonkar Signed-off-by: David Kershner --- drivers/staging/unisys

[PATCH 24/25] staging: unisys: visorbus: add comment to explain polling logic in controlvm_periodic_work

2017-05-19 Thread David Kershner
From: Sameer Wadgaonkar Added a comment to explain polling frequency variation logic in controlvm_periodic_logic() in visorchipset.c. Signed-off-by: Sameer Wadgaonkar Reported-by: Greg Kroah-Hartman Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 5

[PATCH 15/25] staging: unisys: visorbus: renamed structures in controlvmchannel.h to match driver namespace

2017-05-19 Thread David Kershner
: Sameer Wadgaonkar Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/controlvmchannel.h | 25 +--- drivers/staging/unisys/visorbus/visorchipset.c | 99 ++ 2 files changed, 59 insertions(+), 65 deletions(-) diff --git a/drivers/staging/unisys/visorbus

[PATCH 22/25] staging: unisys: include: renamed #defines in iochannel.h to match driver namespace

2017-05-19 Thread David Kershner
* SPAR_VHBA_CHANNEL_OK_CLIENT to VISOR_VHBA_CHANNEL_OK_CLIENT * SPAR_VNIC_CHANNEL_OK_CLIENT to VISOR_VNIC_CHANNEL_OK_CLIENT Signed-off-by: Sameer Wadgaonkar Signed-off-by: David Kershner --- drivers/staging/unisys/include/iochannel.h | 28 +++ 1 file changed, 14 insertions(+), 14 deletions

[PATCH 17/25] staging: unisys: visorinput: renamed #defines in visorinput.c to match driver namespace

2017-05-19 Thread David Kershner
VISOR_MOUSE_CHANNEL_UUID * SPAR_MOUSE_CHANNEL_PROTOCOL_UUID_STR to VISOR_MOUSE_CHANNEL_UUID_STR Signed-off-by: Sameer Wadgaonkar Signed-off-by: David Kershner --- drivers/staging/unisys/Documentation/overview.txt | 6 ++-- drivers/staging/unisys/visorinput/visorinput.c| 27 +++- 2

Re: [PATCH net-next 1/1] netvsc: Add #include's for csum_* function declarations

2017-05-31 Thread David Miller
From: Michael Kelley Date: Tue, 30 May 2017 10:43:04 -0700 > Add direct #include statements for declarations of csum_tcpudp_magic() > and csum_ipv6_magic(). While the needed #include's are picked up > indirectly for the x86 architecture, they aren't on other > architectures, resulting in compile

Re: [PATCH net-next 1/1] netvsc: Add #include's for csum_* function declarations

2017-05-31 Thread David Miller
From: Joe Perches Date: Wed, 31 May 2017 15:59:31 -0700 > On Wed, 2017-05-31 at 13:59 -0400, David Miller wrote: >> From: Michael Kelley >> Date: Tue, 30 May 2017 10:43:04 -0700 >> >> > Add direct #include statements for declarations of csum_tcpudp_magic() >>

[PATCH 1/3] include: linux: visorbus: Add visorbus to include/linux directory

2017-06-05 Thread David Kershner
clude folder. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- MAINTAINERS | 1 + drivers/staging/unisys/visorbus/Makefile | 2 -- drivers/staging/unisys/visorbus/controlvmchannel.h

[PATCH 0/3] move visorbus out of staging to drivers/virt/visorbus

2017-06-05 Thread David Kershner
This patchset moves drivers/staging/unisys/include to include/linux/visorbus, and moves drivers/staging/unisys/visorbus to drivers/virt/visorbus. David Kershner (3): include: linux: visorbus: Add visorbus to include/linux directory Documentation: Move visorbus documentation from staging to

[PATCH 3/3] drivers: virt: Add visorbus to the drivers/virt directory

2017-06-05 Thread David Kershner
This patch moves visorbus from drivers/staging/visorbus to drivers/virt. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- MAINTAINERS | 1 + drivers/staging/unisys/Kconfig | 1 - drivers/staging/unisys

[PATCH 2/3] Documentation: Move visorbus documentation from staging to Documentation/

2017-06-05 Thread David Kershner
This patch simply does a git mv of the drivers/staging/unisys/Documentation directory to Documentation. It also renames overview.txt to visorbus.txt and renames sysfs-platform-visorchipset to the correct name sysfs-bus-visorbus. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- .../ABI

Re: [PATCH net v2 0/3] netvsc: bug fixes

2017-06-08 Thread David Miller
From: Stephen Hemminger Date: Wed, 7 Jun 2017 15:53:46 -0700 > These are bugfixes for netvsc driver in 4.12. Looks good, series applied, thanks. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listin

Re: [PATCH net-next 0/6] netvsc: small cleanups

2017-06-09 Thread David Miller
From: Stephen Hemminger Date: Thu, 8 Jun 2017 16:21:17 -0700 > These are all small optimizations found during development of later features. Applied with the spelling error pointed out by Sergei fixed. ___ devel mailing list de...@linuxdriverproject.o

Re: [PATCH] netvsc: don't access netdev->num_rx_queues directly

2017-06-22 Thread David Miller
From: Arnd Bergmann Date: Thu, 22 Jun 2017 00:16:37 +0200 > This structure member is hidden behind CONFIG_SYSFS, and we > get a build error when that is disabled: > > drivers/net/hyperv/netvsc_drv.c: In function 'netvsc_set_channels': > drivers/net/hyperv/netvsc_drv.c:754:49: error: 'struct net_

Re: linux-next network throughput performance regression

2015-11-08 Thread David Miller
From: Dexuan Cui Date: Mon, 9 Nov 2015 02:39:24 + >> Throughput on a single TCP flow for a 40G NIC can be tricky to tune. > Why is a single TCP flow trickier than multiple TCP flows? > IMO it should be easier to analyze the issue of a single TCP flow? Because a single TCP flow can only use o

Re: linux-next network throughput performance regression

2015-11-08 Thread David Miller
From: Dexuan Cui Date: Mon, 9 Nov 2015 03:11:35 + >> -Original Message- >> From: David Miller [mailto:da...@davemloft.net] >> Sent: Monday, November 9, 2015 10:53 >> To: Dexuan Cui >> Cc: eric.duma...@gmail.com; d...@cumulusnetworks.com; Simon Xi

Re: [PATCH net-next] hv_netvsc: rework link status change handling

2015-12-01 Thread David Miller
From: Vitaly Kuznetsov Date: Fri, 27 Nov 2015 11:39:55 +0100 > There are several issues in hv_netvsc driver with regards to link status > change handling: > - RNDIS_STATUS_NETWORK_CHANGE results in calling userspace helper doing > '/etc/init.d/network restart' and this is inappropriate and brok

Re: [PATCH net-next V2 08/17] hv_netvsc: Don't ask for additional head room in the skb

2015-12-01 Thread David Miller
From: "K. Y. Srinivasan" Date: Sat, 28 Nov 2015 12:20:36 -0800 > +#elseif defined(CONFIG_WLAN) || IS_ENABLED(CONFIG_AX25) The correct CPP directive is "#elif". ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/

Re: [PATCH net-next V3 00/17] hv_netvsc: Eliminate the additional head room

2015-12-01 Thread David Miller
From: "K. Y. Srinivasan" Date: Tue, 1 Dec 2015 16:42:58 -0800 > In an attempt to avoid having to allocate memory on the send path, the netvsc > driver was requesting additional head room so that both rndis header and the > netvsc packet (the state that had to persist) could be placed in the skb.

INFORMATION

2015-12-07 Thread David Finch
FOR MORE INFORMATION CONTACT: (unitednationdiplomaticenvoy2...@diplomats.com) David Finch Head of Law and Legal Services Kingston College D: 020 8268 3017 Visit Our Website http://www.kingston-college.ac.uk __ This message

Re: [PATCH net-next] hv_netvsc: Fix race condition on Multi-Send Data field

2015-12-13 Thread David Miller
From: Haiyang Zhang Date: Thu, 10 Dec 2015 12:19:35 -0800 > In commit 2a04ae8acb14 ("hv_netvsc: remove locking in netvsc_send()"), the > locking for MSD (Multi-Send Data) field was removed. This could cause a > race condition between RNDIS control messages and data packets processing, > because t

Re: [PATCH net-next] hv_netvsc: Use simple parser for IPv4 and v6 headers

2015-12-16 Thread David Miller
From: Haiyang Zhang Date: Wed, 16 Dec 2015 19:20:44 + > In our test, we have bisected and found the following patch introduced big > overhead into skb_flow_dissect_flow_keys(), and caused performance > regression: > commit: d34af823 > net: Add VLAN ID to flow_keys NEVER _EVER_ work around

Re: [PATCH V5 4/9] Drivers: hv: ring_buffer: enhance hv_ringbuffer_read() to support hvsock

2016-01-01 Thread David Miller
From: Dexuan Cui Date: Thu, 24 Dec 2015 06:14:36 -0800 > +#define HV_RINGBUFFER_READ_FLAG_RAW (1 << 0) > +#define HV_RINGBUFFER_READ_FLAG_HVSOCK (1 << 1) Please use BIT(). ___ devel mailing list de...@linuxdriverproject.org http:

Re: [PATCH net-next] hv_netvsc: don't make assumptions on struct flow_keys layout

2016-01-10 Thread David Miller
From: Vitaly Kuznetsov Date: Thu, 7 Jan 2016 10:33:09 +0100 > Recent changes to 'struct flow_keys' (e.g commit d34af823ff40 ("net: Add > VLAN ID to flow_keys")) introduced a performance regression in netvsc > driver. Is problem is, however, not the above mentioned commit but the > fact that net

[PATCH v2 4/5] staging: unisys: visorbus: Remove gotos in visorbus_match

2016-03-11 Thread David Kershner
Gotos in visorbus_match are not needed. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorbus_main.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c

[PATCH v2 1/5] staging: unisys: visorbus: Fix up visordriver_probe

2016-03-11 Thread David Kershner
Fixup the visordriver_probe function. Rearrange the function to avoid needing gotos and removed unnecessary wmb(). Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorbus_main.c | 32 ++--- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a

[PATCH v2 3/5] staging: unisys: visorbus: fix up gotos in visorbus_init

2016-03-11 Thread David Kershner
This patch fixes the gotos in visorbus_init Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorbus_main.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/drivers/staging/unisys/visorbus

[PATCH v2 2/5] staging: unisys: visorbus: remove unused sysfs attribute devmajorminor

2016-03-11 Thread David Kershner
major and minor device numbers for character devices created for a each visorbus device, using visorbus_registerdevnode(). This functionality is not currently used, so it has been removed by this cset. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/Documentation

[PATCH v2 5/5] staging: unisys: visorbus: rename create_visor_device gotos

2016-03-11 Thread David Kershner
Away is ambiguous when specifying error vs success. Make return labels more meaningful by marking them as error paths. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorbus_main.c | 16 1 file changed, 8 insertions(+), 8

[PATCH v2 0/5] staging: unisys: visorbus: cleanup gotos in visorbus_main.c

2016-03-11 Thread David Kershner
visordriver_prove_device so gotos are no longer needed. David Kershner (4): staging: unisys: visorbus: Fix up visordriver_probe staging: unisys: visorbus: fix up gotos in visorbus_init staging: unisys: visorbus: Remove gotos in visorbus_match staging: unisys: visorbus: rename create_visor_device

[PATCH v2 3/7] staging: unisys: visorbus: cleanup gotos in parser_init_byte_stream

2016-03-11 Thread David Kershner
Clean up the goto in parser_init_byte_stream and make the goto section the error case. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 39 +- 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a

[PATCH v2 7/7] staging: unisys: visorbus: fix my_create_device goto statements

2016-03-11 Thread David Kershner
Don't use the abmiguous cleanup, make it more meaningful. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchip

[PATCH v2 2/7] staging: unisys: visorbus: get rid of gotos in intialize_controlvm_payload_info

2016-03-11 Thread David Kershner
Get rid of the gotos in initialize_controlvm_payload_info. The check in the error path if payload was valid was never called so get rid of that as well. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 30

[PATCH v2 1/7] staging: unisys: visorbus: cleanup goto in setup_crash_devices_work_queue

2016-03-11 Thread David Kershner
If visorbus has registered yet just reschedule and exit. The rest of the function doesn't need to reschedule so just move it up to the initial check. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 14 +- 1 file ch

[PATCH v2 6/7] staging: unisys: visorbus: Cleanup bus_epilog goto statements

2016-03-11 Thread David Kershner
Cleaned up bus_epilogs vague gotos and in the process discovered some error paths that could unlock a non locked semaphore. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 18 -- 1 file changed, 12 insertions(+), 6

[PATCH v2 0/7] staging: unisys: visorbus: visorchipset goto cleanup

2016-03-11 Thread David Kershner
This patch series clean up the gotos in visorbus/visorchipset.c v2 changes: - added patch cleanup goto in setup_crash_device_work_queue - added comment body to controlvm_payload_info patch - added comment body to parser_init_byte_stream patch David Kershner (7): staging: unisys: visorbus

[PATCH v2 4/7] staging: unisys: visorbus: chipset_init rename goto

2016-03-11 Thread David Kershner
Change the goto label "cleanup" to something more useful like out_respond. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisy

[PATCH v2 5/7] staging: unisys: visorbus: Cleanup goto in bus_create

2016-03-11 Thread David Kershner
Rename it to what it does instead of the default ambiguous cleanup. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/unisys/visorbus

[PATCH v3 3/5] staging: unisys: visorbus: fix up gotos in visorbus_init

2016-03-12 Thread David Kershner
This patch fixes the gotos in visorbus_init Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorbus_main.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/drivers/staging/unisys/visorbus

[PATCH v3 1/5] staging: unisys: visorbus: Fix up visordriver_probe

2016-03-12 Thread David Kershner
Fixup the visordriver_probe function. Rearrange the function to avoid needing gotos and removed unnecessary wmb(). Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorbus_main.c | 32 ++--- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a

[PATCH v3 5/5] staging: unisys: visorbus: rename create_visor_device gotos

2016-03-12 Thread David Kershner
Away is ambiguous when specifying error vs success. Make return labels more meaningful by marking them as error paths. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorbus_main.c | 18 +- 1 file changed, 9 insertions(+), 9

[PATCH v3 4/5] staging: unisys: visorbus: Remove gotos in visorbus_match

2016-03-12 Thread David Kershner
Gotos in visorbus_match are not needed. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorbus_main.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c

[PATCH v3 0/5] staging: unisys: visorbus: cleanup gotos in visorbus_main.c

2016-03-12 Thread David Kershner
patchset since the functions they patch no longer exist. - Reworked the function visordriver_prove_device so gotos are no longer needed. David Kershner (4): staging: unisys: visorbus: Fix up visordriver_probe staging: unisys: visorbus: fix up gotos in visorbus_init staging: unisys: visorbus

[PATCH v3 2/5] staging: unisys: visorbus: remove unused sysfs attribute devmajorminor/*

2016-03-12 Thread David Kershner
major and minor device numbers for character devices created for a each visorbus device, using visorbus_registerdevnode(). This functionality is not currently used, so it has been removed by this cset. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/Documentation

Re: [PATCH] dma-buf: Update docs for SYNC ioctl

2016-03-21 Thread David Herrmann
Hi On Mon, Mar 21, 2016 at 8:51 AM, Daniel Vetter wrote: > Just a bit of wording polish plus mentioning that it can fail and must > be restarted. > > Requested by Sumit. > > v2: Fix them typos (Hans). > > Cc: Chris Wilson > Cc: Tiago Vignatti > Cc: Stéphane M

Re: [PATCH net-next 1/3] net: add the AF_KCM entries to family name tables

2016-03-21 Thread David Miller
Two things wrong with this submission: 1) You need to provide an initial "[PATCH net-next 0/3] ..." header posting explaining at a high level what this patch series is about and how it is implemented and why. 2) The net-next tree is closed at this time because we are in the merge window,

Re: [PATCH] dma-buf: Update docs for SYNC ioctl

2016-03-23 Thread David Herrmann
Hey On Mon, Mar 21, 2016 at 6:14 PM, Daniel Vetter wrote: > On Mon, Mar 21, 2016 at 01:26:58PM +0100, David Herrmann wrote: >> Hi >> >> On Mon, Mar 21, 2016 at 8:51 AM, Daniel Vetter >> wrote: >> > Just a bit of wording polish plus mentioning that it

Re: [PATCH] dma-buf: Update docs for SYNC ioctl

2016-03-23 Thread David Herrmann
Hi On Wed, Mar 23, 2016 at 12:56 PM, Chris Wilson wrote: > On Wed, Mar 23, 2016 at 12:30:42PM +0100, David Herrmann wrote: >> My question was rather about why we do this? Semantics for EINTR are >> well defined, and with SA_RESTART (default on linux) user-space can >> ignore

Re: [PATCH net-next] hv_netvsc: Fix the order of num_sc_offered decrement

2016-03-23 Thread David Miller
From: Haiyang Zhang Date: Wed, 23 Mar 2016 14:54:48 -0700 > Reorder the code in netvsc_sc_open(), so num_sc_offered is only decremented > after vmbus_open() is called. This avoid pontential race of removing device > before all channels are setup. > > Signed-off-by: Haiyang Zhang > Reviewed-by:

[PATCH RESEND 2/5] staging: unisys: visorbus: replaced vague variable name in zoneguid_show

2016-03-23 Thread David Kershner
From: Alexander Curtin The variable name "s" doesn't indicate the purpose of the string, which is to store the id collected from the visorchannel_zoneid function. This just replaces the name with "zoneid". Signed-off-by: Alexander Curtin Signed-off-by: David Kersh

[PATCH RESEND 4/5] staging: unisys: visorbus: replaced use of vague 'x' variable

2016-03-23 Thread David Kershner
the pointer. Signed-off-by: Alexander Curtin Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorbus_main.c | 65 + 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/

[PATCH RESEND 3/5] staging: unisys: visorbus: replaced vague 'p' variable with 'pos'

2016-03-23 Thread David Kershner
From: Alexander Curtin In the case of client_bus_info_show, the variable 'p' was used to indicate the position in the output buffer. This was changed to 'pos' to indicate that it kept track of the current position in the output buffer. Signed-off-by: Alexander Curtin

[PATCH RESEND 0/5] staging: unisys: Replace vague variable names

2016-03-23 Thread David Kershner
Replaced vague variable names with more meaningful ones in several different areas. Resent due to distribution list being wrong. Alexander Curtin (5): staging: unisys: visorbus: replaced vague variable name in typeguid_show staging: unisys: visorbus: replaced vague variable name in zo

[PATCH RESEND 1/5] staging: unisys: visorbus: replaced vague variable name in typeguid_show

2016-03-23 Thread David Kershner
From: Alexander Curtin The variable name "s" doesn't indicate the purpose of the string, which is to store the id collected from the visorchannel_id function. This just replaces the name with "typeid". Signed-off-by: Alexander Curtin Signed-off-by: David Kershner --

[PATCH RESEND 5/5] staging: unisys: include: changed 'v' variable to 'state'

2016-03-23 Thread David Kershner
From: Alexander Curtin The argument for ULTRA_CHANNELCLI_STRING is supposed to be an integer representing the channel state. 'state' is a more descriptive variable name for this. Signed-off-by: Alexander Curtin Signed-off-by: David Kershner --- drivers/staging/unisys/include/cha

[PATCH 0/2] staging: unisys: remove double negative comparisons

2016-03-24 Thread David Kershner
Remove the double negative condition ( x != 0). Erik Arfvidson (2): staging: unisys: remove channel.h double negative comparison staging: unisys: remove visorinput.c double negative comparison drivers/staging/unisys/include/channel.h | 6 +++--- drivers/staging/unisys/visorinput/visor

[PATCH 1/2] staging: unisys: remove channel.h double negative comparison

2016-03-24 Thread David Kershner
From: Erik Arfvidson This patch removes the double negative comparisons for function readb. Signed-off-by: Erik Arfvidson Signed-off-by: David Kershner --- drivers/staging/unisys/include/channel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging

[PATCH 2/2] staging: unisys: remove visorinput.c double negative comparison

2016-03-24 Thread David Kershner
From: Erik Arfvidson This patch simply removes the double negative comparison for test_bit since test_bit already preforms this check. Signed-off-by: Erik Arfvidson Signed-off-by: David Kershner --- drivers/staging/unisys/visorinput/visorinput.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] dma-buf: Update docs for SYNC ioctl

2016-03-29 Thread David Herrmann
Hi On Mon, Mar 28, 2016 at 9:42 PM, Tiago Vignatti wrote: > Do we have an agreement here after all? David? I need to know whether this > fixup is okay to go cause I'll need to submit to Chrome OS then. Sure it is fine. The code is already there, we cannot change it. T

[PATCH 1/5] staging: unisys: removed unused switch/port info from visorbus.h

2016-03-30 Thread David Kershner
ributes are not referenced anywhere, and there are no plans to use them. Signed-off-by: Alexander Curtin Signed-off-by: David Kershner --- drivers/staging/unisys/include/visorbus.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging

[PATCH 4/5] staging: unisys: removed 'visor_device.devnodes' field

2016-03-30 Thread David Kershner
From: Alexander Curtin The 'visor_device.devnodes' field was used for displaying driver version information through the devmajorminor sysfs attribute, which has recently been removed, rendering the field unnecessary. Signed-off-by: Alexander Curtin Signed-off-by: David Kershner --

[PATCH 3/5] staging: unisys: removed unused visor_device.type field

2016-03-30 Thread David Kershner
From: Alexander Curtin The visor_device.type field was included when preparing to remove the device_info struct. However, it's not used at all, and was already redundant by the existence of the 'visor_device.channel_type_guid' field. Signed-off-by: Alexander Curtin Signe

[PATCH 5/5] staging: unisys: removed unused channel_bytes attribute

2016-03-30 Thread David Kershner
nel->nbytes. Signed-off-by: Alexander Curtin Signed-off-by: David Kershner --- drivers/staging/unisys/include/visorbus.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h index cbc6d8f..3788d16 100644

[PATCH 0/5] staging: unisys: remove unused fields in visor_device

2016-03-30 Thread David Kershner
Several fields in visor_device are no longer used due to the rework that has been done on them. This series removes those fields. Alexander Curtin (5): staging: unisys: removed unused switch/port info from visorbus.h staging: unisys: include: removed unused 'visor_device.description' staging

[PATCH 2/5] staging: unisys: include: removed unused 'visor_device.description'

2016-03-30 Thread David Kershner
correctly identify the driver, it is not needed. Signed-off-by: Alexander Curtin Signed-off-by: David Kershner --- drivers/staging/unisys/include/visorbus.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h

[PATCH] staging: unisys: remove wmb() in visordriver_remove_device

2016-03-30 Thread David Kershner
Don't need to have a wmb() in visordriver_remove_device. Also removed an unnecessary check for drv being null. Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorbus_main.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/st

[PATCH] staging: unisys: visorbus: remove unnecessary poll_count logic

2016-03-30 Thread David Kershner
From: Tim Sell The use of poll_count is a vestige from long-ago testing, which is no longer needed. It is removed by this patch. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 7 --- 1 file changed, 7 deletions(-) diff --git a

[PATCH 1/3] staging: unisys: visorbus: visorchipset_init clean up gotos

2016-04-04 Thread David Kershner
-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 68 +++--- 1 file changed, 40 insertions(+), 28 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index afcd291..0583b51 100644 --- a

[PATCH 2/3] staging: unisys: visorbus: device_epilog: clean up gotos

2016-04-04 Thread David Kershner
The away flag is ambiguous, rename it to out and appropriately call the correct goto. Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 36 ++ 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/drivers/staging/unisys/visorbus

[PATCH 4/4] staging: unisys: visornic: convert BUG_ON to dev_err() message

2016-04-04 Thread David Kershner
visor_copy_fragsinfo_from_skb() was returning a negative to indicate error, yet it was declared to return an unsigned value! So obviously that needed correcting too. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visornic/visornic_main.c | 8 +++- 1 file changed, 3

[PATCH 1/4] staging: unisys: visorbus: 'unsigned' --> 'unsigned int'

2016-04-04 Thread David Kershner
From: Tim Sell Fix as recommended by checkpatch. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging

[PATCH 3/3] staging: unisys: visorbus: make bus_epilog match device_epilog

2016-04-04 Thread David Kershner
The paths in bus_epilog should match device_epilog. Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys

[PATCH 0/3] staging: unisys: clean gotos in visorchipset

2016-04-04 Thread David Kershner
This series cleans up some more gotos in the the visorbus driver. David Kershner (3): staging: unisys: visorbus: visorchipset_init clean up gotos staging: unisys: visorbus: device_epilog: clean up gotos staging: unisys: visorbus: make bus_epilog match device_epilog drivers/staging/unisys

[PATCH] staging: unisys: visorchannel: remove redundant member size

2016-04-04 Thread David Kershner
From: David Binder Removes size member from the visorchannel struct, since it was a duplicate of the nbytes member. Signed-off-by: David Binder Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchannel.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff

[PATCH 3/4] staging: unisys: visornic: CHECK: Alignment should match open parenthesis

2016-04-04 Thread David Kershner
From: Tim Sell Fix 'CHECK: Alignment should match open parenthesis' as recommended by checkpatch. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visornic/visornic_main.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) di

[PATCH 0/4] staging: unisys: fix checkpatch warnings

2016-04-04 Thread David Kershner
This series fixes checkpatch warnings in the unisys visorbus and visornic drivers. Tim Sell (4): staging: unisys: visorbus: 'unsigned' --> 'unsigned int' staging: unisys: visorbus: CHECK: Alignment should match open parenthesis staging: unisys: visornic: CHECK: Alignment should match op

[PATCH 2/4] staging: unisys: visorbus: CHECK: Alignment should match open parenthesis

2016-04-04 Thread David Kershner
From: Tim Sell Fix 'CHECK: Alignment should match open parenthesis' as recommended by checkpatch. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 80 +++--- 1 file changed, 45 insertions(+), 35 deletion

[PATCH] staging: unisys: removed unused 'visor_device.respond_to_device_create'

2016-04-06 Thread David Kershner
. Signed-off-by: Alexander Curtin Signed-off-by: David Kershner --- drivers/staging/unisys/include/visorbus.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h index 3788d16..db59d97 100644 --- a/drivers/staging

[PATCH] staging: unisys: visorinput: remove erroneous 'FIXME' comments

2016-04-08 Thread David Kershner
From: Tim Sell These comments were mistakenly carried forward by a previous copy/paste. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visorinput/visorinput.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/unisys

[PATCH] staging: unisys: visornic: prevent double-unlock of priv_lock

2016-04-08 Thread David Kershner
and to decrease the chance that such bugs will be introduced again. The main-path logic now falls thru down the left-side of the page, with a common error-exit point to handle error conditions. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visornic/visornic_mai

[PATCH v2 0/1] staging: unisys: convert BUG_ON to dev_err() message

2016-04-13 Thread David Kershner
This is the resend of the patch covert BUG_ON to dev_err() message. changes since v1: - Updated patch to return an actual error instead of -1 Tim Sell (1): staging: unisys: visornic: convert BUG_ON to dev_err() message drivers/staging/unisys/visornic/visornic_main.c | 8 +++- 1 file cha

[PATCH v2 1/1] staging: unisys: visornic: convert BUG_ON to dev_err() message

2016-04-13 Thread David Kershner
visor_copy_fragsinfo_from_skb() was returning a negative to indicate error, yet it was declared to return an unsigned value! So obviously that needed correcting too. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/visornic/visornic_main.c | 8 +++- 1 file changed, 3

[PATCH] staging: unisys: added display string size define

2016-04-13 Thread David Kershner
From: Erik Arfvidson Display string size that is guaranteed to be no longer the 99 characters. Don't use a magic number throughout the code, define it once and use it throughout. Signed-off-by: Erik Arfvidson Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorbus_m

[PATCH] staging: unisys: Documentation: Remove proc-entries.txt

2016-04-13 Thread David Kershner
From: David Binder Unisys drivers no longer utilize procfs. Therefore, the documentation for our procfs entries is no longer needed. Signed-off-by: David Binder Signed-off-by: David Kershner --- .../staging/unisys/Documentation/proc-entries.txt | 93 -- drivers/staging

Re: [PATCH v8 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-04-13 Thread David Miller
From: Dexuan Cui Date: Thu, 7 Apr 2016 18:36:51 -0700 > +struct vmpipe_proto_header { > + u32 pkt_type; > + u32 data_size; > +} __packed; There is no reason to specify __packed here. The types are strongly sized to word aligned quantities. No holes are possible in this structure, nor i

[PATCH 1/3] staging: unisys: include: remove unused fields from struct visor_driver

2016-04-18 Thread David Kershner
From: Tim Sell The build_date and build_time fields are not used, and have been removed. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/include/visorbus.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/unisys/include/visorbus.h b

[PATCH 0/3] staging: unisys: add polish to structs: visor_driver and visor_device

2016-04-18 Thread David Kershner
For 'struct visor_driver' and 'struct visor_device': * unused members have been removed * kernel-doc comments have been added Alexander Curtin (2): staging: unisys: include: Added kernel-doc for struct visor_driver staging: unisys: include: Added kerneldoc comments to visor_device Tim Sel

[PATCH 2/3] staging: unisys: include: Added kernel-doc for struct visor_driver

2016-04-18 Thread David Kershner
From: Alexander Curtin This adds kerneldoc style comments to the visor_driver struct since it's shared between multiple modules. Signed-off-by: Alexander Curtin Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/include/visorbus.h

[PATCH 3/3] staging: unisys: include: Added kerneldoc comments to visor_device

2016-04-18 Thread David Kershner
From: Alexander Curtin The visor_device struct is used between multiple drivers, so this adds kerneldoc comments to the fields. Signed-off-by: Alexander Curtin Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/include/visorbus.h | 45

[PATCH] staging: unisys: visorbus: initialize variables

2016-04-18 Thread David Kershner
From: David Binder Initializes previously uninitialized variables that were flagged as being problematic by Smatch. Signed-off-by: David Binder Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH] staging: unisys: visorbus: remove unused chipsetready information

2016-04-19 Thread David Kershner
visorchipset_guest_groupw remove unused chipsets_events: check_chipset_events() clear_chipset_events() visorchipset_holdchipsetready remove sysfs documentation dealing with chipsetready Signed-off-by: Erik Arfvidson Signed-off-by: David Kershner --- .../Documentation/ABI/sysfs-platform

Re: [PATCH net-next] hv_netvsc: Fix the list processing for network change event

2016-04-24 Thread David Miller
From: Haiyang Zhang Date: Thu, 21 Apr 2016 16:13:01 -0700 > RNDIS_STATUS_NETWORK_CHANGE event is handled as two "half events" -- > media disconnect & connect. The second half should be added to the list > head, not to the tail. So all events are processed in normal order. > > Signed-off-by: Haiy

[PATCH] staging: unisys: remove unused struct members

2016-05-04 Thread David Kershner
From: Erik Arfvidson The following struct members were never used: putfile_active_buffer::pnext putfile_request::file_request_number putfile_request::data_sequence_number Signed-off-by: Erik Arfvidson Signed-off-by: David Kershner --- drivers/staging/unisys/visorbus/visorchipset.c | 6

[PATCH] staging: unisys: visorhba: replace functionlike macro with function

2016-05-04 Thread David Kershner
-by: Alexander Curtin Signed-off-by: Tim Sell Signed-off-by: Erik Arfvidson Signed-off-by: David Kershner --- drivers/staging/unisys/include/iochannel.h | 42 - drivers/staging/unisys/visorhba/visorhba_main.c | 26 --- 2 files changed, 22 insertions(+),

<    3   4   5   6   7   8   9   10   11   12   >