Re: [PATCH net-next 0/2] netvsc: Fix miscellaneous issues

2017-03-25 Thread David Miller
From: k...@exchange.microsoft.com Date: Fri, 24 Mar 2017 20:54:08 -0700 > Fix miscellaneous issues. Series applied, thanks. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] Convert __le16 to cpu before casting to u32

2017-03-25 Thread Guillaume Brogi
This patch fixes the following sparse warnings: drivers/staging/rtl8192u/r8192U_dm.c:2307:49: warning: cast from restricted __le16 drivers/staging/rtl8192u/r8192U_dm.c:2308:44: warning: cast from restricted __le16 drivers/staging/rtl8192u/r8192U_dm.c:2309:44: warning: cast from restricted __le1

Re: [PATCH v9] staging: iio: adis16060: Remove iio_dev mlock and refactor code

2017-03-25 Thread SIMRAN SINGHAL
On Sat, Mar 25, 2017 at 11:16 PM, Jonathan Cameron wrote: > On 23/03/17 09:20, simran singhal wrote: >> The IIO subsystem is redefining iio_dev->mlock to be used by >> the IIO core only for protecting device operating mode changes. >> ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. >>

Re: [PATCH v9] staging: iio: adis16060: Remove iio_dev mlock and refactor code

2017-03-25 Thread Jonathan Cameron
On 23/03/17 09:20, simran singhal wrote: > The IIO subsystem is redefining iio_dev->mlock to be used by > the IIO core only for protecting device operating mode changes. > ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. > > In this driver, mlock was being used to protect hardware stat

Re: [PATCH] staging: iio: accel: remove unneeded braces around single statements

2017-03-25 Thread Jonathan Cameron
On 23/03/17 06:18, Mark Stenglein wrote: > Fixes three checkpatch warnings due to braces used when single > statements are sufficient. > > Signed-off-by: Mark Stenglein Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play with it. Thanks, Jonath

[PATCH for-4.4 04/19] x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic

2017-03-25 Thread Sumit Semwal
From: Vitaly Kuznetsov [ Upstream commit 59107e2f48831daedc46973ce4988605ab066de3 ] There is a feature in Hyper-V ('Debug-VM --InjectNonMaskableInterrupt') which injects NMI to the guest. We may want to crash the guest and do kdump on this NMI by enabling unknown_nmi_panic. To make kdump succeed

Re: [PATCH] staging: iio: Remove extra Parenthesis.

2017-03-25 Thread Jonathan Cameron
On 24/03/17 13:55, Arushi Singhal wrote: > Remove the extra parenthesis remove the checkpatch issue. > > Signed-off-by: Arushi Singhal Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > drivers/staging/iio/cdc/ad7746

[PATCH] netvsc: fix dereference before null check errors

2017-03-25 Thread Colin King
From: Colin Ian King ndev is being checked to see if it is a null pointer however before the null check ndev is being dereferenced; hence there is a potential null pointer dereference bug that needs fixing. Fix this by only dereferencing ndev after the null check. Detected by CoverityScan, CID#1

[PATCH] netvsc: fix unititialized return value in variable ret

2017-03-25 Thread Colin King
From: Colin Ian King It is possible for an uninitialized value of ret to be returned so fix this by initializing ret to zero. Detected by CoverityScan, CID#1420762 ("Uninitialized scalar variable") Fixes: 163891d7d429 ("netvsc: handle offline mtu and channel change") Signed-off-by: Colin Ian Ki

Re: [PATCH v2] staging: vt6656: fixed an indentation coding style issue

2017-03-25 Thread Prasant Jalan
On Sat, Mar 25, 2017 at 6:01 PM, Arushi Singhal wrote: > > > On Sat, Mar 25, 2017 at 5:40 PM, Prasant Jalan > wrote: >> >> >> Replacing spaces with tabs for indetation to fix checkpatch.pl error >> "code indent should use tabs where possible". > > I think the commit message should be much more cl

[PATCH v2] staging: vt6656: fixed an indentation coding style issue

2017-03-25 Thread Prasant Jalan
Replacing spaces with tabs for indetation to fix checkpatch.pl error "code indent should use tabs where possible". Signed-off-by: Prasant Jalan --- v2: - improved changelog comments - fixed only one issue drivers/staging/vt6656/rxtx.c | 35 +++ 1 fi

Re: [PATCH] staging: tsl2x7x: Moved contents of the header to the source file.

2017-03-25 Thread kbuild test robot
-of-the-header-to-the-source-file/20170325-152616 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: x86_64-randconfig-x004-201712 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree

Re: [PATCH] staging: most: Adds parentheses around macros with complex values

2017-03-25 Thread kbuild test robot
-parentheses-around-macros-with-complex-values/20170325-145958 config: i386-randconfig-x073-201712 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by