Re: [PATCH] csky: Fix a typo in Kconfig

2021-01-05 Thread Randy Dunlap
Hi, There's a lot more to do here. Please see below. On 1/5/21 5:41 AM, Masanari Iida wrote: > This patch fixes a spelling typo in Kconfig. > > Signed-off-by: Masanari Iida > --- > arch/csky/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/csky/Kconfig b/a

Re: linux-next: Tree for Jan 5 (objtool: 3 warnings)

2021-01-05 Thread Randy Dunlap
xc7: call to sev_es_wr_ghcb_msr() leaves .noinstr.text section vmlinux.o: warning: objtool: lock_is_held_type()+0xb: call to lockdep_enabled() leaves .noinstr.text section Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap config-r7037.gz Description: application/gzip

Re: linux-next: Tree for Jan 5 (drivers/usb/cdns3/cdnsp-pci.o)

2021-01-05 Thread Randy Dunlap
ction `cdnsp_pci_probe': cdnsp-pci.c:(.text+0x34c): undefined reference to `cdns_init' Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap config-r7037.gz Description: application/gzip

Re: [PATCH] docs: octeontx2: tune rst markup

2021-01-05 Thread Randy Dunlap
Hi Lukas, On 1/5/21 1:35 AM, Lukas Bulwahn wrote: > Commit 80b9414832a1 ("docs: octeontx2: Add Documentation for NPA health > reporters") added new documentation with improper formatting for rst, and > caused a few new warnings for make htmldocs in octeontx2.rst:169--202. > > Tune markup and form

Re: [PATCH] drm/agpsupport: Fix warning in functions documentation

2021-01-05 Thread Randy Dunlap
s(+), 52 deletions(-) > LGTM. Thanks. Reviewed-by: Randy Dunlap -- ~Randy

Re: [PATCH] net-next: docs: Fix typos in snmp_counter.rst

2021-01-05 Thread Randy Dunlap
On 1/5/21 6:40 AM, Masanari Iida wrote: > This patch fixes some spelling typos in snmp_counter.rst > > Signed-off-by: Masanari Iida > --- > Documentation/networking/snmp_counter.rst | 28 +++ > 1 file changed, 14 insertions(+), 14 deletions(-) > Revi

Re: [PATCH] drivers: net: wireless: realtek: Fix the word association defautly de-faulty

2021-01-05 Thread Randy Dunlap
On 1/5/21 2:17 AM, Bhaskar Chowdhury wrote: > s/defautly/de-faulty/p > > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c

Re: mmotm 2021-01-04-16-56 uploaded (drivers/power/supply/max8997_charger.c)

