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

2019-07-02 Thread Gao Xiang
Like all lz77-based algrithms, lz4 has a dynamically populated ("sliding window") dictionary and the maximum lookback distance is 65535. Therefore the number of bounced pages could be limited by erofs based on this property. However, just now we observed some lz4 sequences in the extreme case cann

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

2019-07-02 Thread Chao Yu
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 has a dynamically populated ("sliding window")

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

2019-07-02 Thread Gao Xiang
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 has a dynamically populated >>> ("sliding window") dictionary and the maximum lookback distance >>> is 65535.

Reminder: 3 open syzbot bugs in "android/binder" subsystem

2019-07-02 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 3 of them as possibly being bugs in the "android/binder"

Charitable Funds Donation

2019-07-02 Thread Ms Qing
Firstly, I must solicit your confidence in this project; Is obvious we have not met each other, Meeting new people in our daily lives is not an-ending circle and my apology for sending you this information by e-mail instead of Post-mail. I decided to contact you for assistance and distribution

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

2019-07-02 Thread Gao Xiang
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 has a dynamically populated >> ("sliding window") dictionary and the maximum lookback distance >> is 65535. Therefore the number of bounced pages could be limited >>

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

2019-07-02 Thread Chao Yu
On 2019/7/1 2:58, Gao Xiang wrote: > From: Gao Xiang > > Like all lz77-based algrithms, lz4 has a dynamically populated > ("sliding window") dictionary and the maximum lookback distance > is 65535. Therefore the number of bounced pages could be limited > by erofs based on this property. > > Howe

Re: [PATCH v4] Staging: most: fix coding style issues

2019-07-02 Thread Greg KH
On Tue, Jul 02, 2019 at 05:24:03AM -0700, Gabriel Beauchamp wrote: > This is a patch for the core.[ch] files that fixes up warnings > found with the checkpatch.pl tool. > > Signed-off-by: Gabriel Beauchamp Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that

[PATCH v4] Staging: most: fix coding style issues

2019-07-02 Thread Gabriel Beauchamp
This is a patch for the core.[ch] files that fixes up warnings found with the checkpatch.pl tool. Signed-off-by: Gabriel Beauchamp --- Changes in v4: - fix a warning by making '*type' const Changes in v3: - add a break statement to preserve the control flow Changes in v2: - use a single snprintf

RE: What device drivers for Linux does this project develop?

2019-07-02 Thread Turritopsis Dohrnii Teo En Ming
Noted with thanks! -Original Message- From: Greg KH Sent: Tuesday, 2 July 2019 6:16 PM To: Turritopsis Dohrnii Teo En Ming Cc: driverdev-devel@linuxdriverproject.org Subject: Re: What device drivers for Linux does this project develop? On Tue, Jul 02, 2019 at 09:29:47AM +, Turrito

Re: What device drivers for Linux does this project develop?

2019-07-02 Thread Greg KH
On Tue, Jul 02, 2019 at 09:29:47AM +, Turritopsis Dohrnii Teo En Ming wrote: > My Hauppauge WinTV-HVR-935 HD Tri-Mode TV Stick DVB-T2 TV Tuner in > Singapore is currently not supported by Linux. Have you tried contacting the linux-me...@vger.kernel.org mailing list first? The developers for t

Re: use exact allocation for dma coherent memory

2019-07-02 Thread Arend Van Spriel
On 7/1/2019 10:48 AM, Christoph Hellwig wrote: On Fri, Jun 14, 2019 at 03:47:10PM +0200, Christoph Hellwig wrote: Switching to a slightly cleaned up alloc_pages_exact is pretty easy, but it turns out that because we didn't filter valid gfp_t flags on the DMA allocator, a bunch of drivers were

[PATCH] staging: rtl8192e: remove redundant initialization of rtstatus

2019-07-02 Thread Colin King
From: Colin Ian King Variable rtstatus is being initialized with a value that is never read as it is being overwritten inside a do-while loop. Clean up the code by removing the redundant initialization. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/staging/rtl8

RE: What device drivers for Linux does this project develop?

2019-07-02 Thread Turritopsis Dohrnii Teo En Ming
Hi Greg KH, My Hauppauge WinTV-HVR-935 HD Tri-Mode TV Stick DVB-T2 TV Tuner in Singapore is currently not supported by Linux. -Original Message- From: Greg KH Sent: Tuesday, 2 July 2019 5:26 PM To: Turritopsis Dohrnii Teo En Ming Cc: driverdev-devel@linuxdriverproject.org Subject: Re

