[PATCH 2/3] staging: kpc2000: simplify comparison to NULL in dma.c

2019-07-03 Thread Simon Sandström
Fixes checkpatch warning "Comparison to NULL could be written [...]". Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc_dma/dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/kpc2000/kpc_dma/dma.c b/drivers/staging/kpc2000/kpc_dma/dma.c in

[PATCH 1/3] staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c

2019-07-03 Thread Simon Sandström
Fixes checkpatch warning "Comparison to NULL could be written [...]". Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc2000_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c in

[PATCH 3/3] staging: kpc2000: simplify comparison to NULL in fileops.c

2019-07-03 Thread Simon Sandström
Fixes checkpatch warning "Comparison to NULL could be written [...]". Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc_dma/fileops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/kpc2000/kpc_dma/fileops.c b/drivers/staging/kpc2000/kpc_dma/file

[PATCH 0/3] Simplify NULL comparisons in staging/kpc2000

2019-07-03 Thread Simon Sandström
Hi, These patches simplifies a few comparisons to NULL ("foo == NULL" => "!foo") in staging/kpc2000, as reported by checkpatch.pl. - Simon Simon Sandström (3): staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c staging: kpc2000: simplify comparison to NULL in dma.c staging: kpc

Re: [PATCH RESEND v3] staging: erofs: remove unsupported ->datamode check in fill_inline_data()

2019-07-03 Thread Greg KH
On Thu, Jul 04, 2019 at 09:59:03AM +0800, Yue Hu wrote: > On Wed, 3 Jul 2019 18:20:38 +0200 > Greg KH wrote: > > > On Tue, Jul 02, 2019 at 10:56:01AM +0800, Yue Hu wrote: > > > From: Yue Hu > > > > > > Already check if ->datamode is supported in read_inode(), no need to check > > > again in the

Access grant

2019-07-03 Thread Ms Qing
Up to $100 Million HSBC Business/community grants up for claim. Bidding in progress. Reply for access to this amount. Regards, Mrs. Qing ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/drive

Re: [PATCH RESEND v3] staging: erofs: remove unsupported ->datamode check in fill_inline_data()

2019-07-03 Thread Yue Hu
On Wed, 3 Jul 2019 18:20:38 +0200 Greg KH wrote: > On Tue, Jul 02, 2019 at 10:56:01AM +0800, Yue Hu wrote: > > From: Yue Hu > > > > Already check if ->datamode is supported in read_inode(), no need to check > > again in the next fill_inline_data() only called by fill_inode(). > > > > Signed-of

[PATCH] x86/hyper-v: Zero out the VP assist page to fix CPU offlining

2019-07-03 Thread Dexuan Cui
When a CPU is being offlined, the CPU usually still receives a few interrupts (e.g. reschedule IPIs), after hv_cpu_die() disables the HV_X64_MSR_VP_ASSIST_PAGE, so hv_apic_eoi_write() may not write the EOI MSR, if the apic_assist field's bit0 happens to be 1; as a result, Hyper-V may not be able to

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread John Stultz
On Wed, Jul 3, 2019 at 4:32 AM Laura Abbott wrote: > > On 7/3/19 5:50 AM, Daniel Vetter wrote: > > On Wed, Jul 3, 2019 at 10:37 AM Greg KH wrote: > >> > >> On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: > >>> Remove file ion_carveout_heap.c as its functions and definitions are n

Re: [PATCH] Staging: mt7621-dma: mtk-hsdma: fix a coding style issue

2019-07-03 Thread Greg KH
On Tue, Jul 02, 2019 at 11:06:32AM +0300, fatihaltinpi...@gmail.com wrote: > From: Fatih ALTINPINAR > > Fixed a coding style issue. Removed curly brackets of an one > line if statement. > > Signed-off-by: Fatih ALTINPINAR > --- > drivers/staging/mt7621-dma/mtk-hsdma.c | 3 +-- > 1 file changed

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Greg KH
On Wed, Jul 03, 2019 at 07:32:27AM -0400, Laura Abbott wrote: > On 7/3/19 5:50 AM, Daniel Vetter wrote: > > On Wed, Jul 3, 2019 at 10:37 AM Greg KH wrote: > > > > > > On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: > > > > Remove file ion_carveout_heap.c as its functions and defi

Re: [PATCH RESEND v3] staging: erofs: remove unsupported ->datamode check in fill_inline_data()