2021-01-04 Thread Randy Dunlap
obe': max8997_charger.c:(.text+0x962): undefined reference to `extcon_get_edev_by_phandle' ld: max8997_charger.c:(.text+0xab0): undefined reference to `devm_extcon_register_notifier_all' CONFIG_EXTCON=m CONFIG_CHARGER_MAX8997=y Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap config-r7006.gz Description: application/gzip

[PATCH v3] arch/arc: add copy_user_page() to to fix build error on ARC

2021-01-04 Thread Randy Dunlap
y_to_user_page'? [-Werror=implicit-function-declaration] Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-...@lists.infradead.org Cc: Dan Williams #Acked-by: Vineet Gupta # v1 Cc: Andrew Morton Cc: Matthew Wilcox Cc: Jan Kara Cc: linux-fsde...

Re: [PATCH v2] fs/dax: include to fix build error on ARC

2021-01-04 Thread Randy Dunlap
On 1/4/21 12:13 PM, Dan Williams wrote: > On Thu, Dec 31, 2020 at 8:29 PM Randy Dunlap wrote: >> >> fs/dax.c uses copy_user_page() but ARC does not provide that interface, >> resulting in a build error. >> >> Provide copy_user_page() in (beside copy_page()) a

Re: [PATCH] x86/compat: Pull huge_encode_dev() outside of UACCESS

2021-01-04 Thread Randy Dunlap
g: >>> >>> arch/x86/kernel/sys_ia32.o: warning: objtool: cp_stat64()+0xd8: call to >>> new_encode_dev() with UACCESS enabled >>> >>> Reported-by: Randy Dunlap >>> Signed-off-by: Peter Zijlstra (Intel) >> >> Acked-by: Josh Poimboe

Re: [PATCH] x86/compat: Pull huge_encode_dev() outside of UACCESS

2021-01-04 Thread Randy Dunlap
Date: Mon, 4 Jan 2021 13:28:25 +0100 > > Fixes the following warning: > > arch/x86/kernel/sys_ia32.o: warning: objtool: cp_stat64()+0xd8: call to > new_encode_dev() with UACCESS enabled > > Reported-by: Randy Dunlap > Signed-off-by: Peter Zijlstra (Intel) Acked-by: Ra

Re: [PATCH -mm] mm: readahead: apply a default readahead size

2021-01-03 Thread Randy Dunlap
On 1/3/21 1:40 PM, Toralf Förster wrote: > On 12/30/20 10:05 AM, Toralf Förster wrote: >> On 12/29/20 11:55 PM, Randy Dunlap wrote: >>>> No, this is wrong.  'size' in this case is the size of the read. >>>> And it's zero.  Is this fixed by comm

[PATCH] fs: block_dev.c: use consistent function doc. notation

2021-01-02 Thread Randy Dunlap
Use only one hyphen in kernel-doc notation between the function name and its short description. The is the documented kerenl-doc format. It also fixes the html presentation to be consistent with other functions. Signed-off-by: Randy Dunlap Cc: Jens Axboe Cc: linux-bl...@vger.kernel.org --- fs

Re: Generate the config file for kernel compilation non-interactively in script.

2021-01-01 Thread Randy Dunlap
Hi, On 1/1/21 1:55 AM, Hongyi Zhao wrote: > On Fri, Jan 1, 2021 at 2:32 PM Randy Dunlap wrote: >> >> On 12/31/20 8:51 PM, Hongyi Zhao wrote: >>> Hi, >>> >>> I want to build the realtime Linux for ROS 2 according to the >>> guidelines here: >

Re: Generate the config file for kernel compilation non-interactively in script.

2020-12-31 Thread Randy Dunlap
On 12/31/20 8:51 PM, Hongyi Zhao wrote: > Hi, > > I want to build the realtime Linux for ROS 2 according to the > guidelines here: > . > > For this purpose, I must enable the rt_preempt relative options in th

[PATCH v2] fs/dax: include to fix build error on ARC

2020-12-31 Thread Randy Dunlap
aration of function 'copy_user_page'; did you mean 'copy_to_user_page'? [-Werror=implicit-function-declaration] Fixes: cccbce671582 ("filesystem-dax: convert to dax_direct_access()") Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: li

[PATCH RESEND] ia64: remove duplicate entries in generic_defconfig

2020-12-31 Thread Randy Dunlap
value as in the removed lines. Fixes: c331649e6371 ("ia64: Use libata instead of the legacy ide driver in defconfigs") Reported-by: Geert Uytterhoeven Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: Christoph Hellwig Cc: Tony Luck Cc: linux-i...@vger.kernel.org Reviewed-by: C

[PATCH v2] Documentation/admin-guide: kernel-parameters: hyphenate comma-separated

2020-12-31 Thread Randy Dunlap
Hyphenate "comma separated" when it is used as a compound adjective. hyphenated. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- v2: rebase & resend Documentation/admin-guide/kernel-parameters.txt | 12 ++-- 1 file changed, 6 in

Re: mmotm 2020-12-31-11-52 uploaded (mm/cma.c)

2020-12-31 Thread Randy Dunlap
On 12/31/20 11:53 AM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2020-12-31-11-52 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of m

Re: [PATCH] io_uring: style: redundant NULL check.

2020-12-29 Thread Randy Dunlap
On 12/29/20 10:22 PM, YANG LI wrote: > If the pointer in kfree is empty, the function does nothing, > so remove the redundant NULL check. > > Signed-off-by: YANG LI > Reported-by: Abaci > --- Looks like you should do something with these 2 comments: /* it's reportedly faster than deleg

Re: [PATCH -mm] mm: readahead: apply a default readahead size

2020-12-29 Thread Randy Dunlap
On 12/29/20 2:23 PM, Matthew Wilcox wrote: > On Tue, Dec 29, 2020 at 01:26:34PM -0800, Randy Dunlap wrote: >> UBSAN reports an invalid shift size: >> >> mr-fox kernel: UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13 >> mr-fox kernel: shift exponent 64 is too

[PATCH -mm] mm: readahead: apply a default readahead size

2020-12-29 Thread Randy Dunlap
n for size == 0, and if 0, default it to 32 (pages). Reported-by: Toralf Förster Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: Jens Axboe Cc: Matthew Wilcox Cc: linux...@kvack.org --- mm/readahead.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) --- linux-5.10.1.orig/mm/r

Re: UBSAN: shift-out-of-bounds in choke_change

2020-12-29 Thread Randy Dunlap
Hi bot, On 12/29/20 10:58 AM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:71c5f031 Merge tag 'docs-5.11-2' of git://git.lwn.net/linux > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1510369350 > kernel config: ht

Re: [RFC PATCH 2/2] mm: readahead: handle LARGE input to get_init_ra_size()

2020-12-29 Thread Randy Dunlap
On 12/29/20 10:11 AM, Randy Dunlap wrote: > On 12/29/20 10:01 AM, Toralf Förster wrote: >> On 12/23/20 2:50 AM, Randy Dunlap wrote: >>>> What motivates this change?  Is there any reason to think this can >>>> happen? >>> Spotted in the wild: >>

Re: [RFC PATCH 2/2] mm: readahead: handle LARGE input to get_init_ra_size()

2020-12-29 Thread Randy Dunlap
On 12/29/20 10:01 AM, Toralf Förster wrote: > On 12/23/20 2:50 AM, Randy Dunlap wrote: >>> What motivates this change?  Is there any reason to think this can >>> happen? >> Spotted in the wild: > I run 2 hardened Gentoo systems, a server and a desktop. > > I p

[PATCH] usb: usbip: vhci_hcd: protect shift size

2020-12-28 Thread Randy Dunlap
Fix shift out-of-bounds in vhci_hcd.c: UBSAN: shift-out-of-bounds in ../drivers/usb/usbip/vhci_hcd.c:399:41 shift exponent 768 is too large for 32-bit type 'int' Fixes: 03cd00d538a6 ("usbip: vhci-hcd: Set the vhci structure up to work") Signed-off-by: Randy Dunlap

[PATCH] hwmon: fix sbtsi_temp Documenation kernel-doc warning

2020-12-28 Thread Randy Dunlap
Fix Documentation/hwmon/ kernel-doc warning in 5.11-rc1: lnx-511-rc1/Documentation/hwmon/sbtsi_temp.rst:4: WARNING: Title underline too short. Kernel driver sbtsi_temp == Fixes: 6ec3fcf556fe ("hwmon: (sbtsi) Add documentation") Signed-off-by: Randy Dunlap Cc:

[PATCH] fs: block_dev.c: fix kernel-doc warnings from struct block_device changes

2020-12-28 Thread Randy Dunlap
xes: 4e7b5671c6a8 ("block: remove i_bdev") Fixes: 37c3fc9abb25 ("block: simplify the block device claiming interface") Signed-off-by: Randy Dunlap Cc: Jens Axboe Cc: Christoph Hellwig Cc: linux-fsde...@vger.kernel.org Cc: Alexander Viro --- fs/block_dev.c |2 +- 1 file cha

[PATCH] wireless/cfg80211: fix multiple kernel-doc build warnings

2020-12-28 Thread Randy Dunlap
Fix 19 warnings like this: ../include/net/cfg80211.h:1759: warning: Cannot understand * @struct cfg80211_sar_chan_ranges - sar frequency ranges Fixes: 6bdb68cef7bf ("nl80211: add common API to configure SAR power limitations") Signed-off-by: Randy Dunlap Cc: Johannes Berg Cc: l

[RFC PATCH] Documentation: doc-guide: fixes to sphinx.rst

2020-12-28 Thread Randy Dunlap
n't find any amdfonts. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 32 +-- 1 file changed, 16 insertions(+), 16 deletions(-) --- lnx-511-rc1.orig/Docum

[PATCH v2 2/8] Documentation: HID: amd-sfh-hid editing & corrections

2020-12-28 Thread Randy Dunlap
Do basic editing & correction to amd-sfh-hid.rst: - fix punctuation - use HID instead of hid consistently - fix grammar, verb tense - fix Block Diagram heading Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Jonathan Cameron Cc: Srinivas Pandruvada Cc: linux-in...@vger.kernel.org Cc: l

[PATCH v2 1/8] Documentation: HID: hid-alps editing & corrections

2020-12-28 Thread Randy Dunlap
Do basic editing & correction to hid-alps.rst: - fix grammar - fix punctuation spacing Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Cc: Jonathan Corbet Cc: Jonathan Cameron Cc: linux-...@vger.kernel.org --- v2: rebase &

[PATCH v2 3/8] Documentation: HID: hiddev editing & corrections

2020-12-28 Thread Randy Dunlap
Do basic editing & correction to hiddev.rst: - use HID instead of hid consistently - add hyphenation of multi-word adjectives - drop a duplicate word - unhyphenate "a priori" Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.or

[PATCH v2 0/8] Documentation: HID: edit/correct all files

2020-12-28 Thread Randy Dunlap
Make editing corrections to all files in Documentation/hid/. Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Cc: Jonathan Cameron Cc: Srinivas Pandruvada Cc: linux-...@vger.kernel.org Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org [PATCH v2 1/8] Documentation: HID:

[PATCH v2 4/8] Documentation: HID: intel-ish-hid editing & corrections

2020-12-28 Thread Randy Dunlap
- change space indentation to tab - use HID instead of hid consistently - use a list so that some line items do not run together - use "a UUID" instead of "an UUID" Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Jonathan Cameron Cc: Srinivas Pandruvada Cc: lin

[PATCH v2 5/8] Documentation: HID: hidraw editing & corrections

2020-12-28 Thread Randy Dunlap
Do basic editing & correction to hidraw.rst: - use "hidraw" consistently except at the beginning of a sentence - add archive.org URL for signal11.us since the latter seems to be MIA - use a list for 2 URLs so that they don't run together Signed-off-by: Randy Dunlap

[PATCH v2 6/8] Documentation: HID: hid-sensor editing & corrections

2020-12-28 Thread Randy Dunlap
Do basic editing & correction to hid-sensor.rst: - use HID consistently instead of hid - drop a duplicate word - change article adjective an -> a - fix grammar & punctuation - spell out RW -> read-write - hyphenate multi-word adjectives Signed-off-by: Randy Dunlap Cc: Jiri Kosina

[PATCH v2 7/8] Documentation: HID: hid-transport editing & corrections

2020-12-28 Thread Randy Dunlap
Do basic editing & correction to hid-transport.rst: - s/responsible of/responsible for/ - fix grammar & punctuation Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Cc: David Herrmann Cc: Jonathan Corbet Cc: linux-...@vger.kerne

[PATCH v2 8/8] Documentation: HID: uhid editing & corrections

2020-12-28 Thread Randy Dunlap
Do basic editing & correction to hid-alps.rst: - correct a file name (.txt -> .rst) - use less hyphenation when not needed - fix grammar & punctuation - fix article adjectives - fix typos/spellos - use HID instead of hid consistently Signed-off-by: Randy Dunlap Cc: Jiri Kosina C

[PATCH -mmotm] lib/zlib: dfltcc: remove dfltcc_syms.o from Makefile

2020-12-27 Thread Randy Dunlap
Oops, missed removing this deleted file from the Makefile. make[3]: *** No rule to make target 'lib/zlib_dfltcc/dfltcc_syms.o', needed by 'lib/zlib_dfltcc/built-in.a'. Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Zaslonko Mikhail Cc: Andrew Morton Cc

[PATCH v2] local64.h: make mandatory

2020-12-26 Thread Randy Dunlap
even rename to and change all #includes to use instead. Signed-off-by: Randy Dunlap Suggested-by: Christoph Hellwig Cc: Jens Axboe Cc: linux-bl...@vger.kernel.org Cc: Ley Foon Tan Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org Cc: Peter Zijlstra Cc: Masahiro Yamada

Re: linux-next: Tree for Dec 23 (ia64: mmzone & sparsemem)

2020-12-26 Thread Randy Dunlap
model.h:7, from ../include/linux/device.h:16, from ../include/linux/async.h:14, from ../kernel/async.c:47: ../include/linux/mmzone.h:1156:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE 1156 | #error Allocator MAX_ORDER exceeds SECTION_SIZE -- ~Randy Reported-by: Randy Dunlap

[PATCH] Documentation: admin: early_param()s are also listed in kernel-parameters

2020-12-26 Thread Randy Dunlap
Add info that "early_param()" kernel boot parameters are also listed in kernel-parameters.txt. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- Documentation/admin-guide/kernel-parameters.rst |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH -next] regulator: qcom-rpmh: fix build after QCOM_COMMAND_DB is tristate

2020-12-25 Thread Randy Dunlap
;soc: qcom: cmd-db: allow loading as a module") Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Lina Iyer Cc: Liam Girdwood Cc: Mark Brown --- drivers/regulator/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux-next-20201223.orig/drivers/regulator/Kconfig +++

Re: [PATCH 2/2] drivers/gpu/drm/ast: Fix infinite loop if read fails

2020-12-25 Thread Randy Dunlap
On 12/25/20 12:13 AM, Defang Bo wrote: > [Why] Similar to commit <298360af3> ast_init_dram_reg() configures a window > in order to access BMC memory. > A BMC register can be configured to disallow this, and if so, causes > an infinite loop in the ast driver which renders the system unusable. > [Ho

[PATCH -net] net: sched: prevent invalid Scell_log shift count

2020-12-24 Thread Randy Dunlap
27; Fixes: 8afa10cbe281 ("net_sched: red: Avoid illegal values") Signed-off-by: Randy Dunlap Reported-by: syzbot+97c5bd9cc81eca63d...@syzkaller.appspotmail.com Cc: Nogah Frankel Cc: Jamal Hadi Salim Cc: Cong Wang Cc: Jiri Pirko Cc: net...@vger.kernel.org Cc: "David S. Miller" Cc

Re: [RFC V2 37/37] Add documentation for dmemfs

2020-12-24 Thread Randy Dunlap
Hi, On 12/7/20 3:31 AM, yulei.ker...@gmail.com wrote: > From: Yulei Zhang > > Introduce dmemfs.rst to document the basic usage of dmemfs. > > Signed-off-by: Yulei Zhang > --- > Documentation/filesystems/dmemfs.rst | 58 > > Documentation/filesystems/index

[PATCH] fs: delete repeated words in comments

2020-12-23 Thread Randy Dunlap
Delete duplicate words in fs/*.c. The doubled words that are being dropped are: that, be, the, in, and, for Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: Alexander Viro Cc: linux-fsde...@vger.kernel.org --- fs/block_dev.c |2 +- fs/dcache.c|4 ++-- fs/direct-io.c |4

Re: mmotm 2020-12-23-16-15 uploaded (mm/vmstat.c)

2020-12-23 Thread Randy Dunlap
On 12/23/20 4:16 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2020-12-23-16-15 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my

Re: [PATCH V3 08/10] x86/pks: Add PKS kernel API

2020-12-23 Thread Randy Dunlap
On 11/6/20 3:29 PM, ira.we...@intel.com wrote: > From: Fenghua Yu > > PKS allows kernel users to define domains of page mappings which have > additional protections beyond the paging protections. > > Add an API to allocate, use, and free a protection key which identifies > such a domain. Export

Re: update.c:undefined reference to `irq_work_queue'

