Commit Graph

7 Commits

Author SHA1 Message Date
213e6fb3db BACKPORT: treewide: replace '---help---' in Kconfig files with 'help'
Since commit 84af7a6194 ("checkpatch: kconfig: prefer 'help' over
'---help---'"), the number of '---help---' has been gradually
decreasing, but there are still more than 2400 instances.

This commit finishes the conversion. While I touched the lines,
I also fixed the indentation.

There are a variety of indentation styles found.

  a) 4 spaces + '---help---'
  b) 7 spaces + '---help---'
  c) 8 spaces + '---help---'
  d) 1 space + 1 tab + '---help---'
  e) 1 tab + '---help---'    (correct indentation)
  f) 1 tab + 1 space + '---help---'
  g) 1 tab + 2 spaces + '---help---'

In order to convert all of them to 1 tab + 'help', I ran the
following commend:

  $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'

Change-Id: I12e529786e66b62eaaede154b7264c67a0d37bf9
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2026-02-02 18:01:33 -05:00
cd2176343a techpack: rmnet: Fix compilation errors
Based on newer qcom kernels, change rmnet_shs_assign and
rmnet_perf_core_deaggregate from void to int.
Add missing argument to rmnet_perf_deag_entry.

Required after "READ_ONCE: Simplify implementations of {READ,WRITE}_ONCE()"

Change-Id: Idc4e844212148f26fb81a5f2287a133bff4c71b5
2026-01-24 09:43:39 +02:00
db41aa06f7 BACKPORT: treewide: Use sizeof_field() macro
Replace all the occurrences of FIELD_SIZEOF() with sizeof_field() except
at places where these are defined. Later patches will remove the unused
definition of FIELD_SIZEOF().

This patch is generated using following script:

EXCLUDE_FILES="include/linux/stddef.h|include/linux/kernel.h"

git grep -l -e "\bFIELD_SIZEOF\b" | while read file;
do

	if [[ "$file" =~ $EXCLUDE_FILES ]]; then
		continue
	fi
	sed -i  -e 's/\bFIELD_SIZEOF\b/sizeof_field/g' $file;
done

Change-Id: I24296633f28fea05d12618c8e47dc8acb8df18d8
Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Link: https://lore.kernel.org/r/20190924105839.110713-3-pankaj.laxminarayan.bharadiya@intel.com
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: David Miller <davem@davemloft.net> # for net
2025-09-30 21:35:04 +01:00
f3356fcc28 BACKPORT: ext4: convert fault handler to use vm_fault_t type
Return type of ext4_page_mkwrite and ext4_filemap_fault are
changed to use vm_fault_t type.

With this patch all the callers of block_page_mkwrite_return()
are changed to handle vm_fault_t. So converting the return type
of block_page_mkwrite_return() to vm_fault_t.

Add these changes for msm drivers as well.

Change-Id: I4a274cc17da41dfbe34f4eaefff22db4a1754329
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Matthew Wilcox <willy@infradead.org>
2025-09-08 01:34:41 -04:00
29759cf58d drivers: rmnet_perf: Fix strict-prototypes error
Change-Id: I3e67da3d767f8d1198bca1c81e561c1ad2fe7363
2023-10-20 09:40:19 +02:00
f2a215a790 techpack: Integrate Qualcomm data-kernel package
This allows to build the rmnet_perf and rmnet_shs modules into the
kernel easily.

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Change-Id: I205ec5517e6b1af87f7c3ca8c31a86fd98d715da
2022-11-20 20:11:12 +02:00
59d05eab57 Add 'techpack/data/' from tag 'LA.UM.9.12.r1-14900-SMxx50.QSSI13.0'
git-subtree-dir: techpack/data
git-subtree-mainline: d975c72436
git-subtree-split: f70ca62e22
Change-Id: If8df8a137a8588ae16682c72efefe5d67a11350d
2022-11-20 19:44:41 +02:00