Re: [PATCH 10/30] iio: dummy: iio_simple_dummy: Add newline after function-end

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:08 +0100 Lee Jones wrote: > Fixes the following checkpatch.pl warning(s): > > CHECK: Please use a blank line after function/struct/union/enum declarations > #46: FILE: drivers/iio/dummy/iio_simple_dummy.c:690: > } > +/* > total: 0 errors, 0 warnings, 1 checks, 22

Re: [PATCH 09/30] iio: dummy: iio_simple_dummy: Demote unworthy kerneldocs and correct misspelling

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:07 +0100 Lee Jones wrote: > File header comments are not good candidates for kerneldoc. Neither > are generic comment blocks. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/dummy/iio_simple_dummy.c:26: warning: cannot understand function >

[PATCH 3/3] x86: Clean up do_fast_syscall_32() tests

2020-07-18 Thread Brian Gerst
Reorganize the tests for SYSEXITS/SYSRETL, cleaning up comments and merging native and compat code. Signed-off-by: Brian Gerst --- arch/x86/entry/common.c | 85 ++-- arch/x86/entry/entry_32.S| 6 +-- arch/x86/entry/entry_64_compat.S | 13 ++---

[PATCH 1/3] x86-64: Move SYSRET validation code to C

2020-07-18 Thread Brian Gerst
Signed-off-by: Brian Gerst --- arch/x86/entry/calling.h | 10 + arch/x86/entry/common.c| 56 ++- arch/x86/entry/entry_64.S | 71 ++ arch/x86/include/asm/syscall.h | 2 +- 4 files changed, 60 insertions(+), 79

[PATCH 0/3] x86: Clean up SYSRET/SYSEXIT validation

2020-07-18 Thread Brian Gerst
This series cleans up the tests for using the SYSRET or SYSEXIT instructions on exit from a syscall, moving some code from assembly to C and merging native and compat tests. Brian Gerst (3): x86-64: Move SYSRET validation code to C x86-32: Remove SEP test for SYSEXIT x86: Clean up

[PATCH 2/3] x86-32: Remove SEP test for SYSEXIT

2020-07-18 Thread Brian Gerst
SEP must be present in order for do_fast_syscall_32() to be called on native 32-bit. Therefore the check here is redundant. Signed-off-by: Brian Gerst --- arch/x86/entry/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/entry/common.c

Re: [PATCH 0/2] task_put batching

2020-07-18 Thread Jens Axboe
On 7/18/20 2:32 AM, Pavel Begunkov wrote: > For my a bit exaggerated test case perf continues to show high CPU > cosumption by io_dismantle(), and so calling it io_iopoll_complete(). > Even though the patch doesn't yield throughput increase for my setup, > probably because the effect is hidden

Re: [PATCH 08/30] iio: dac: ad5380: Fix kerneldoc attribute formatting for 'lock'

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:06 +0100 Lee Jones wrote: > Kerneldoc expects attributes/parameters to be in '@*.: ' format. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/dac/ad5380.c:64: warning: Function parameter or member 'lock' > not described in 'ad5380_state' > > Cc:

Re: [PATCH 07/30] iio: dac: ad5360: Fix kerneldoc attribute formatting for 'lock'

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:05 +0100 Lee Jones wrote: > Kerneldoc expects attributes/parameters to be in '@*.: ' format. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/dac/ad5360.c:89: warning: Function parameter or member 'lock' > not described in 'ad5360_state' > > Cc:

Re: [PATCH 06/30] iio: adc: ad7923: Demote obvious misuse of kerneldoc to standard comment blocks

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:04 +0100 Lee Jones wrote: > No attempt has been made to document either of the demoted functions here > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/adc/ad7923.c:159: warning: Function parameter or member > 'indio_dev' not described in

Re: [PATCH] tools/memory-model: document the "one-time init" pattern