2020-12-23 Thread Randy Dunlap
, and allows WorksForMe. Thanks. Acked-by: Randy Dunlap # build-tested

Re: [PATCH v3 21/21] x86/fpu/xstate: Introduce boot-parameters to control some state component support

2020-12-23 Thread Randy Dunlap
On 12/23/20 7:57 AM, Chang S. Bae wrote: > diff --git a/Documentation/admin-guide/kernel-parameters.txt > b/Documentation/admin-guide/kernel-parameters.txt > index 44fde25bb221..a67ae04d43c5 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-par

Re: [PATCH] kdev_t: Always inline major/minor helper functions

2020-12-23 Thread Randy Dunlap
On 12/23/20 7:30 AM, Josh Poimboeuf wrote: > Silly GCC doesn't always inline these trivial functions. > > Fixes the following warning: > > arch/x86/kernel/sys_ia32.o: warning: objtool: cp_stat64()+0xd8: call to > new_encode_dev() with UACCESS enabled > > Report

Re: [PATCH] mm/uaccess: Use 'unsigned long' to placate UBSAN warnings, again

2020-12-22 Thread Randy Dunlap
gt; 29da93fea3ea ("mm/uaccess: Use 'unsigned long' to placate UBSAN warnings on > older GCC versions") > > Reported-by: Randy Dunlap > Signed-off-by: Josh Poimboeuf All good. Thanks. Acked-by: Randy Dunlap # build-tested > --- > lib/iov_iter.c | 3 ++-

