The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Ben Dooks 591c32bddb kernel/hung_task: fix address space of proc_dohung_task_timeout_secs
The proc_dohung_task_timeout_secs() function is incorrectly marked
as having a __user buffer as argument 3. However this is not the
case and it is casing multiple sparse warnings. Fix the following
warnings by removing __user from the argument:

kernel/hung_task.c:237:52: warning: incorrect type in argument 3 (different address spaces)
kernel/hung_task.c:237:52:    expected void *
kernel/hung_task.c:237:52:    got void [noderef] __user *buffer
kernel/hung_task.c:287:35: warning: incorrect type in initializer (incompatible argument 3 (different address spaces))
kernel/hung_task.c:287:35:    expected int ( [usertype] *proc_handler )( ... )
kernel/hung_task.c:287:35:    got int ( * )( ... )
kernel/hung_task.c:295:35: warning: incorrect type in initializer (incompatible argument 3 (different address spaces))
kernel/hung_task.c:295:35:    expected int ( [usertype] *proc_handler )( ... )
kernel/hung_task.c:295:35:    got int ( * )( ... )

Link: https://lkml.kernel.org/r/20220714074744.189017-1-ben.dooks@sifive.com
Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
Cc: <Conor.Dooley@microchip.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-07-29 18:12:35 -07:00
Documentation init: add "hostname" kernel parameter 2022-07-17 17:31:37 -07:00
LICENSES
arch ia64: old_rr4 added under CONFIG_HUGETLB_PAGE 2022-07-17 17:31:43 -07:00
block
certs
crypto
drivers ARM: SoC fixes for 5.19 2022-06-26 14:12:56 -07:00
fs squashfs: support reading fragments in readahead call 2022-07-29 18:12:34 -07:00
include cpumask: update cpumask_next_wrap() signature 2022-07-17 17:31:41 -07:00
init init: add "hostname" kernel parameter 2022-07-17 17:31:37 -07:00
ipc ipc/mqueue: remove unnecessary (void*) conversion 2022-07-17 17:31:40 -07:00
kernel kernel/hung_task: fix address space of proc_dohung_task_timeout_secs 2022-07-29 18:12:35 -07:00
lib lib/lzo/lzo1x_compress.c: replace ternary operator with min() and min_t() 2022-07-29 18:12:34 -07:00
mm
net
samples
scripts scripts/bloat-o-meter: add -p argument 2022-07-17 17:31:40 -07:00
security
sound
tools proc: fix test for "vsyscall=xonly" boot option 2022-07-17 17:31:43 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Merge branch 'master' into mm-nonmm-stable 2022-06-27 10:31:44 -07:00
Makefile Linux 5.19-rc4 2022-06-26 14:22:10 -07:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.