Main-line Linux kernel tree http://www.kernel.org
Go to file
Miguel Ojeda 7466886b40 kunit: take kunit_assert as const
The `kunit_do_failed_assertion` function passes its
`struct kunit_assert` argument to `kunit_fail`. This one,
in turn, calls its `format` field passing the assert again
as a `const` pointer.

Therefore, the whole chain may be made `const`.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-05-16 13:23:00 -06:00
arch
block
certs
crypto
Documentation kunit: add ability to specify suite-level init and exit functions 2022-05-02 12:35:51 -06:00
drivers thunderbolt: test: use NULL macros 2022-04-04 14:29:13 -06:00
fs
include kunit: take kunit_assert as const 2022-05-16 13:23:00 -06:00
init
ipc
kernel
lib kunit: take kunit_assert as const 2022-05-16 13:23:00 -06:00
LICENSES
mm kfence: test: use new suite_{init/exit} support, add .kunitconfig 2022-05-02 12:35:57 -06:00
net mctp: test: Use NULL macros 2022-04-04 14:29:25 -06:00
samples
scripts
security apparmor: test: Use NULL macros 2022-04-04 14:29:29 -06:00
sound
tools kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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.