Re: linux-next: Tree for Dec 21 (objtool warning)

2020-12-22 Thread Randy Dunlap
On 12/22/20 9:09 PM, Josh Poimboeuf wrote: > On Mon, Dec 21, 2020 at 08:03:17AM -0800, Randy Dunlap wrote: >> On 12/20/20 7:18 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> News: there will be no linux-next releases between Dec 24 and Jan >>> 3 i

Re: [RFC PATCH 2/2] mm: readahead: handle LARGE input to get_init_ra_size()

2020-12-22 Thread Randy Dunlap
On 12/22/20 5:35 PM, Andrew Morton wrote: > On Sun, 20 Dec 2020 13:10:51 -0800 Randy Dunlap wrote: > >> Add a test to detect if the input ra request size has its high order >> bit set (is negative when tested as a signed long). This would be a >> really Huge readahead.

Re: [PATCH v2] Documentation: process: Correct numbering

2020-12-22 Thread Randy Dunlap
On 12/22/20 9:11 AM, Lukas Bulwahn wrote: > On Tue, Dec 22, 2020 at 5:36 PM Randy Dunlap wrote: >> >> On 12/22/20 8:23 AM, Lukas Bulwahn wrote: >>> On Mon, Dec 21, 2020 at 5:52 PM Jonathan Corbet wrote: >>>> >>>> On Tue, 15 Dec 2020 20:42:36 +000

