[PATCH] arm: mm: remove duplicate include

2020-11-07 Thread Wang Qing
Remove duplicate header which is included twice. Signed-off-by: Wang Qing --- arch/arm/mm/mmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index ab69250..4963e1c --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -33,7 +33,6 @@ #include #include

Re: [PATCH v22 12/23] LSM: Specify which LSM to display

2020-11-07 Thread Greg KH
On Fri, Nov 06, 2020 at 04:20:43PM -0800, Casey Schaufler wrote: > On 11/5/2020 1:22 AM, Greg KH wrote: > > On Wed, Nov 04, 2020 at 03:41:03PM -0800, Casey Schaufler wrote: > >> Create a new entry "display" in the procfs attr directory for > >> controlling which LSM security information is

Re: [PATCH] powerpc/32s: Setup the early hash table at all time.

2020-11-07 Thread Christophe Leroy
Le 29/10/2020 à 22:07, Andreas Schwab a écrit : On Okt 01 2020, Christophe Leroy wrote: At the time being, an early hash table is set up when CONFIG_KASAN is selected. There is nothing wrong with setting such an early hash table all the time, even if it is not used. This is a statically

[i2c-next,PATCH] i2c: medaitek: Move suspend and resume handling to NOIRQ phase

2020-11-07 Thread qii.wang
From: Qii Wang Some i2c device driver indirectly uses I2C driver when it is now being suspended. The i2c devices driver is suspended during the NOIRQ phase and this cannot be changed due to other dependencies. Therefore, we also need to move the suspend handling for the I2C controller driver to

[PATCH] powerpc/32s: Use relocation offset when setting early hash table

2020-11-07 Thread Christophe Leroy
When calling early_hash_table(), the kernel hasn't been yet relocated to its linking address, so data must be addressed with relocation offset. Add relocation offset to write into Hash in early_hash_table(). Reported-by: Erhard Furtner Reported-by: Andreas Schwab Fixes: 69a1593abdbc

Re: [PATCH v1] i2c: nvidia-gpu: drop empty stub for runtime pm

2020-11-07 Thread Vaibhav Gupta
On Sat, Nov 07, 2020 at 01:51:51PM +0530, Vaibhav Gupta wrote: > After the commit c5eb1190074c ("PCI / PM: Allow runtime PM without callback > functions") we no more need empty stubs for runtime-pm to work. > > The driver has no device specific task(s) for .suspend() . The stub was > placed just

[PATCH V3] fsl/fman: add missing put_devcie() call in fman_port_probe()

2020-11-07 Thread Yu Kuai
if of_find_device_by_node() succeed, fman_port_probe() doesn't have a corresponding put_device(). Thus add jump target to fix the exception handling for this function implementation. Fixes: 0572054617f3 ("fsl/fman: fix dereference null return value") Signed-off-by: Yu Kuai --- Changes in V3: -

Re: [PATCH 1/2] tomoyo: Convert get_user_pages*() to pin_user_pages*()

2020-11-07 Thread John Hubbard
On 11/7/20 12:24 AM, Souptick Joarder wrote: In 2019, we introduced pin_user_pages*() and now we are converting get_user_pages*() to the new API as appropriate. [1] & [2] could be referred for more information. This is case 5 as per document [1]. It turns out that Case 5 can be implemented via

Re: [PATCH v2] Revert "kbuild: Do not enable -Wimplicit-fallthrough for clang for now"

2020-11-07 Thread Nick Desaulniers
On Sat, Nov 7, 2020 at 12:45 AM Nick Desaulniers wrote: > > This reverts commit e2079e93f562c7f7a030eb7642017ee5eabaaa10. > > This has been fixed up over time thanks to the addition of "fallthrough" > pseudo-keyword in > commit 294f69e662d1 ("compiler_attributes.h: Add 'fallthrough' pseudo >

Im rechtlichen Kontext

2020-11-07 Thread Wendy
Ich möchte, dass Sie sich mit mir bei der Durchführung eines Geschäftsprojekts zusammenschließen, das einen angemessenen Betrag an Investitionskapital in Höhe von 52 Millionen fünfhunderttausend US-Dollar umfasst. Da die Zeit drängt, ist es unbedingt erforderlich, dass Sie sich zur weiteren

Re: [PATCH 2/2] tomoyo: Fixed typo in documentation

2020-11-07 Thread John Hubbard
On 11/7/20 12:24 AM, Souptick Joarder wrote: Fixed typo s/Poiner/Pointer Fixes: 5b636857fee6 ("TOMOYO: Allow using argv[]/envp[] of execve() as conditions.") Signed-off-by: Souptick Joarder Cc: John Hubbard --- security/tomoyo/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH V3] doc: zh_CN: add translatation for tmpfs

2020-11-07 Thread Wang Qing
Translate Documentation/filesystems/tmpfs.rst into Chinese. Signed-off-by: Wang Qing Changes in v3: - Fix patch format issue. --- .../translations/zh_CN/filesystems/tmpfs.rst | 146 + 1 file changed, 146 insertions(+) create mode 100644