Re: What device drivers for Linux does this project develop?

2019-07-02 Thread Greg KH
On Tue, Jul 02, 2019 at 08:44:14AM +, Turritopsis Dohrnii Teo En Ming wrote: > Good afternoon from Singapore, > > What device drivers for Linux does this project develop? All taht is needed. What type of device do you have that Linux currently does not support? greg k-h

What device drivers for Linux does this project develop?

2019-07-02 Thread Turritopsis Dohrnii Teo En Ming
Good afternoon from Singapore, What device drivers for Linux does this project develop? Thank you. -BEGIN EMAIL SIGNATURE- The Gospel for all Targeted Individuals (TIs): [The New York Times] Microwave Weapons Are Prime Suspect in Ills of U.S. Embassy Workers Link: https://www.nytim

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

2019-07-02 Thread fatihaltinpinar
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, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-dma/mtk-hsdma.c b/driv

[PATCH 8/9] staging: rtl8723bs: Remove rtw_btcoex_DisplayBtCoexInfo()

2019-07-02 Thread Nishka Dasgupta
Remove function rtw_btcoex_DisplayBtCoexInfo as all it does is call hal_btcoex_DisplayBtCoexInfo. Modify call site accordingly. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/core/rtw_btcoex.c| 5 - drivers/staging/rtl8723bs/core/rtw_debug.c

[PATCH 6/9] staging: rtl8723bs: Remove function rtw_btcoex_SetDBG()

2019-07-02 Thread Nishka Dasgupta
Remove function rtw_btcoex_SetDBG as all it does is call hal_btcoex_setDBG. Modify call sites accordingly. Include the header file for hal_btcoex in the file that now calls hal_btcoex_SetDBG instead of rtw_btcoex_SetDBG. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/sta

[PATCH 4/9] staging: rtl8723bs: Remove rtw_btcoex_BtInfoNotify()

2019-07-02 Thread Nishka Dasgupta
Remove function rtw_btcoex_BtInfoNotify as it does nothing except call hal_btcoex_BtInfoNotify. Modify call sites accordingly. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 5 - drivers/staging/rtl8723bs/core/rtw_cmd.c

[PATCH 9/9] staging: rtl8723bs: Change return type of hal_btcoex_IsBtDisabled()

2019-07-02 Thread Nishka Dasgupta
Change return type of hal_btcoex_IsBtDisabled from u8 to bool as the only possible return values are true and false. Where needed, modify accordingly the type of the variables used to store this return value. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +

[PATCH 5/9] staging: rtl8723bs: Remove rtw_btcoex_IsBTCoexCtrlAMPDUSize()

2019-07-02 Thread Nishka Dasgupta
Remove function rtw_btcoex_IsBTCoexCtrlAMPDUSize as it does nothing except call hal_btcoex_IsBTCoexCtrlAMPDUSize. Modify call site accordingly. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/core/rtw_btcoex.c| 9 - drivers/staging/rtl8723bs/

[PATCH 2/9] staging: rtl8723bs: Remove rtw_btcoex_SetSingleAntPath()

2019-07-02 Thread Nishka Dasgupta
Remove function rtw_btcoex_SetSingleAntPath as all it does is call hal_btcoex_SetSingleAntPath. Modify call site. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 5 - drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 2 +-

[PATCH 3/9] staging: rtl8723bs: Remove rtw_btcoex_ScanNotify()

2019-07-02 Thread Nishka Dasgupta
Remove function rtw_btcoex_ScanNotify as all it does is call hal_btcoex_ScanNotify. Modify call sites accordingly. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 5 - drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +-

[PATCH 7/9] staging: rtl8723bs: Remove function rtw_btcoex_GetDBG()

2019-07-02 Thread Nishka Dasgupta
Remove function rtw_btcoex_GetDBG as all it does is call hal_btcoex_GetDBG. Modify call site accordingly. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/core/rtw_btcoex.c| 5 - drivers/staging/rtl8723bs/core/rtw_debug.c | 2 +- drivers/stagi

[PATCH 1/9] staging: rtl8723bs: Remove rtw_btcoex_SetPGAntNum()

2019-07-02 Thread Nishka Dasgupta
Remove function rtw_btcoex_SetPGAntNum as it does nothing except call hal_btcoex_SetPgAntNum. Modify call site accordingly. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 5 - drivers/staging/rtl8723bs/hal/rtl8723b_hal_init