Re: [PATCH v2 01/16] rpmsg: introduce RPMsg control driver for channel creation

2020-12-22 Thread Randy Dunlap
On 12/22/20 2:57 AM, Arnaud Pouliquen wrote: > diff --git a/drivers/rpmsg/Kconfig b/drivers/rpmsg/Kconfig > index 0b4407abdf13..c9e602016c3b 100644 > --- a/drivers/rpmsg/Kconfig > +++ b/drivers/rpmsg/Kconfig > @@ -23,6 +23,14 @@ config RPMSG_NS > channel that probes the associated RPMsg dev

Re: [PATCH v2] Documentation: process: Correct numbering

2020-12-22 Thread Randy Dunlap
On 12/22/20 8:23 AM, Lukas Bulwahn wrote: > On Mon, Dec 21, 2020 at 5:52 PM Jonathan Corbet wrote: >> >> On Tue, 15 Dec 2020 20:42:36 + >> Milan Lakhani wrote: >> >>> Renumber the steps in submit-checklist.rst as some numbers were skipped. >>> >>> Fixes: 72deb455b5ec ("block: remove CONFIG_LB

Re: BUG: unable to handle kernel paging request in squashfs_decompress

2020-12-21 Thread Randy Dunlap
[adding squashfs...] On 12/16/20 2:22 AM, Palash Oswal wrote: > Syzkaller hit 'BUG: unable to handle kernel paging request in > squashfs_decompress' bug. > > Head Commit : 841fca5a32cc tag: v5.10.1 > git tree : stable > > kernel config : Attached config.txt > > console output : > BUG: unable t

[PATCH] SUNRPC: xprt: prevent shift-out-of-bounds

2020-12-21 Thread Randy Dunlap
8f74809417fa Signed-off-by: Randy Dunlap Reported-by: syzbot+ba2e91df8f7480941...@syzkaller.appspotmail.com Cc: "J. Bruce Fields" Cc: Chuck Lever Cc: linux-...@vger.kernel.org Cc: Trond Myklebust Cc: Anna Schumaker --- a shortcut if desired: (also dr

Re: linux-next: Tree for Dec 21 (objtool warning)

2020-12-21 Thread Randy Dunlap
> Changes since 20201218: > on x86_64: arch/x86/kernel/sys_ia32.o: warning: objtool: cp_stat64()+0xd8: call to new_encode_dev() with UACCESS enabled gcc 7.5.0 randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap config-r6878.xz Description: application/xz

[PATCH v2] kernel: locking: delete repeated words in comments

2020-12-20 Thread Randy Dunlap
Drop repeated words in kernel/locking/. {it, no, the} Signed-off-by: Randy Dunlap Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Will Deacon --- v2: rebase, resend kernel/locking/rtmutex.c |4 ++-- kernel/locking/rwsem.c |2 +- kernel/locking/semaphore.c |2 +- 3 files changed, 4

[PATCH v2] kernel: sched: delete repeated words in comments

2020-12-20 Thread Randy Dunlap
Drop repeated words in kernel/sched/. {in, not} Signed-off-by: Randy Dunlap Cc: Mathieu Desnoyers Cc: "Paul E. McKenney" Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Juri Lelli Cc: Vincent Guittot --- v2: rebase, resend kernel/sched/fair.c |2 +- kernel/sched/membarrie

[PATCH v2] kernel: events: delete repeated words in comments

2020-12-20 Thread Randy Dunlap
Drop repeated words in kernel/events/. {if, the, that, with, time} Signed-off-by: Randy Dunlap Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- v2: rebase, resend kernel/events/core.c|8 kernel/events/uprobes.c |2 +- 2 files changed, 5 insertions

[PATCH] mm: zswap: clean up confusing comment

2020-12-20 Thread Randy Dunlap
Correct wording and change one duplicated word (it) to "it is". Fixes: 0ab0abcf5115 ("mm/zswap: refactor the get/put routines") Signed-off-by: Randy Dunlap Cc: Weijie Yang Cc: Seth Jennings Cc: Seth Jennings Cc: Andrew Morton Cc: Dan Streetman Cc: Vitaly Wool Cc: linux.

[PATCH] lib/linear_ranges: fix repeated words & one typo

2020-12-20 Thread Randy Dunlap
Change "which which" to "for which" in 3 places. Change "ranges" to possessive "range's" in 1 place. Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: Mark Brown Cc: Matti Vaittinen --- lib/linear_ranges.c |8 1 file changed, 4

[PATCH v2] security: apparmor: delete repeated words in comments

2020-12-20 Thread Randy Dunlap
Drop repeated words in comments. {a, then, to} Signed-off-by: Randy Dunlap Cc: John Johansen Cc: appar...@lists.ubuntu.com Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-mod...@vger.kernel.org Reviewed-By: Seth Arnold --- v2: rebase security/apparmor/include/file

[PATCH v2] security: ima: delete a repeated word in comments

2020-12-20 Thread Randy Dunlap
Drop a repeated word in comments. {the} Signed-off-by: Randy Dunlap Cc: Mimi Zohar Cc: Dmitry Kasatkin Cc: linux-integr...@vger.kernel.org Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-mod...@vger.kernel.org --- v2: rebase security/integrity/ima/ima_policy.c |2

Re: [RFC PATCH 1/2] log2: handle LARGE input to __roundup_pow_of_two()

2020-12-20 Thread Randy Dunlap
On 12/20/20 1:23 PM, Matthew Wilcox wrote: > On Sun, Dec 20, 2020 at 01:10:37PM -0800, Randy Dunlap wrote: >> UBSAN detected a 64-bit shift in log2.h:__roundup_pow_of_two(): >> UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13 >> shift exponent 64 is too large

[RFC PATCH 1/2] log2: handle LARGE input to __roundup_pow_of_two()

2020-12-20 Thread Randy Dunlap
en the MSbit is 32 or 64, we cannot roundup to the next power of 2, so just return n (the input value), which is >= 0x8000... and probably not a power of 2 (unless it is exactly 0x8000...). Signed-off-by: Randy Dunlap Cc: Jens Axboe Cc: Andrew Morton Cc: Toralf Förster Cc: li

[RFC PATCH 2/2] mm: readahead: handle LARGE input to get_init_ra_size()

2020-12-20 Thread Randy Dunlap
adjust the size value so that it is not so Huge (although this may not be needed). Also correct a comment: the return value is not squared for small size. Signed-off-by: Randy Dunlap Cc: Jens Axboe Cc: Andrew Morton Cc: Toralf Förster Cc: linux...@kvack.org --- Notes: - Look for "WA

Re: 5.10.1: UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:1

2020-12-19 Thread Randy Dunlap
On 12/18/20 2:20 AM, Toralf Förster wrote: > On 12/18/20 7:54 AM, Randy Dunlap wrote: >> Hi, >> >> [adding linux-mm] >> >> On 12/16/20 1:54 AM, Toralf Förster wrote: >>> Hi, >>> >>> I got this recently at this hardened Gentoo Linux server

[PATCH v2] kconfig: config script: add a little user help

2020-12-19 Thread Randy Dunlap
Give the user a clue about the problem along with the 35 lines of usage/help text. Signed-off-by: Randy Dunlap Cc: Andi Kleen Cc: Masahiro Yamada Cc: linux-kbu...@vger.kernel.org --- v2: spell out "command" & send to STDERR; (Yamada-san) scripts/config |1 + 1 file change

[PATCH] kconfig: config script: add a little user help

2020-12-18 Thread Randy Dunlap
Give the user a clue about the problem along with the 35 lines of usage/help text. Signed-off-by: Randy Dunlap Cc: Andi Kleen Cc: Masahiro Yamada Cc: linux-kbu...@vger.kernel.org --- scripts/config |1 + 1 file changed, 1 insertion(+) --- linux-next-20201218.orig/scripts/config +++ linux

[PATCH] zlib: move EXPORT_SYMBOL() and MODULE_LICENSE() out of dfltcc_syms.c

2020-12-18 Thread Randy Dunlap
ORT_SYMBOL() immediately after the function that it applies to, so move all EXPORT_SYMBOL()s to their respective function locations and drop the dfltcc_syms.c file. Also move MODULE_LICENSE() from the deleted file to dfltcc.c. Fixes: 11fb479ff5d9 ("zlib: export S390 symbols for zlib modules")

Re: [PATCH 01/22] Add Vision Processing Unit (VPU) documentation.

2020-12-18 Thread Randy Dunlap
Hi-- On 12/1/20 2:34 PM, mgr...@linux.intel.com wrote: > From: mark gross > > > Reviewed-by: Mark Gross > Signed-off-by: Mark Gross My reading of submitting-patches.rst seems to indicate that the Reviewer and Submitter are probably not the same person. Are you sure that you reviewed it? >

Re: [PATCH 06/22] misc: xlink-pcie: Add documentation for XLink PCIe driver

2020-12-18 Thread Randy Dunlap
On 12/1/20 2:34 PM, mgr...@linux.intel.com wrote: > From: Srikanth Thokala > > Provide overview of XLink PCIe driver implementation > > Cc: linux-...@vger.kernel.org > Reviewed-by: Mark Gross > Signed-off-by: Srikanth Thokala > --- > Documentation/vpu/index.rst | 1 + > Documentation/vp

[PATCH v2] JFS: more checks for invalid superblock

2020-12-18 Thread Randy Dunlap
...@syzkaller.appspotmail.com Reported-by: kernel test robot # v2 Signed-off-by: Randy Dunlap Cc: Dave Kleikamp Cc: jfs-discuss...@lists.sourceforge.net --- v2: fix sparse __le32 warning (lkp robot) fs/jfs/jfs_filsys.h |1 + fs/jfs/jfs_mount.c | 10 ++ 2 files changed, 11

Re: [PATCH] JFS: more checks for invalid superblock

2020-12-18 Thread Randy Dunlap
to the wrong git tree, kindly drop us a note. > And when 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/Randy-Dunlap/JFS-more-checks-for-invalid-superbloc

Re: [PATCH -next] net: wireless/mediatek/mt7915: fix MESH ifdef block

2020-12-18 Thread Randy Dunlap
On 12/18/20 10:48 AM, Kalle Valo wrote: > Randy Dunlap writes: > >> Fix a build error when CONFIG_MAC80211_MESH is not enabled: >> >> ../drivers/net/wireless/mediatek/mt76/mt7915/init.c:47:2: error: expected >> expression before '}' token >>

[PATCH -next] net: wireless/mediatek/mt7915: fix MESH ifdef block

2020-12-18 Thread Randy Dunlap
Fix a build error when CONFIG_MAC80211_MESH is not enabled: ../drivers/net/wireless/mediatek/mt76/mt7915/init.c:47:2: error: expected expression before '}' token }, { ^ Fixes: af901eb4ab80 ("mt76: mt7915: get rid of dbdc debugfs knob") Signed-off-by: Randy Dunlap Cc: Sh

Re: linux-next: Tree for Dec 18 (drm/i915/display/intel_panel)

2020-12-18 Thread Randy Dunlap
tion `intel_backlight_device_unregister': intel_panel.c:(.text+0x2fc8): undefined reference to `backlight_device_unregister' CONFIG_BACKLIGHT_CLASS_DEVICE=m CONFIG_DRM_I915=y Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap config-r6825.xz Description: application/xz

Re: [PATCH 2/4] hung_task: Replace "did_panic" with is_be_panic()

2020-12-18 Thread Randy Dunlap
On 12/18/20 6:36 AM, Tetsuo Handa wrote: > On 2020/12/18 21:59, Pavel Machek wrote: >> On Fri 2020-12-18 19:44:04, Xiaoming Ni wrote: >> Plus.. is_being_panic is not really english. "is_paniccing" would be >> closer...? > > Or in_panic() ? > Yes, or in_panic_state() -- ~Randy

Re: [PATCH] add pin memory method for checkout add restore

2020-12-18 Thread Randy Dunlap
Hi, On 12/18/20 6:25 AM, hejingxian wrote: > diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig > index 26956c0..73af2f0 100644 > --- a/drivers/char/Kconfig > +++ b/drivers/char/Kconfig > @@ -560,3 +560,10 @@ config RANDOM_TRUST_BOOTLOADER >booloader is trustworthy so it will be adde

Re: 5.10.1: UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:1

2020-12-17 Thread Randy Dunlap
Hi, [adding linux-mm] On 12/16/20 1:54 AM, Toralf Förster wrote: > Hi, > > I got this recently at this hardened Gentoo Linux server: > > Linux mr-fox 5.10.1 #1 SMP Tue Dec 15 22:09:42 CET 2020 x86_64 Intel(R) > Xeon(R) CPU E5-1650 v3 @ 3.50GHz GenuineIntel GNU/Linux > > > Dec 15 23:31:51 mr-f

[PATCH] JFS: more checks for invalid superblock

2020-12-17 Thread Randy Dunlap
...@syzkaller.appspotmail.com Signed-off-by: Randy Dunlap Cc: Dave Kleikamp Cc: jfs-discuss...@lists.sourceforge.net --- fs/jfs/jfs_filsys.h |1 + fs/jfs/jfs_mount.c | 10 ++ 2 files changed, 11 insertions(+) --- lnx-510.orig/fs/jfs/jfs_mount.c +++ lnx-510/fs/jfs/jfs_mount.c

Re: linux-next: Tree for Dec 17 (objtool warnings)

2020-12-17 Thread Randy Dunlap
iles or .o files or what? thanks. -- ~Randy Reported-by: Randy Dunlap

Re: [kbuild-all] Re: ERROR: "snd_soc_new_ac97_component" undefined!

2020-12-16 Thread Randy Dunlap
On 12/16/20 7:15 PM, Rong Chen wrote: > > > On 12/11/20 8:16 AM, Randy Dunlap wrote: >> On 12/6/20 10:11 AM, kernel test robot wrote: >>> Hi Geert, >>> >>> First bad commit (maybe != root cause): >>> >>> tree:   https://git.kernel

[PATCH] HID: core: detect and skip invalid inputs to snto32()

2020-12-16 Thread Randy Dunlap
] Generic HID layer - code split") Signed-off-by: Randy Dunlap Reported-by: syzbot+1e911ad71dd4ea72e...@syzkaller.appspotmail.com Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org --- drivers/hid/hid-core.c |3 +++ 1 file changed, 3 insertions(+) --- lnx-510.orig/dri

Re: [PATCH v2 -next] platform: surface: fix non-PM_SLEEP build warnings

2020-12-15 Thread Randy Dunlap
On 12/15/20 11:55 AM, Maximilian Luz wrote: > On 12/15/20 12:33 AM, Randy Dunlap wrote: >> Fix build warnings when CONFIG_PM_SLEEP is not enabled and these >> functions are not used: >> >> ../drivers/platform/surface/surface_gpe.c:189:12: warning: >> ‘surface

Re: [PATCH] arch: x86: entry: vdso: fix type conversion on printf() call

2020-12-15 Thread Randy Dunlap
On 12/15/20 8:39 AM, Andy Lutomirski wrote: > On Tue, Dec 15, 2020 at 8:32 AM Randy Dunlap wrote: >> >> On 12/15/20 8:03 AM, Enrico Weigelt, metux IT consult wrote: >>> Fixing the following compiler warning by explicit conversion to long: >>> >>> In fil

Re: [PATCH] arch: x86: entry: vdso: fix type conversion on printf() call

2020-12-15 Thread Randy Dunlap
On 12/15/20 8:03 AM, Enrico Weigelt, metux IT consult wrote: > Fixing the following compiler warning by explicit conversion to long: > > In file included from > /home/nekrad/src/apu2-dev/pkg/kernel.apu2.git/arch/x86/entry/vdso/vdso2c.c:162:0: > /home/nekrad/src/apu2-dev/pkg/kernel.apu2.git/arch/x

[PATCH] arm: OABI compat: fix build when EPOLL is not enabled

2020-12-14 Thread Randy Dunlap
;do_epoll_ctl'; did you mean 'sys_epoll_ctl'? [-Werror=implicit-function-declaration] 264 | return do_epoll_ctl(epfd, op, fd, &kernel, false); | ^~~~ Fixes: 687ad0191488 ("[ARM] 3109/1: old ABI compat: syscall wrappers for ABI impedance matching&qu

[PATCH -next] x86: vmlinux.lds.S: explain link error better when PHYSICAL_START is LARGE

2020-12-14 Thread Randy Dunlap
On i386, when CONFIG_PHYSICAL_START is very large, it causes a confusing or misleading linker error message: ld: kernel image bigger than KERNEL_IMAGE_SIZE so expand this message to include the possibility that the problem could be due to CONFIG_PHYSICAL_START. Signed-off-by: Randy Dunlap Cc

Re: [PATCH -next] platform: surface: fix non-PM_SLEEP build warnings

2020-12-14 Thread Randy Dunlap
On 12/14/20 3:19 AM, Andy Shevchenko wrote: > On Mon, Dec 14, 2020 at 2:53 AM Randy Dunlap wrote: >> On 12/12/20 11:07 AM, Andy Shevchenko wrote: >>> On Sat, Dec 12, 2020 at 7:05 PM Randy Dunlap wrote: > > ... > >>> Here [1] is the rationale behind annotati

[PATCH v2 -next] platform: surface: fix non-PM_SLEEP build warnings

2020-12-14 Thread Randy Dunlap
evice") Signed-off-by: Randy Dunlap Cc: Maximilian Luz Cc: Hans de Goede Cc: platform-driver-...@vger.kernel.org --- v2: dropped Maximilian's RVB tag since the patch changed use preferred __maybe_unused instead of ifdeffery: https://lore.kernel.org/patchwork/patch/732981/ d

[PATCH v2 -next] drm/rockchip: cdn-dp-core: fix function not used when PM_SLEEP is not set

2020-12-14 Thread Randy Dunlap
spend/resume static") Signed-off-by: Randy Dunlap Cc: Sandy Huang Cc: Heiko Stübner Cc: dri-de...@lists.freedesktop.org Cc: David Airlie Cc: Daniel Vetter --- v2: use preferred __maybe_unused instead of ifdeffery: https://lore.kernel.org/patchwork/patch/732981/ drivers/gpu/drm/rockc

Re: [PATCH v2 3/5] lazy tlb: shoot lazies, a non-refcounting lazy tlb option

2020-12-13 Thread Randy Dunlap
On 12/13/20 10:53 PM, Nicholas Piggin wrote: > diff --git a/arch/Kconfig b/arch/Kconfig > index 84faaba66364..e69c974369cc 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -443,9 +443,22 @@ config MMU_LAZY_TLB > config MMU_LAZY_TLB_REFCOUNT > def_bool y > depends on MMU_LAZY_TLB >

<    4   5   6   7   8   9   10   11   12   13   >