Re: [PATCH v7 0/3] iommu/tegra-smmu: Add PCI support

2020-11-07 Thread Nicolin Chen
On Fri, Oct 09, 2020 at 09:19:33AM -0700, Nicolin Chen wrote: > This series is to add PCI support in tegra-smmu driver. This v7 has fixed all the existing comments and been in the maillist for nearly a month. Can anyone please apply them? Thanks Nic > Changelog (Detail in each patch) > v6->v7 >

[PATCH v2] ACPI: GED: fix -Wformat

2020-11-07 Thread Nick Desaulniers
Clang is more aggressive about -Wformat warnings when the format flag specifies a type smaller than the parameter. It turns out that gsi is an int. Fixes: drivers/acpi/evged.c:105:48: warning: format specifies type 'unsigned char' but the argument has type 'unsigned int' [-Wformat] trigger ==

Re: [PATCH v4 0/2] iommu/tegra-smmu: Two followup changes

2020-11-07 Thread Nicolin Chen
On Mon, Sep 28, 2020 at 11:13:23PM -0700, Nicolin Chen wrote: > Two followup patches for tegra-smmu: > PATCH-1 is a clean-up patch for the recently applied SWGROUP change. > PATCH-2 fixes a potential race condition These two changes have Acked-by and Reviewed-by for a month already. Who can apply

[PATCH v2] Revert "kbuild: Do not enable -Wimplicit-fallthrough for clang for now"

2020-11-07 Thread Nick Desaulniers
This reverts commit e2079e93f562c7f7a030eb7642017ee5eabaaa10. This has been fixed up over time thanks to the addition of "fallthrough" pseudo-keyword in commit 294f69e662d1 ("compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use") Link:

[PATCH] wireless: realtek: fix spelling typo of workaround

2020-11-07 Thread Wang Qing
workarould -> workaround Signed-off-by: Wang Qing --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index

Re: [PATCH] Revert "mm/vunmap: add cond_resched() in vunmap_pmd_range"

2020-11-07 Thread Minchan Kim
Hi Andrew, On Fri, Nov 06, 2020 at 05:59:33PM -0800, Andrew Morton wrote: > On Thu, 5 Nov 2020 09:02:49 -0800 Minchan Kim wrote: > > > This reverts commit e47110e90584a22e9980510b00d0dfad3a83354e. > > > > While I was doing zram testing, I found sometimes decompression failed > > since the

Re: [PATCH] ACPI: GED: fix -Wformat

2020-11-07 Thread Ard Biesheuvel
On Sat, 7 Nov 2020 at 09:34, Nick Desaulniers wrote: > > Clang is more aggressive about -Wformat warnings when the format flag > specifies a type smaller than the parameter. It turns out that gsi is an > int. Fixes: > > drivers/acpi/evged.c:105:48: warning: format specifies type 'unsigned > char'

Re: [PATCH v2 0/6] platform/chrome: cros_ec_typec: Add cable

2020-11-07 Thread Greg KH
On Fri, Nov 06, 2020 at 10:40:57AM -0800, Prashant Malani wrote: > The following series adds Type C cable registration to the cros-ec-typec > port driver using the Type C connector class framework. The first few > patches perform a few minor re-organizations to prepare for the cable > registration

[PATCH] ACPI: GED: fix -Wformat

2020-11-07 Thread Nick Desaulniers
Clang is more aggressive about -Wformat warnings when the format flag specifies a type smaller than the parameter. It turns out that gsi is an int. Fixes: drivers/acpi/evged.c:105:48: warning: format specifies type 'unsigned char' but the argument has type 'unsigned int' [-Wformat] trigger ==

Re: [PATCH v2] Make iwmmxt.S support Clang's integrated assembler

2020-11-07 Thread Ard Biesheuvel
On Sat, 7 Nov 2020 at 01:11, Jian Cai wrote: > > This patch replaces 6 IWMMXT instructions Clang's integrated assembler > does not support in iwmmxt.S using macros, while making sure GNU > assembler still emit the same instructions. This should be easier than > providing full IWMMXT support in

[PATCH] sched: remove duplicate include unnecessary

2020-11-07 Thread Wang Qing
Remove duplicate header include which is unnecessary. Signed-off-by: Wang Qing --- kernel/sched/sched.h | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index df80bfc..dd91a8b --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -351,7 +351,6 @@

[PATCH v1] i2c: nvidia-gpu: drop empty stub for runtime pm

2020-11-07 Thread Vaibhav Gupta
After the commit c5eb1190074c ("PCI / PM: Allow runtime PM without callback functions") we no more need empty stubs for runtime-pm to work. The driver has no device specific task(s) for .suspend() . The stub was placed just for runtime-pm, which can be dropped now. Reported-by: Bjorn Helgaas

[PATCH 2/2] tomoyo: Fixed typo in documentation

