Re: [PATCH 1/7] net: 8021q: remove unneeded MODULE_VERSION() usage

2020-12-05 Thread Joe Perches
On Fri, 2020-12-04 at 16:09 -0800, Jakub Kicinski wrote: > On Wed, 2 Dec 2020 13:49:53 +0100 Enrico Weigelt, metux IT consult > wrote: > > Remove MODULE_VERSION(), as it isn't needed at all: the only version > > making sense is the kernel version. > > > > Signed-off-by: Enrico Weigelt, metux IT

Re: [PATCH] staging: greybus: audio: Add missing unlock in gbaudio_dapm_free_controls()

2020-12-05 Thread wanghai (M)
在 2020/12/5 2:02, Vaibhav Agarwal 写道: On Fri, Dec 4, 2020 at 2:10 PM Johan Hovold wrote: On Fri, Dec 04, 2020 at 10:13:50AM +0800, Wang Hai wrote: Add the missing unlock before return from function gbaudio_dapm_free_controls() in the error handling case. Fixes: 510e340efe0c ("staging:

[tip:core/mm] BUILD SUCCESS 68061c02bb295da4955f0d309b9459f0a7ba83dd

2020-12-05 Thread kernel test robot
randconfig-a006-20201204 i386 randconfig-a003-20201204 i386 randconfig-a005-20201205 i386 randconfig-a004-20201205 i386 randconfig-a001-20201205 i386 randconfig-a002-20201205 i386 randconfig-a006

Re: [PATCH v3 1/4] irq: export kstat_irqs

2020-12-05 Thread Jarkko Sakkinen
On Fri, Dec 04, 2020 at 06:43:37PM -0700, Jerry Snitselaar wrote: > To try and detect potential interrupt storms that > have been occurring with tpm_tis devices it was suggested > to use kstat_irqs() to get the number of interrupts. > Since tpm_tis can be built as a module it needs kstat_irqs >

[PATCH] staging: greybus: audio: Fix possible leak free widgets in gbaudio_dapm_free_controls

2020-12-05 Thread Wang Hai
In gbaudio_dapm_free_controls(), if one of the widgets is not found, an error will be returned directly, which will cause the rest to be unable to be freed, resulting in leak. This patch fixes the bug. If if one of them is not found, just skip and free the others. Fixes: 510e340efe0c ("staging:

Re: [PATCH v6] checkpatch: add fix for non-standard signature - co-authored-by

2020-12-05 Thread Aditya
On 4/12/20 8:10 pm, Aditya Srivastava wrote: > Currently, checkpatch.pl warns us for BAD_SIGN_OFF on the usage of > non-standard signatures. > > An evaluation on v4.13..v5.8 showed that out of 539 warnings due to > non-standard signatures, 43 are due to the use of 'Co-authored-by' > tag, which

Re: [tip: x86/urgent] x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes

2020-12-05 Thread Borislav Petkov
On Sat, Dec 05, 2020 at 09:12:56AM +0900, Masami Hiramatsu wrote: > This may break tools/objtool build. Please keep "inat.h". How? Please elaborate. Build tests are fine here. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

Re: [PATCH REPOST] pcmcia: Remove NEC VRC4173 CARDU

2020-12-05 Thread Dominik Brodowski
Am Fri, Dec 04, 2020 at 08:20:09PM +0100 schrieb Sebastian Andrzej Siewior: > On 2020-11-19 18:06:24 [+0100], To linux-kernel@vger.kernel.org wrote: > > On 2020-11-13 22:34:08 [+0100], To linux-kernel@vger.kernel.org wrote: > > > This driver is the very definition of bitrotting: > > > - Introduced

Re: [PATCH v3 1/3] x86/uprobes: Fix not using prefixes.nbytes for loop over prefixes.bytes

2020-12-05 Thread Borislav Petkov
On Sat, Dec 05, 2020 at 09:10:32AM +0900, Masami Hiramatsu wrote: > In the future, if x86 ISA is expanded and add a legacy prefix > groups, Very unlikely. > then we have to add new insn_prefix_field data structure, which > size will not depend on NUM_INSN_FIELD_BYTES, but still depend on >

Linux man-pages maintainership adjustments

2020-12-05 Thread Michael Kerrisk (man-pages)
Gidday, Anyone following linux-man@ in the last few months will have noticed that Alejandro (Alex) Colomar has become rather active in the project. Alex has kindly volunteered to take up some of the work of maintaining the project. In practice, that means he will be reviewing and merging some of

Re: [PATCH] pcmcia: db1xxx_ss: remove unneeded semicolon

2020-12-05 Thread Dominik Brodowski
Am Thu, Sep 10, 2020 at 10:05:24PM +0800 schrieb Jason Yan: > Eliminate the following coccicheck warning: > > drivers/pcmcia/db1xxx_ss.c:455:2-3: Unneeded semicolon > > Reported-by: Hulk Robot > Signed-off-by: Jason Yan Applied to pcmcia-next. Thanks, Dominik

Re: KMSAN: uninit-value in dvb_usb_adapter_dvb_init (2)

2020-12-05 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:73d62e81 kmsan: random: prevent boot-time reports in _mix_.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=170babf750 kernel config:

[PATCH] tick/nohz: Make the idle_exittime update correctly

2020-12-05 Thread Yunfeng Ye
The idle_exittime field of tick_sched is used to record the time when the idle state was left. but currently the idle_exittime is updated in the function tick_nohz_restart_sched_tick(), which is not always in idle state when nohz_full is configured. tick_irq_exit tick_nohz_irq_exit

Re: [PATCH 1/2] pcmcia: at91_cf: move definitions locally

2020-12-05 Thread Dominik Brodowski
Am Tue, Nov 24, 2020 at 12:07:30PM +0100 schrieb Alexandre Belloni: > On Wed, 30 Sep 2020 20:48:02 +0200, Alexandre Belloni wrote: > > struct at91_cf_data is only used in the driver since all the platforms moved > > to device tree, move its definition locally. > > I've now applied those patches

Re: [PATCH] drivers/pcmcia: Fix error return code in electra_cf_probe()

2020-12-05 Thread Dominik Brodowski
Am Tue, Nov 24, 2020 at 03:00:40PM +0800 schrieb Wei Li: > When it fails to call of_get_property(), it just jumps to 'fail1', > while the 'status' which will be returned is not updated. > > Fixes: 2b571a066a2f ("pcmcia: CompactFlash driver for PA Semi Electra boards") > Signed-off-by: Wei Li

Re: [PATCH] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-05 Thread Christophe Leroy
Le 05/12/2020 à 09:48, Christoph Hellwig a écrit : On Sat, Dec 05, 2020 at 08:43:06AM +, Christophe Leroy wrote: Since commit c33165253492 ("powerpc: use non-set_fs based maccess routines"), userspace access is not granted anymore when using copy_from_kernel_nofault() However,

Re: linux-next: build warning after merge of the akpm tree

2020-12-05 Thread Stephen Rothwell
Hi Andrew, On Fri, 4 Dec 2020 21:19:23 -0800 Andrew Morton wrote: > > Odd. clang wants that signature, according to > https://clang.llvm.org/docs/SanitizerCoverage.html. But gcc seems to > want a different signature. Beats me - best I can do is to cc various > likely culprits ;) > > Which

Re: recursion handling: Re: [PATCH next v2 3/3] printk: remove logbuf_lock, add syslog_lock

2020-12-05 Thread Sergey Senozhatsky
On (20/12/04 17:10), Petr Mladek wrote: > > One reason is the use of per-cpu variables. Alternative solution would > be to store printk_context into task_struct. We can keep per-CPU, disable preemption and have counters for every context (task, soft/hard irq, NMI). Shouldn't be a problem

Re: [PATCH v2] clk: renesas: r9a06g032: Drop __packed for portability

2020-12-05 Thread Geert Uytterhoeven
Hi Stephen, On Sat, Dec 5, 2020 at 7:24 AM Stephen Boyd wrote: > Quoting Geert Uytterhoeven (2020-11-30 00:57:43) > > The R9A06G032 clock driver uses an array of packed structures to reduce > > kernel size. However, this array contains pointers, which are no longer > > aligned naturally, and

Re: [PATCH] pcmcia: omap: Fix error return code in omap_cf_probe()

2020-12-05 Thread Dominik Brodowski
Am Wed, Nov 25, 2020 at 08:50:57PM +0800 schrieb Wang ShaoBo: > Fix to return proper error code instaed of 0 in omap_cf_probe(), as done > elsewhere in this function. > > Signed-off-by: Wang ShaoBo Applied to pcmcia-next. Thanks, Dominik

[PATCH] phy: mediatek: statify mtk_hdmi_phy_driver

2020-12-05 Thread Vinod Koul
mtk_hdmi_phy_driver is not declared as static, so statify it. drivers/phy/mediatek/phy-mtk-hdmi.c:204:24: warning: symbol 'mtk_hdmi_phy_driver' was not declared. Should it be static? Signed-off-by: Vinod Koul --- drivers/phy/mediatek/phy-mtk-hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] pcmcia: Remove NEC VRC4173 CARDU

2020-12-05 Thread Dominik Brodowski
Am Wed, Sep 16, 2020 at 10:16:29AM +0200 schrieb Sebastian Andrzej Siewior: > This driver is the very definition of bitrotting: > - Introduced in commit > 79a140932c776 ("[PATCH] mips: vR41xx updates") > which is 2.6.11-rc3. > > - Provides ->register_callback which was removed in commit >

mips-linux-ld: decompress.c:(.text.decompress_kernel+0x21c): undefined reference to `__ubsan_handle_out_of_bounds'

2020-12-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b3298500b23f0b53a8d81e0d5ad98a29db71f4f0 commit: 8d58f222e85f01da0c0e1fc1e77986c86de889e2 ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST date: 7 months ago config: mips-randconfig-r033-20201205

[rcu:rcu/next] BUILD SUCCESS 2c05cc5920504514a39df422145c68306f030a60

2020-12-05 Thread kernel test robot
-20201204 i386 randconfig-a002-20201204 i386 randconfig-a006-20201204 i386 randconfig-a003-20201204 i386 randconfig-a005-20201205 i386 randconfig-a004-20201205 i386 randconfig-a001-20201205 i386

Re: [resend/standalone PATCH v4] Add auxiliary bus support

2020-12-05 Thread Greg KH
On Fri, Dec 04, 2020 at 09:10:34AM -0800, Ranjani Sridharan wrote: > On Fri, 2020-12-04 at 13:59 +0100, Greg KH wrote: > > On Fri, Dec 04, 2020 at 02:32:07PM +0200, Leon Romanovsky wrote: > > > On Fri, Dec 04, 2020 at 12:42:46PM +0100, Greg KH wrote: > > > > On Wed, Dec 02, 2020 at 04:54:24PM

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-05 Thread Greg KH
On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > The HID subsystem allows an "HID report field" to have a different > number of "values" and "usages" when it is allocated. When a field > struct is created, the size of the usage array is guaranteed to be at > least as large as the

Re: [PATCH v3] PM: domains: create debugfs nodes when adding power domains

2020-12-05 Thread Greg Kroah-Hartman
On Fri, Dec 04, 2020 at 04:57:16PM -0800, Thierry Strudel wrote: > debugfs nodes were created in genpd_debug_init alled in late_initcall > preventing power domains registered though loadable modules to have > a debugfs entry. > > Create/remove debugfs nodes when the power domain is added/removed

Re: [PATCH v3] bridge: Fix a deadlock when enabling multicast snooping

2020-12-05 Thread Nikolay Aleksandrov
On 05/12/2020 01:56, Joseph Huang wrote: > When enabling multicast snooping, bridge module deadlocks on multicast_lock > if 1) IPv6 is enabled, and 2) there is an existing querier on the same L2 > network. > > The deadlock was caused by the following sequence: While holding the lock, >

Re: [PATCHv2] clocksource: dw_apb_timer_of: add error handling if no clock available

2020-12-05 Thread Daniel Lezcano
On 04/12/2020 23:39, Dinh Nguyen wrote: > > > On 12/4/20 2:00 PM, Daniel Lezcano wrote: >> On 04/12/2020 16:36, Dinh Nguyen wrote: >>> commit ("b0fc70ce1f02 arm64: berlin: Select DW_APB_TIMER_OF") added the >>> support for the dw_apb_timer into the arm64 defconfig. However, for some >>>

Re: [PATCH] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-05 Thread Christoph Hellwig
On Sat, Dec 05, 2020 at 08:43:06AM +, Christophe Leroy wrote: > Since commit c33165253492 ("powerpc: use non-set_fs based maccess > routines"), userspace access is not granted anymore when using > copy_from_kernel_nofault() > > However, kthread_probe_data() uses copy_from_kernel_nofault() >

[PATCH] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-05 Thread Christophe Leroy
Since commit c33165253492 ("powerpc: use non-set_fs based maccess routines"), userspace access is not granted anymore when using copy_from_kernel_nofault() However, kthread_probe_data() uses copy_from_kernel_nofault() to check validity of pointers. When the pointer is NULL, it points to

Re: [PATCH 03/22] keembay-ipc: Add Keem Bay IPC module

2020-12-05 Thread Greg KH
On Fri, Dec 04, 2020 at 07:35:17PM -0800, mark gross wrote: > On Wed, Dec 02, 2020 at 08:01:18PM +0100, Greg KH wrote: > > On Wed, Dec 02, 2020 at 09:42:00AM -0800, mark gross wrote: > > > On Wed, Dec 02, 2020 at 07:16:20AM +0100, Greg KH wrote: > > > > On Tue, Dec 01, 2020 at 02:34:52PM -0800,

[PATCH] iommu: Up front sanity check in the arm_lpae_map

2020-12-05 Thread Keqian Zhu
... then we have more chance to detect wrong code logic. Signed-off-by: Keqian Zhu --- drivers/iommu/io-pgtable-arm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iommu/io-pgtable-arm.c b/drivers/iommu/io-pgtable-arm.c index a7a9bc08dcd1..8ade72adab31

Re: [PATCH v3 3/6] mm: support THP migration to device private memory

2020-12-05 Thread Roger Pau Monné
On Wed, Dec 02, 2020 at 11:08:54AM +0100, Christoph Hellwig wrote: > On Fri, Nov 20, 2020 at 04:01:33PM -0400, Jason Gunthorpe wrote: > > On Wed, Nov 11, 2020 at 03:38:42PM -0800, Ralph Campbell wrote: > > > > > MEMORY_DEVICE_GENERIC: > > > Struct pages are created in dev_dax_probe() and

Re: [PATCH 0/2] phy: rockchip: set otapdlysec for in dts

2020-12-05 Thread Vinod Koul
On 02-12-20, 16:25, Chris Ruehl wrote: > This patchset add support to set output-tapdelay-selec via dt property Applied, thanks -- ~Vinod

[rcu:dev.2020.12.03a] BUILD SUCCESS 8c884f433ec3fb5b009bd14be9cd2a16e960cd40

2020-12-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.12.03a branch HEAD: 8c884f433ec3fb5b009bd14be9cd2a16e960cd40 squash! percpu_ref: Add kmem_cache_last_alloc() argument for stack trace elapsed time: 721m configs tested: 132 configs skipped: 3 The

Re: [PATCH v9 0/3] Use the generic PHY framework for Ingenic USB PHY.

2020-12-05 Thread Vinod Koul
On 16-11-20, 22:19, 周琰杰 (Zhou Yanjie) wrote: > v3->v4: > Only add new generic-PHY driver, without removing the old one. Because the > jz4740-musb driver is not ready to use the generic PHY framework. When the > jz4740-musb driver is modified to use the generic PHY framework, the old > jz4770-phy

Re: [PATCH v2] dt-bindings: phy: Convert Broadcom SATA PHY to YAML

2020-12-05 Thread Vinod Koul
On 04-12-20, 11:35, Florian Fainelli wrote: > Update the Broadcom SATA PHY Device Tree binding to a YAML format. > Applied, thanks -- ~Vinod

Re: [PATCH v3 9/9] drm/dp: Revert "drm/dp: Introduce EDID-based quirks"

2020-12-05 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Lyude-Paul/drm-i915-Add-support-for-Intel-s-eDP-backlight-controls/20201205-063902 base: git://anongit.freedesktop.org/drm-intel for-linux-next

Re: [PATCH v2] phy: rockchip: set pulldown for strobe line in dts

2020-12-05 Thread Vinod Koul
On 29-11-20, 13:44, Chris Ruehl wrote: > This patchset add support to set the strobe line pulldown via dt property Applied, thanks -- ~Vinod

RE: [PATCH] ufshcd: fix Wsometimes-uninitialized warning

2020-12-05 Thread Avri Altman
> > > From: Arnd Bergmann > > clang complains about a possible code path in which a variable is > used without an initialization: > > drivers/scsi/ufs/ufshcd.c:7690:3: error: variable 'sdp' is used uninitialized > whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] >

RE: [PATCH] ufshcd: fix Wsometimes-uninitialized warning

2020-12-05 Thread Avri Altman
> > > From: Arnd Bergmann > > clang complains about a possible code path in which a variable is > used without an initialization: > > drivers/scsi/ufs/ufshcd.c:7690:3: error: variable 'sdp' is used uninitialized > whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] >

RE: [PATCH v4 0/8] Refine error history and introduce event_notify vop

2020-12-05 Thread Avri Altman
> > Hi Stanley, > Will you split this series to 3 separate series: > Phy initialization cleanup, Error history, and event notification? > As those 3 aren't really connected? > > Please maintain Can's reviewed-by tag for the error history patches, > And add mine for the phy initialization, so

Re: [PATCH 1/2] dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings

2020-12-05 Thread Vinod Koul
On 23-11-20, 15:51, Neil Armstrong wrote: > The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI > panels, this adds the bindings. > > This Analog D-PHY works with a separate Digital MIPI D-PHY. Pls cc Rob on dt binding patches (hint get_maintainer.pl would tell you do so)

RE: [PATCH v4 0/8] Refine error history and introduce event_notify vop

2020-12-05 Thread Avri Altman
Hi Stanley, Will you split this series to 3 separate series: Phy initialization cleanup, Error history, and event notification? As those 3 aren't really connected? Please maintain Can's reviewed-by tag for the error history patches, And add mine for the phy initialization, so Martin can pick

Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-05 Thread Enrico Weigelt, metux IT consult
On 04.12.20 04:35, Jason Wang wrote: >> --- a/drivers/gpio/Kconfig >> +++ b/drivers/gpio/Kconfig >> @@ -1615,6 +1615,15 @@ config GPIO_MOCKUP >>     tools/testing/selftests/gpio/gpio-mockup.sh. Reference the >> usage in >>     it. >>   +config GPIO_VIRTIO >> +    tristate "VirtIO GPIO

Re: [PATCH 2/8] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-12-05 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of December 3, 2020 3:09 pm: > On Tue, Dec 1, 2020 at 6:50 PM Nicholas Piggin wrote: >> >> Excerpts from Andy Lutomirski's message of November 29, 2020 3:55 am: >> > On Sat, Nov 28, 2020 at 8:02 AM Nicholas Piggin wrote: >> >> >> >> And get rid of the

<    1   2   3   4   5