[PATCH 27/32] ASoC: samsung: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Krzysztof Kozlowski Cc: Sangbeom Kim Cc: Sylwester Nawrocki Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Kefeng

[PATCH 20/32] sh/intc: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Yoshinori Sato Cc: Rich Felker Signed-off-by: Kefeng Wang --- drivers/sh/intc/core.c | 4 ++-- 1 file changed, 2

[PATCH 28/32] printk: Drop pr_warning

2019-09-20 Thread Kefeng Wang
With all pr_warning are removed, saftely drop pr_warning definition. Cc: Petr Mladek Cc: Sergey Senozhatsky Cc: Steven Rostedt Signed-off-by: Kefeng Wang --- include/linux/printk.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/printk.h

[PATCH 08/32] acpi: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: James Morse Signed-off-by: Kefeng Wang --- drivers/acpi/apei/apei-base.c | 36

[PATCH 18/32] platform/x86: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Corentin Chary Cc: Darren Hart Cc: Andy Shevchenko Signed-off-by: Kefeng Wang --- drivers/platform/x86/asus-laptop.c|

[PATCH 19/32] scsi: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Signed-off-by: Kefeng Wang --- drivers/scsi/a3000.c | 2 +- 1 file changed,

[PATCH 26/32] lib: cpu_rmap: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Andrew Morton Signed-off-by: Kefeng Wang --- lib/cpu_rmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 23/32] vgacon: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Bartlomiej Zolnierkiewicz Cc: linux-fb...@vger.kernel.org Signed-off-by: Kefeng Wang --- drivers/video/console/vgacon.c | 6

[PATCH 07/32] x86: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" Cc: Robert Richter Cc: Darren Hart Cc: Andy Shevchenko

[PATCH 29/32] tools lib api: Renaming pr_warning to pr_warn

2019-09-20 Thread Kefeng Wang
For kernel logging macro, pr_warning is completely removed and replaced by pr_warn, using pr_warn in tools lib api for symmetry to kernel logging macro, then we could drop pr_warning in the whole linux code. Changing __pr_warning to __pr_warn to be consistent. Cc: Arnaldo Carvalho de Melo

[PATCH 31/32] tools perf: Renaming pr_warning to pr_warn

2019-09-20 Thread Kefeng Wang
For kernel logging macro, pr_warning is completely removed and replaced by pr_warn, using pr_warn in tools perf for symmetry to kernel logging macro, then we could drop pr_warning in the whole linux code. Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Mark Rutland Cc:

[PATCH 24/32] dma-debug: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Christoph Hellwig Cc: Marek Szyprowski Cc: Robin Murphy Signed-off-by: Kefeng Wang --- kernel/dma/debug.c | 2 +- 1 file

[PATCH 32/32] checkpatch: Drop pr_warning check

2019-09-20 Thread Kefeng Wang
For now, all pr_warning are removed, delete pr_warning check in checkpatch. Cc: Andy Whitcroft Cc: Joe Perches Signed-off-by: Kefeng Wang --- scripts/checkpatch.pl | 9 - 1 file changed, 9 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

[PATCH 21/32] staging: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Karsten Keil Cc: Greg Kroah-Hartman Signed-off-by: Kefeng Wang --- drivers/staging/isdn/gigaset/interface.c | 2 +- 1 file

[PATCH 25/32] trace: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Kefeng Wang --- kernel/trace/trace_benchmark.c | 4 ++-- 1 file changed, 2

[PATCH 30/32] tools lib bpf: Renaming pr_warning to pr_warn

2019-09-20 Thread Kefeng Wang
For kernel logging macro, pr_warning is completely removed and replaced by pr_warn, using pr_warn in tools lib bpf for symmetry to kernel logging macro, then we could drop pr_warning in the whole linux code. Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Martin KaFai Lau Cc: Song Liu Cc:

[PATCH 02/32] arm64: Use pr_warn instead of pr_warning

2019-09-20 Thread Kefeng Wang
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Will Deacon Cc: Mark Rutland Cc: Catalin Marinas Signed-off-by: Kefeng Wang --- arch/arm64/kernel/hw_breakpoint.c | 8

Re: [PATCH v3 2/6] platform/x86: huawei-wmi: Add quirks and module parameters

2019-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 19, 2019 at 08:39:07PM -0400, Ayman Bagabas wrote: > Introduce quirks and module parameters. 3 quirks are added: > 1. Fixes reporting brightness keys twice since it's already handled by >acpi-video. > 2. Some models need a short delay when setting battery thresholds to >prevent

Re: mt76x2e hardware restart

2019-09-20 Thread Oleksandr Natalenko
On 19.09.2019 23:22, Oleksandr Natalenko wrote: It checks for TX hang here: === mt76x02_mmio.c 557 void mt76x02_wdt_work(struct work_struct *work) 558 { ... 562 mt76x02_check_tx_hang(dev); === I've commented out the watchdog here ^^, and the card is not resetted any more, but similarly

Re: [PATCH] staging: rtl8192u: fix multiple memory leaks on error path

2019-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 19, 2019 at 09:51:33PM -0500, Navid Emamdoost wrote: > In rtl8192_tx on error handling path allocated urbs and also skb should > be released. > > Signed-off-by: Navid Emamdoost > --- > drivers/staging/rtl8192u/r8192U_core.c | 17 - > 1 file changed, 12 insertions(+),

Re: [PATCH] tty:vt: Add check the return value of kzalloc to avoid oops

2019-09-20 Thread Greg KH
On Fri, Sep 20, 2019 at 02:29:49AM +, Nixiaoming wrote: > On 2019/9/19 17:30, Greg KH wrote: > > On Thu, Sep 19, 2019 at 05:18:15PM +0800, Xiaoming Ni wrote: > >> Using kzalloc() to allocate memory in function con_init(), but not > >> checking the return value, there is a risk of null pointer

Re: [PATCH] tty:vt: Add check the return value of kzalloc to avoid oops

2019-09-20 Thread Greg KH
On Thu, Sep 19, 2019 at 10:56:15PM -0400, Nicolas Pitre wrote: > On Thu, 19 Sep 2019, Greg KH wrote: > > > On Thu, Sep 19, 2019 at 05:18:15PM +0800, Xiaoming Ni wrote: > > > Using kzalloc() to allocate memory in function con_init(), but not > > > checking the return value, there is a risk of null

[PATCH -next] w1: ds250x: Fix build error without CRC16

2019-09-20 Thread YueHaibing
If CRC16 is not set, building will fails: drivers/w1/slaves/w1_ds250x.o: In function `w1_ds2505_read_page': w1_ds250x.c:(.text+0x82f): undefined reference to `crc16' w1_ds250x.c:(.text+0x90a): undefined reference to `crc16' w1_ds250x.c:(.text+0x91a): undefined reference to `crc16' Reported-by:

Re: [PATCH 2/2] gpio: iproc-gpio: Handle interrupts for multiple instances

2019-09-20 Thread Srinath Mannam
Hi Linus, We have tested patch with your changes, it works fine. Thanks a lot for all the help. Regards, Srinath. On Wed, Sep 11, 2019 at 3:13 PM Linus Walleij wrote: > > On Thu, Aug 29, 2019 at 5:52 AM Srinath Mannam > wrote: > > > From: Rayagonda Kokatanur > > > > When multiple instance of

<    5   6   7   8   9   10