2020-11-07 Thread Souptick Joarder
Fixed typo s/Poiner/Pointer Fixes: 5b636857fee6 ("TOMOYO: Allow using argv[]/envp[] of execve() as conditions.") Signed-off-by: Souptick Joarder Cc: John Hubbard --- security/tomoyo/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/tomoyo/domain.c

[PATCH] locking: remove duplicate include of percpu-rwsem.h

2020-11-07 Thread Wang Qing
Remove duplicate header include which is unnecessary. Signed-off-by: Wang Qing --- kernel/locking/locktorture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index 62d215b..af99e9c 100644 --- a/kernel/locking/locktorture.c +++

[PATCH 1/2] tomoyo: Convert get_user_pages*() to pin_user_pages*()

2020-11-07 Thread Souptick Joarder
In 2019, we introduced pin_user_pages*() and now we are converting get_user_pages*() to the new API as appropriate. [1] & [2] could be referred for more information. This is case 5 as per document [1]. [1] Documentation/core-api/pin_user_pages.rst [2] "Explicit pinning of user-space pages":

Re: WARNING in input_register_device

2020-11-07 Thread Greg KH
On Fri, Nov 06, 2020 at 09:03:14AM -0800, Eric Biggers wrote: > On Fri, Nov 06, 2020 at 03:03:36PM +0100, Greg KH wrote: > > On Fri, Nov 06, 2020 at 04:43:17AM -0800, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:9e39aef3 usb: misc:

Re: [Linux-kernel-mentees] [PATCH v2 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-07 Thread Anmol Karn
Hello Sir, On Fri, Nov 06, 2020 at 01:04:27PM -0800, Saeed Mahameed wrote: > On Thu, 2020-11-05 at 21:26 +0530, Anmol Karn wrote: > > rose_send_frame() dereferences `neigh->dev` when called from > > rose_transmit_clear_request(), and the first occurance of the `neigh` > > is in

[PATCH] firmware: fix spelling typo of 'wtih'

2020-11-07 Thread Wang Qing
wtih -> with Signed-off-by: Wang Qing --- drivers/firmware/raspberrypi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/raspberrypi.c b/drivers/firmware/raspberrypi.c index 2371d08..30259dc --- a/drivers/firmware/raspberrypi.c +++

[PATCH] scsi: core: fix -Wformat

2020-11-07 Thread Nick Desaulniers
Clang is more aggressive about -Wformat warnings when the format flag specifies a type smaller than the parameter. Turns out, struct Scsi_Host's member can_queue is actually an int. Fixes: warning: format specifies type 'short' but the argument has type 'int' [-Wformat] shost_rd_attr(can_queue,

[PATCH] bpf: remove duplicate include

2020-11-07 Thread Wang Qing
Remove duplicate header which is included twice. Signed-off-by: Wang Qing --- kernel/bpf/btf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index ed7d02e..6324de8 --- a/kernel/bpf/btf.c +++ b/kernel/bpf/btf.c @@ -22,7 +22,6 @@ #include #include

Re: [PATCH net-next 09/11] ath6kl: fix enum-conversion warning

2020-11-07 Thread Kalle Valo
Arnd Bergmann wrote: > gcc -Wextra points out a type mismatch > > drivers/net/wireless/ath/ath6kl/wmi.c: In function 'ath6kl_wmi_cmd_send': > drivers/net/wireless/ath/ath6kl/wmi.c:1825:19: warning: implicit conversion > from 'enum ' to 'enum wmi_data_hdr_data_type' [-Wenum-conversion] > 1825

Re: [PATCH 01/41] wil6210: wmi: Correct misnamed function parameter 'ptr_'

2020-11-07 Thread Kalle Valo
Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/net/wireless/ath/wil6210/wmi.c:279: warning: Function parameter or > member 'ptr_' not described in 'wmi_buffer_block' > drivers/net/wireless/ath/wil6210/wmi.c:279: warning: Excess function > parameter 'ptr'

Re: [PATCH 10/41] ath9k: ar9330_1p1_initvals: Remove unused const variable 'ar9331_common_tx_gain_offset1_1'

2020-11-07 Thread Kalle Valo
Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h:1013:18: warning: > ‘ar9331_common_tx_gain_offset1_1’ defined but not used > [-Wunused-const-variable=] > > Cc: QCA ath9k Development > Cc: Kalle Valo > Cc: "David

Re: [PATCH 19/41] ath: regd: Provide description for ath_reg_apply_ir_flags's 'reg' param

2020-11-07 Thread Kalle Valo
Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/net/wireless/ath/regd.c:378: warning: Function parameter or member > 'reg' not described in 'ath_reg_apply_ir_flags' > > Cc: Kalle Valo > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc:

Re: [PATCH] Kbuild: enable -Wfallthrough for clang

2020-11-07 Thread Miguel Ojeda
On Sat, Nov 7, 2020 at 8:08 AM Nick Desaulniers wrote: > > Partial revert of commit e2079e93f562 ("kbuild: Do not enable > -Wimplicit-fallthrough for clang for now") > > This has been fixed up over time thanks to the addition of "fallthrough" > pseudo-keyword in > commit 294f69e662d1

<    1   2   3   4