2019-07-03 Thread Greg KH
On Tue, Jul 02, 2019 at 10:56:01AM +0800, Yue Hu wrote: > From: Yue Hu > > Already check if ->datamode is supported in read_inode(), no need to check > again in the next fill_inline_data() only called by fill_inode(). > > Signed-off-by: Yue Hu > Reviewed-by: Gao Xiang > Reviewed-by: Chao Yu >

Re: [PATCH 2/2] staging: android: ion: Remove file ion_chunk_heap.c

2019-07-03 Thread Laura Abbott
On 7/3/19 4:18 AM, Nishka Dasgupta wrote: Remove file ion_chunk_heap.c as its functions and definitions are not used anywhere else. Issue found with Coccinelle. Acked-by: Laura Abbott Signed-off-by: Nishka Dasgupta --- drivers/staging/android/ion/Kconfig | 9 -- drivers/stagi

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Laura Abbott
On 7/3/19 5:50 AM, Daniel Vetter wrote: On Wed, Jul 3, 2019 at 10:37 AM Greg KH wrote: On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: Remove file ion_carveout_heap.c as its functions and definitions are not used anywhere. Issue found with Coccinelle. Signed-off-by: Nishka D

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Daniel Vetter
On Wed, Jul 3, 2019 at 10:37 AM Greg KH wrote: > > On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: > > Remove file ion_carveout_heap.c as its functions and definitions are not > > used anywhere. > > Issue found with Coccinelle. > > > > Signed-off-by: Nishka Dasgupta > > --- > >

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Greg KH
On Wed, Jul 03, 2019 at 02:14:21PM +0530, Nishka Dasgupta wrote: > On 03/07/19 2:07 PM, Greg KH wrote: > > On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: > > > Remove file ion_carveout_heap.c as its functions and definitions are not > > > used anywhere. > > > Issue found with Cocc

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Nishka Dasgupta
On 03/07/19 2:07 PM, Greg KH wrote: On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: Remove file ion_carveout_heap.c as its functions and definitions are not used anywhere. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/android/ion/Kconfig

Re: [PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Greg KH
On Wed, Jul 03, 2019 at 01:48:41PM +0530, Nishka Dasgupta wrote: > Remove file ion_carveout_heap.c as its functions and definitions are not > used anywhere. > Issue found with Coccinelle. > > Signed-off-by: Nishka Dasgupta > --- > drivers/staging/android/ion/Kconfig | 9 -- > drivers

[PATCH 1/2] staging: android: ion: Remove file ion_carveout_heap.c

2019-07-03 Thread Nishka Dasgupta
Remove file ion_carveout_heap.c as its functions and definitions are not used anywhere. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/android/ion/Kconfig | 9 -- drivers/staging/android/ion/Makefile | 1 - .../staging/android/ion/ion_carve

[PATCH 2/2] staging: android: ion: Remove file ion_chunk_heap.c

2019-07-03 Thread Nishka Dasgupta
Remove file ion_chunk_heap.c as its functions and definitions are not used anywhere else. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/android/ion/Kconfig | 9 -- drivers/staging/android/ion/Makefile | 1 - drivers/staging/android/ion/ion_c

[PATCH][next] staging: rtl8723bs: hal: remove redundant assignment to packetType

2019-07-03 Thread Colin King
From: Colin Ian King Local variable packetType is being assigned a value that is never read just before a return statement. The assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 1 - 1

[PATCH 2/2] staging: media: sunxi: Replace function cedrus_check_format()

2019-07-03 Thread Nishka Dasgupta
Remove function cedrus_check_format as all it does is call cedrus_find_format. Rename cedrus_find_format to cedrus_check_format to maintain compatibility with call sites. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/media/sunxi/cedrus/cedrus_video.c | 10 ++

[PATCH 1/2] staging: media: sunxi: Change return type of cedrus_find_format()

2019-07-03 Thread Nishka Dasgupta
Change return type of cedrus_find_format to bool as it is only called once, by a function whose return value is bool, and the return value of cedrus_find_format is returned as-is at the call-site. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/media/sunxi/cedrus/

Re: [PATCH] staging: erofs: fix LZ4 limited bounced page mis-reuse

2019-07-03 Thread Gao Xiang
On 2019/7/3 14:51, Chao Yu wrote: > Hi xiang, > > On 2019/7/3 14:06, Gao Xiang wrote: >> Hi Chao, >> >> On 2019/7/3 10:09, Gao Xiang wrote: >>> >>> >>> On 2019/7/3 9:50, Chao Yu wrote: On 2019/7/1 2:58, Gao Xiang wrote: > From: Gao Xiang > > Like all lz77-based algrithms, lz4