2020-07-18 Thread Alan Stern
On Fri, Jul 17, 2020 at 10:28:18PM -0700, Eric Biggers wrote: > /** > * INIT_ONCE() - do one-time initialization > * @done: pointer to a 'bool' flag that tracks whether initialization has been > * done yet or not. Must be false by default. > * @mutex: pointer to a mutex to use to

From Michelle

2020-07-18 Thread Shayma
Hallo, ich hoffe du hast meine Nachricht erhalten. Ich brauche schnelle Reaktionen Danke Michelle

Re: [PATCH 05/30] iio: chemical: sgp30: Add description for sgp_read_cmd()'s 'duration_us'

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:03 +0100 Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/iio/chemical/sgp30.c:236: warning: Function parameter or member > 'duration_us' not described in 'sgp_read_cmd' > > Cc: Andreas Brauchli > Cc: Pascal Sachs > Signed-off-by:

Re: [PATCH 04/30] iio: adc: ad7298: Demote obvious misuse of kerneldoc to standard comment blocks

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:02 +0100 Lee Jones wrote: > No attempt has been made to document either of the demoted functions here. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/adc/ad7298.c:106: warning: Function parameter or member > 'indio_dev' not described in

Re: [PATCH] ACPI/PCI: fix array_size.cocci warnings

2020-07-18 Thread Joe Perches
On Sat, 2020-07-18 at 16:01 +0800, kernel test robot wrote: > From: kernel test robot > > drivers/acpi/pci_root.c:150:37-38: WARNING: Use ARRAY_SIZE > > Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element [] > static char *get_osc_desc(u32 bit) > { > - int len =

Re: [PATCH 03/30] iio: common: ms_sensors: ms_sensors_i2c: Fix misspelling of parameter 'client'

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:01 +0100 Lee Jones wrote: > Probably due to docrot. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Function > parameter or member 'client' not described in 'ms_sensors_read_serial' >

Re: [PATCH 02/30] iio: accel: bma220_spi: Do not define 'struct acpi_device_id' when !CONFIG_ACPI

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:59:00 +0100 Lee Jones wrote: > Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI, > struct 'bma220_acpi_id' becomes defined but unused. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/accel/bma220_spi.c:312:36: warning:

Re: [PATCH 01/30] iio: adc: ad_sigma_delta: Remove unused variable 'ret'

2020-07-18 Thread Jonathan Cameron
On Thu, 16 Jul 2020 14:58:59 +0100 Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/iio/adc/ad_sigma_delta.c: In function ‘ad_sd_trigger_handler’: > drivers/iio/adc/ad_sigma_delta.c:405:6: warning: variable ‘ret’ set but not > used [-Wunused-but-set-variable] >

Re: [PATCH] tools/memory-model: document the "one-time init" pattern

2020-07-18 Thread Alan Stern
On Sat, Jul 18, 2020 at 12:00:01PM +1000, Dave Chinner wrote: > Recipes are aimed at people who simply don't understand any of that > goobledegook. This won't help them -write correct code-. Indeed. Perhaps this writeup belongs in a different document (with a pointer from the recipes file), and

Re: [PATCH v16 21/22] mm/pgdat: remove pgdat lru_lock

2020-07-18 Thread Alex Shi
在 2020/7/18 上午5:09, Alexander Duyck 写道: >> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >> index e028b87ce294..4d7df42b32d6 100644 >> --- a/mm/page_alloc.c >> +++ b/mm/page_alloc.c >> @@ -6721,7 +6721,6 @@ static void __meminit pgdat_init_internals(struct >> pglist_data *pgdat) >>

Re: [patch V3 01/13] entry: Provide generic syscall entry functionality

2020-07-18 Thread Thomas Gleixner
Andy Lutomirski writes: > On Fri, Jul 17, 2020 at 12:29 PM Thomas Gleixner wrote: >> The alternative is to play nasty games with TIF_IA32, TIF_ADDR32 and >> TIF_X32 to free up bits for 32bit and make the flags field 64 bit on 64 >> bit kernels, but I prefer to do the above seperation. > > I'm

Re: [PATCH v16 20/22] mm/vmscan: use relock for move_pages_to_lru

2020-07-18 Thread Alex Shi
在 2020/7/18 上午5:44, Alexander Duyck 写道: >> if (unlikely(PageCompound(page))) { >> spin_unlock_irq(>lru_lock); >> + lruvec = NULL; >> destroy_compound_page(page); >> -

Re: [PATCH v16 18/22] mm/lru: replace pgdat lru_lock with lruvec lock

2020-07-18 Thread Alex Shi
在 2020/7/18 上午5:38, Alexander Duyck 写道: >> + return locked_lruvec; >> + >> + if (locked_lruvec) >> + unlock_page_lruvec_irqrestore(locked_lruvec, *flags); >> + >> + return lock_page_lruvec_irqsave(page, flags); >> +} >> + > These relock functions have no

Re: [PATCH] tools/memory-model: document the "one-time init" pattern

2020-07-18 Thread Alan Stern
> This is one of the reasons that the LKMM documetnation is so damn > difficult to read and understand: just understanding the vocabulary > it uses requires a huge learning curve, and it's not defined > anywhere. Understanding the syntax of examples requires a huge > learning curve, because it's

My Greetings

2020-07-18 Thread Mrs. Anna H. Bruun
My Dear My Name is Mrs. Anna H. Bruun, from Norway. I know that this message will be a surprise to you. Firstly, I am married to Mr. Patrick Bruun, A gold merchant who owns a small gold Mine in Burkina Faso; He died of Cardiovascular Disease in mid-March 2011. During his life time he deposited

[PATCH] jbd2: check bh2jh() before accessing it

2020-07-18 Thread Xianting Tian
We met a crash issue when testing nbd device on kernel 4.14.0-115, the scenario of the issue is "nbd device disconnected before unmounting ext4 filesystem". The call trace of the crash as below: [346961.426274] block nbd2: Connection timed out [346961.426943] EXT4-fs warning (device nbd2):

Re: [PATCH v16 19/22] mm/lru: introduce the relock_page_lruvec function

2020-07-18 Thread Alex Shi
在 2020/7/18 上午6:03, Alexander Duyck 写道: >> index 129c532357a4..9fb906fbaed5 100644 >> --- a/mm/swap.c >> +++ b/mm/swap.c >> @@ -209,19 +209,12 @@ static void pagevec_lru_move_fn(struct pagevec *pvec, >> >> for (i = 0; i < pagevec_count(pvec); i++) { >> struct page *page

Re: [PATCH v6 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-07-18 Thread Zhou Yanjie
Hello Paul and Daniel, 在 2020/7/18 下午9:12, Paul Cercueil 写道: Hi Daniel, Le ven. 17 juil. 2020 à 10:02, Daniel Lezcano a écrit : On 17/07/2020 08:13, Zhou Yanjie wrote:  Hi Daniel,  在 2020/7/17 下午12:20, Daniel Lezcano 写道:  On 10/07/2020 19:02, 周琰杰 (Zhou Yanjie) wrote:  X1000 and SoCs

Re: [PATCH v5 14/15] vfio: Document dual stage control

2020-07-18 Thread Auger Eric
Hi Yi, On 7/12/20 1:21 PM, Liu Yi L wrote: > From: Eric Auger > > The VFIO API was enhanced to support nested stage control: a bunch of > new iotcls and usage guideline. ioctls > > Let's document the process to follow to set up nested mode. > > Cc: Kevin Tian > CC: Jacob Pan > Cc: Alex

[PATCH] staging: kpc2000: Replace depracated MSI API.

2020-07-18 Thread Suraj Upadhyay
Replace depracated pci_enable_msi with pci_alloc_irq_vectors. Signed-off-by: Suraj Upadhyay --- drivers/staging/kpc2000/kpc2000/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/kpc2000/kpc2000/core.c b/drivers/staging/kpc2000/kpc2000/core.c index

[PATCH] tty: vt: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 4/4] staging: rtl8188eu: include: placed constant on the right side of the test in comparisons

2020-07-18 Thread B K Karthik
On Sat, Jul 18, 2020 at 9:17 AM Joe Perches wrote: > > On Sat, 2020-07-18 at 05:18 -0400, B K Karthik wrote: > > placed constant on the right side of the test > > to fix warnings issued by checkpatch > [] > > diff --git a/drivers/staging/rtl8188eu/include/wifi.h > >

[PATCH] staging: media: ipu3: Replace depracated MSI API.

2020-07-18 Thread Suraj Upadhyay
Replace depracated psi_enable_msi with pci_alloc_irq_vectors. And as a result modify how the returned value is handled. Signed-off-by: Suraj Upadhyay --- drivers/staging/media/ipu3/ipu3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/ipu3/ipu3.c

Re: Re: [PATCH v18 02/14] mm: Introduce Data Access MONitor (DAMON)

2020-07-18 Thread SeongJae Park
On Fri, 17 Jul 2020 19:47:50 -0700 Shakeel Butt wrote: > On Mon, Jul 13, 2020 at 1:43 AM SeongJae Park wrote: > > > > From: SeongJae Park > > > > DAMON is a data access monitoring framework subsystem for the Linux > > kernel. The core mechanisms of DAMON make it > > > > - accurate (the

Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER

2020-07-18 Thread Julia Lawall
On Sat, 18 Jul 2020, Denis Efremov wrote: > Hi, > > On 7/18/20 9:45 AM, Julia Lawall wrote: > > This on is indeed a problem. I think it was not detected in testing, > > because in the current kernel the rule never applies. But Denis, in > > > > - to = \(kmalloc\|kzalloc\) > >

[PATCH] jbd2: fix incorrect code style

2020-07-18 Thread Xianting Tian
Remove unnecessary blank. Signed-off-by: Xianting Tian --- fs/jbd2/journal.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index e494443..5eccf8c 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c @@ -1285,7 +1285,7 @@

[PATCH] staging: media: atomisp: Replace depracated MSI API.

2020-07-18 Thread Suraj Upadhyay
Replace depracated pci_enable_msi with pci_alloc_irq_vectors. And as a result modify how the returned value is handled. Signed-off-by: Suraj Upadhyay --- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] dmaengine: linux/dmaengine.h: drop duplicated word in a comment

2020-07-18 Thread Vinod Koul
On 17-07-20, 19:51, Randy Dunlap wrote: > From: Randy Dunlap > > Drop the doubled word "has" in a comment. Applied, thanks -- ~Vinod

[PATCH] scsi: smartpqi: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 2/2] dt-bindings: net: dsa: qca8k: Add PORT0_PAD_CTRL properties

2020-07-18 Thread Russell King - ARM Linux admin
On Fri, Jul 17, 2020 at 10:44:19PM +0200, John Crispin wrote: > in regards to the sgmii clk skew. I never understood the electrics fully I > am afraid, but without the patch it simply does not work. my eletcric foo is > unfortunately is not sufficient to understand the "whys" I am afraid. Do you

[PATCH] staging: rts5208: rtsx: Replace depracated MSI API

2020-07-18 Thread Suraj Upadhyay
Replace depracated pci_enable_msi with pci_alloc_irq_vectors. Signed-off-by: Suraj Upadhyay --- drivers/staging/rts5208/rtsx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c index e28e162d004e..adc80e766412

Re: [PATCH 4/4] staging: rtl8188eu: include: placed constant on the right side of the test in comparisons

2020-07-18 Thread Joe Perches
On Sat, 2020-07-18 at 05:18 -0400, B K Karthik wrote: > placed constant on the right side of the test > to fix warnings issued by checkpatch [] > diff --git a/drivers/staging/rtl8188eu/include/wifi.h > b/drivers/staging/rtl8188eu/include/wifi.h [] > @@ -326,7 +326,7 @@ static inline unsigned char

Re: [PATCH v6 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-07-18 Thread Paul Cercueil
Hi Daniel, Le ven. 17 juil. 2020 à 10:02, Daniel Lezcano a écrit : On 17/07/2020 08:13, Zhou Yanjie wrote: Hi Daniel, 在 2020/7/17 下午12:20, Daniel Lezcano 写道: On 10/07/2020 19:02, 周琰杰 (Zhou Yanjie) wrote: X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate OST, it no

Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER

2020-07-18 Thread Denis Efremov
Hi, On 7/18/20 9:45 AM, Julia Lawall wrote: > This on is indeed a problem. I think it was not detected in testing, > because in the current kernel the rule never applies. But Denis, in > > - to = \(kmalloc\|kzalloc\) > (size,\(GFP_KERNEL\|GFP_USER\| >

Re: 5.8-rc*: kernel BUG at kernel/signal.c:1917

2020-07-18 Thread Jiri Slaby
On 17. 07. 20, 13:12, Christian Brauner wrote: > On Fri, Jul 17, 2020 at 01:04:38PM +0200, Jiri Slaby wrote: >> On 17. 07. 20, 12:45, Jiri Slaby wrote: >>> Hi, >>> >>> the strace testsuite triggers this on 5.8-rc4 and -rc5 both on x86_64 >>> and i586: >> >> make check needs -jsomething, running is

[GIT PULL] Please pull powerpc/linux.git powerpc-5.8-7 tag

2020-07-18 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 5.8: The following changes since commit 4557ac6b344b8cdf948ff8b007e8e1de34832f2e: powerpc/64s/exception: Fix 0x1500 interrupt handler crash (2020-07-08 20:41:06 +1000) are available in the git

Re: [PATCH 2/2] dt-bindings: net: dsa: qca8k: Add PORT0_PAD_CTRL properties

2020-07-18 Thread Vladimir Oltean
On Fri, Jul 17, 2020 at 08:26:02PM +0100, Matthew Hagan wrote: > > > On 16/07/2020 23:32, Andrew Lunn wrote: > > On Thu, Jul 16, 2020 at 03:09:25PM -0700, Jakub Kicinski wrote: > >> On Mon, 13 Jul 2020 21:50:26 +0100 Matthew Hagan wrote: > >>> Add names and decriptions of additional

[PATCH -next] net: hsr: remove redundant null check

2020-07-18 Thread Wang Hai
Because kfree_skb already checked NULL skb parameter, so the additional checks are unnecessary, just remove them. Reported-by: Hulk Robot Signed-off-by: Wang Hai --- net/hsr/hsr_forward.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/hsr/hsr_forward.c

Re: [PATCH v3 0/3] Off-load TLB invalidations to host for !GTSE

2020-07-18 Thread Michael Ellerman
Bharata B Rao writes: > On Fri, Jul 17, 2020 at 12:44:00PM +1000, Nicholas Piggin wrote: >> Excerpts from Nicholas Piggin's message of July 17, 2020 12:08 pm: >> > Excerpts from Qian Cai's message of July 17, 2020 3:27 am: >> >> On Fri, Jul 03, 2020 at 11:06:05AM +0530, Bharata B Rao wrote: >>

[PATCH] tty: serial: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 3/4] staging: rtl8188eu: include: enclosed macros in do-while loops

2020-07-18 Thread kernel test robot
Hi K, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/B-K-Karthik/staging-rtl8188eu-include-fixed-multiple-blank-space-coding-style-issues/20200718-172103 base: https://git.kernel.org/pub

[PATCH -next] scsi: dpt_i2o: remove some not needed memset

2020-07-18 Thread Wang Hai
Fixes coccicheck warning: ./drivers/scsi/dpt_i2o.c:3070:11-29: WARNING: dma_alloc_coherent use in sys_tbl already zeroes out memory, so memset is not needed ./drivers/scsi/dpt_i2o.c:2780:10-28: WARNING: dma_alloc_coherent use in status already zeroes out memory, so memset is not needed

[PATCH v3] hwmon: (drivetemp) Avoid SCT usage on Toshiba DT01ACA family drives

2020-07-18 Thread Maciej S. Szmigiero
It has been observed that Toshiba DT01ACA family drives have WRITE FPDMA QUEUED command timeouts and sometimes just freeze until power-cycled under heavy write loads when their temperature is getting polled in SCT mode. The SMART mode seems to be fine, though. Let's make sure we don't use SCT

Re: 5.8-rc*: kernel BUG at kernel/signal.c:1917

2020-07-18 Thread Jiri Slaby
On 17. 07. 20, 14:40, Oleg Nesterov wrote: > On 07/17, Oleg Nesterov wrote: >> >> On 07/17, Jiri Slaby wrote: >>> >>> On 17. 07. 20, 12:45, Jiri Slaby wrote: Hi, the strace testsuite triggers this on 5.8-rc4 and -rc5 both on x86_64 and i586: >>> >>> make check needs

[PATCH] scsi: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] reset: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER

2020-07-18 Thread Markus Elfring
tic patch language? @display@ constant A, B; @@ *A ?| B elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch --parse-cocci optional_disjunction_test3-20200718.cocci … warning: incompatible arity found on line 4 incompatible minus and plus code starting on lines 4 and 4 Regards, Markus

Re: [PATCH v5 4/4] printk: use the lockless ringbuffer

2020-07-18 Thread Marco Elver
On Thu, Jul 09, 2020 at 03:29PM +0206, John Ogness wrote: > Replace the existing ringbuffer usage and implementation with > lockless ringbuffer usage. Even though the new ringbuffer does not > require locking, all existing locking is left in place. Therefore, > this change is purely replacing the

[PATCH] pinctl: ti: iodelay: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH -next] net: ena: use NULL instead of zero

2020-07-18 Thread Wang Hai
Fix sparse build warning: drivers/net/ethernet/amazon/ena/ena_netdev.c:2193:34: warning: Using plain integer as NULL pointer Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] irqchip: crossbar: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v6 2/4] drm/imx: Add initial support for DCSS on iMX8MQ

2020-07-18 Thread Sam Ravnborg
On Sat, Jul 18, 2020 at 01:05:25PM +0200, Guido Günther wrote: > Hi, > On Fri, Jul 17, 2020 at 09:48:49PM +0200, Sam Ravnborg wrote: > > Hi Laurentiu. > > > > On Fri, Jul 17, 2020 at 05:41:27PM +0300, Laurentiu Palcu wrote: > > > From: Laurentiu Palcu > > > > > > This adds initial support for

Re: [PATCH v2] ntfs: Fix ntfs_test_inode and ntfs_init_locked_inode function type

2020-07-18 Thread Anton Altaparmakov
Hi Andrew, Please can you merge this patch? Thanks a lot in advance! Luca, thank you for the updated patch! Best regards, Anton > On 18 Jul 2020, at 12:25, Luca Stefani wrote: > > Clang's Control Flow Integrity (CFI) is a security mechanism that can > help prevent JOP chains,

[PATCH] e100: switch from 'pci_' to 'dma_' API

2020-07-18 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'e100_alloc()', GFP_KERNEL can be used because it

[PATCH -next] bpf: Make some functions static

2020-07-18 Thread Wang Hai
Fix sparse build warning: net/bpf/test_run.c:120:14: warning: symbol 'bpf_fentry_test1' was not declared. Should it be static? net/bpf/test_run.c:125:14: warning: symbol 'bpf_fentry_test2' was not declared. Should it be static? net/bpf/test_run.c:130:14: warning: symbol 'bpf_fentry_test3' was

memory leak in veth_dev_init

2020-07-18 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e9919e11 Merge branch 'for-linus' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17058f5710 kernel config: https://syzkaller.appspot.com/x/.config?x=175942c28d9b8dd0

Re: [PATCH 2/4] staging: rtl8188eu: include: fixed multiple parentheses coding style issues

2020-07-18 Thread kernel test robot
Hi K, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/B-K-Karthik/staging-rtl8188eu-include-fixed-multiple-blank-space-coding-style-issues/20200718-172103 base: https://git.kernel.org

[PATCH] HID: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] scsi: hptiop: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH v2] ntfs: Fix ntfs_test_inode and ntfs_init_locked_inode function type

2020-07-18 Thread Luca Stefani
Clang's Control Flow Integrity (CFI) is a security mechanism that can help prevent JOP chains, deployed extensively in downstream kernels used in Android. It's deployment is hindered by mismatches in function signatures. For this case, we make callbacks match their intended function signature,

[PATCH] ASoC: omap: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] net: dsa: qca8k: implement the port MTU callbacks

2020-07-18 Thread Jonathan McDowell
On Sat, Jul 18, 2020 at 01:38:08PM +0300, Vladimir Oltean wrote: > On Sat, Jul 18, 2020 at 10:35:55AM +0100, Jonathan McDowell wrote: > > This switch has a single max frame size configuration register, so we > > track the requested MTU for each port and apply the largest. > > > > Signed-off-by:

[PATCH] ASoC: fsl: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] ASoC: ti: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v6 2/4] drm/imx: Add initial support for DCSS on iMX8MQ

2020-07-18 Thread Guido Günther
Hi, On Fri, Jul 17, 2020 at 09:48:49PM +0200, Sam Ravnborg wrote: > Hi Laurentiu. > > On Fri, Jul 17, 2020 at 05:41:27PM +0300, Laurentiu Palcu wrote: > > From: Laurentiu Palcu > > > > This adds initial support for iMX8MQ's Display Controller Subsystem (DCSS). > > Some of its capabilities

[PATCH] net/fealnx: switch from 'pci_' to 'dma_' API

2020-07-18 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated, GFP_KERNEL can be used because it is called from the

Re: [PATCH] ceph: ceph_features.h: drop duplicated word in a comment

2020-07-18 Thread Jeff Layton
On Fri, 2020-07-17 at 16:36 -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Drop the doubled word "the" in a comment. > > Signed-off-by: Randy Dunlap > Cc: Ilya Dryomov > Cc: Jeff Layton > Cc: ceph-de...@vger.kernel.org > --- > include/linux/ceph/ceph_features.h |2 +- > 1 file

[PATCH] firmware: ti_sci: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH v2 2/3] dt-bindings: arm: rockchip: add Zkmagic A95X Z2 description

2020-07-18 Thread Johan Jonker
Add Zkmagic A95X Z2 description for a board with rk3318 processor. Signed-off-by: Johan Jonker --- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml

[PATCH v2 1/3] dt-bindings: Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd.

2020-07-18 Thread Johan Jonker
Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd. Signed-off-by: Johan Jonker --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v2 3/3] arm64: dts: rockchip: add rk3318 A95X Z2 board

2020-07-18 Thread Johan Jonker
The rk3318 A95X Z2 boards are sold as TV box. No further documentation is given, but from the dts files extracted it seems that the rk3318 processor is simulair to the rk3328. This dts file contains only the basic nodes that have support in the mainline kernel. Features: CPU: RK3318 Quad-Core

[PATCH v2 0/3] rk3318 A95X Z2 board

2020-07-18 Thread Johan Jonker
Add rk3318 A95X Z2 board. What works: adc key emmc ethernet hdmi gpu ir mmc sd card vop usb2 uart2 Not tested: av uart0 / bt spdif wifi No support in mainline: usb3 (works with manufacturer driver) front display (works with custom gpio driver AD1628/HT1628) Problems: U-boot

Re: [PATCH] net: dsa: felix: Make some symbols static

2020-07-18 Thread wanghai (M)
Thanks for reminding me, I'll do it. 在 2020/7/18 18:40, Vladimir Oltean 写道: On Sat, Jul 18, 2020 at 06:01:58PM +0800, Wang Hai wrote: Fix sparse build warning: drivers/net/dsa/ocelot/felix_vsc9959.c:560:19: warning: symbol 'vsc9959_vcap_is2_keys' was not declared. Should it be static?

[PATCH] pinctrl: samsung: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] powerpc: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] net: dsa: felix: Make some symbols static

2020-07-18 Thread Vladimir Oltean
On Sat, Jul 18, 2020 at 06:01:58PM +0800, Wang Hai wrote: > Fix sparse build warning: > > drivers/net/dsa/ocelot/felix_vsc9959.c:560:19: warning: > symbol 'vsc9959_vcap_is2_keys' was not declared. Should it be static? > drivers/net/dsa/ocelot/felix_vsc9959.c:640:19: warning: > symbol

Re: [PATCH] HID: udraw-ps3: Replace HTTP links with HTTPS ones

2020-07-18 Thread Bastien Nocera
On Sat, 2020-07-18 at 12:33 +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't

Re: [PATCH] net: dsa: qca8k: implement the port MTU callbacks

2020-07-18 Thread Vladimir Oltean
On Sat, Jul 18, 2020 at 10:35:55AM +0100, Jonathan McDowell wrote: > This switch has a single max frame size configuration register, so we > track the requested MTU for each port and apply the largest. > > Signed-off-by: Jonathan McDowell > --- > drivers/net/dsa/qca8k.c | 38

[tip: x86/urgent] x86/ioperm: Fix io bitmap invalidation on Xen PV

2020-07-18 Thread tip-bot2 for Andy Lutomirski
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: cadfad870154e14f745ec845708bc17d166065f2 Gitweb: https://git.kernel.org/tip/cadfad870154e14f745ec845708bc17d166065f2 Author:Andy Lutomirski AuthorDate:Fri, 17 Jul 2020 16:53:55 -07:00

[PATCH] HID: udraw-ps3: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[tip:irq/urgent] BUILD SUCCESS baedb87d1b53532f81b4bd0387f83b05d4f7eb9a

2020-07-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/urgent branch HEAD: baedb87d1b53532f81b4bd0387f83b05d4f7eb9a genirq/affinity: Handle affinity setting on inactive interrupts correctly elapsed time: 726m configs tested: 112 configs skipped: 1 The following configs

[tip:core/debugobjects] BUILD SUCCESS 0f85c4805184765ff35e0079b3241ee8f25d1b2b

2020-07-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/debugobjects branch HEAD: 0f85c4805184765ff35e0079b3241ee8f25d1b2b debugobjects: Convert to DEFINE_SHOW_ATTRIBUTE elapsed time: 726m configs tested: 115 configs skipped: 2 The following configs have been built

[PATCH] mISDN: switch from 'pci_' to 'dma_' API

2020-07-18 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'setup_hw()' (hfcpci.c) GFP_KERNEL can be used

[tip:timers/core] BUILD SUCCESS 36cd28a4cdd05d47ccb62a2d86e8f37839cc879a

2020-07-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core branch HEAD: 36cd28a4cdd05d47ccb62a2d86e8f37839cc879a timers: Lower base clock forwarding threshold i386-tinyconfig vmlinux size:

[tip:timers/urgent] BUILD SUCCESS e2a71bdea81690b6ef11f4368261ec6f5b6891aa

2020-07-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent branch HEAD: e2a71bdea81690b6ef11f4368261ec6f5b6891aa timer: Fix wheel index calculation on last level elapsed time: 726m configs tested: 84 configs skipped: 1 The following configs have been built

[PATCH] serial: altera_jtaguart: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v7 3/5] MIPS: Ingenic: Let the Kconfig of platform enable the clocksource driver.

2020-07-18 Thread Zhou Yanjie
Hi Sergei, 在 2020/7/18 下午4:39, Sergei Shtylyov 写道: Hello! On 17.07.2020 19:59, 周琰杰 (Zhou Yanjie) wrote: The previous clocksource patch in this series ([2/3]) has remove   Removed. "default MACH_INGENIC" and make option silent, so we need to   Made? enable the corresponding driver in

[PATCH] tty: serial: uartlite: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] net: dsa: felix: Make some symbols static

2020-07-18 Thread Wang Hai
Fix sparse build warning: drivers/net/dsa/ocelot/felix_vsc9959.c:560:19: warning: symbol 'vsc9959_vcap_is2_keys' was not declared. Should it be static? drivers/net/dsa/ocelot/felix_vsc9959.c:640:19: warning: symbol 'vsc9959_vcap_is2_actions' was not declared. Should it be static? Reported-by:

[PATCH] ipw2x00: Replace HTTP links with HTTPS ones

2020-07-18 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

<    1   2   3   4   5   6   >