Re: [PATCH] staging: comedi: dt2811: fix integer overflow in multiply

2019-02-03 Thread Dan Carpenter
On Sun, Feb 03, 2019 at 02:29:04PM +0300, Dan Carpenter wrote: > > diff --git a/drivers/staging/comedi/drivers/dt2811.c > > b/drivers/staging/comedi/drivers/dt2811.c > > index 05207a519755..820e75f850ff 100644 > > --- a/drivers/staging/comedi/drivers/dt2811.c > > +++ b/drivers/staging/comedi/drive

[PATCH v4] Drivers: hv: vmbus: Expose counters for interrupts and full conditions

2019-02-03 Thread Kimberly Brown
Counter values for per-channel interrupts and ring buffer full conditions are useful for investigating performance. Expose counters in sysfs for 2 types of guest to host interrupts: 1) Interrupts caused by the channel's outbound ring buffer transitioning from empty to not empty 2) Interrupts cause

Re: [PATCH V2 1/3] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

2019-02-03 Thread kbuild test robot
Hi Lan, Thank you for the patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on v5.0-rc4 next-20190204] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

FINANCIAL MANAGEMENT AND ADVISORY SERVICES LIMITED 1

2019-02-03 Thread Mr. Martin Jones
Dear de...@linuxdriverproject.org, Please pardon me for this unsolicited communique. I do have the trusteeship of a PRIVATE investor with a stormy political background to outsource individuals with sound Financial Management abilities to manage over US$1.3B devoid of his name. These funds c

Re: [PATCH V2 1/3] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

2019-02-03 Thread kbuild test robot
Hi Lan, Thank you for the patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on v5.0-rc4 next-20190201] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH 9/9 v3] staging: spi: mt7621: Remove superfluous pre-declaration of struct mt7621_spi

2019-02-03 Thread NeilBrown
On Fri, Feb 01 2019, Stefan Roese wrote: > This patch removes the superfluous pre-declaration of struct mt7621_spi. > > Signed-off-by: Stefan Roese > Cc: Mark Brown > Cc: Greg Kroah-Hartman > Cc: NeilBrown > Cc: Sankalp Negi > Cc: Chuanhong Guo > Cc: John Crispin > --- > v3: > - New patch,

Re: [PATCH 1/9 v3] staging: spi: mt7621: Switch to SPDX identifier

2019-02-03 Thread NeilBrown
On Fri, Feb 01 2019, Mark Brown wrote: > On Fri, Feb 01, 2019 at 11:17:07AM +0100, Stefan Roese wrote: > >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> /* >> * spi-mt7621.c -- MediaTek MT7621 SPI controller driver >> * > > Please convert the entire comment into a C++ comment so

RE: [PATCH V2 1/3] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

2019-02-03 Thread Michael Kelley
From: lantianyu1...@gmail.com Sent: Saturday, February 2, 2019 5:15 AM > > Hyper-V doesn't provide irq remapping for IO-APIC. To enable x2apic, > set x2apic destination mode to physcial mode when x2apic is available > and Hyper-V IOMMU driver makes sure cpus assigned with IO-APIC irqs have > 8-

[PATCH 3/3] media: imx: Allow BT.709 encoding for IC routes

2019-02-03 Thread Steve Longerbeam
The IC now supports BT.709 Y'CbCr encoding, in addition to existing BT.601 encoding, so allow both, for pipelines that route through the IC. Reported-by: Tim Harvey Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 delet

[PATCH 2/3] gpu: ipu-v3: ipu-ic: Add support for BT.709 encoding

2019-02-03 Thread Steve Longerbeam
Pass v4l2 encoding enum to the ipu_ic task init functions, and add support for the BT.709 encoding and inverse encoding matrices. Reported-by: Tim Harvey Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-ic.c | 67 ++--- drivers/gpu/ipu-v3/ipu-image-conv

[PATCH] staging: mt7621-spi: Clean up comparison to NULL

2019-02-03 Thread Jasminko Dedic
Fix checkpatch check: Comparison to NULL could be written "!master" Signed-off-by: Jasminko Dedic --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c ind

[PATCH 3.16 139/305] clockevents/drivers/i8253: Add support for PIT shutdown quirk

2019-02-03 Thread Ben Hutchings
3.16.63-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Kelley commit 35b69a420bfb56b7b74cb635ea903db05e357bec upstream. Add support for platforms where pit_shutdown() doesn't work because of a quirk in the PIT emulation. On these platforms

[PATCH 3.16 140/305] x86/hyper-v: Enable PIT shutdown quirk

2019-02-03 Thread Ben Hutchings
3.16.63-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Kelley commit 1de72c706488b7be664a601cf3843bd01e327e58 upstream. Hyper-V emulation of the PIT has a quirk such that the normal PIT shutdown path doesn't work, because clearing the coun

Re: [PATCH] staging: rtl8192u: fix a null pointer dereference on a null dev pointer

2019-02-03 Thread Dan Carpenter
On Sat, Feb 02, 2019 at 10:56:27PM +, Colin King wrote: > From: Colin Ian King > > There is an earlier null check on pointer dev which implies it may be null, > however the assignment of pointer pref and the call to free_ieee82011 on > a null dev can cause null pointer dereference errors. Fi

Re: [PATCH] staging: comedi: dt2811: fix integer overflow in multiply

2019-02-03 Thread Dan Carpenter
On Sat, Feb 02, 2019 at 09:59:16PM +, Colin King wrote: > From: Colin Ian King > > Multiplying two unsigned ints leads to an unsigned int result. The > intention is that the result is a unsigned long long, so to fix the > overflow cast the div to an unsigned long long to ensure that the > mul