No description
Find a file
Andrii Nakryiko 7a2fa70aaf selftests/bpf: Add remaining ASSERT_xxx() variants
Add ASSERT_TRUE/ASSERT_FALSE for conditions calculated with custom logic to
true/false. Also add remaining arithmetical assertions:
  - ASSERT_LE -- less than or equal;
  - ASSERT_GT -- greater than;
  - ASSERT_GE -- greater than or equal.
This should cover most scenarios where people fall back to error-prone
CHECK()s.

Also extend ASSERT_ERR() to print out errno, in addition to direct error.

Also convert few CHECK() instances to ensure new ASSERT_xxx() variants work as
expected. Subsequent patch will also use ASSERT_TRUE/ASSERT_FALSE more
extensively.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Lorenz Bauer <lmb@cloudflare.com>
Link: https://lore.kernel.org/bpf/20210426192949.416837-2-andrii@kernel.org
2021-04-26 18:37:13 -07:00
arch net: korina: Add support for device tree 2021-04-19 15:58:14 -07:00
block
certs
crypto
Documentation net: ethernet: ixp4xx: Add DT bindings 2021-04-25 18:27:13 -07:00
drivers bnxt_en: Implement .ndo_features_check(). 2021-04-25 18:37:39 -07:00
fs Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-17 11:08:07 -07:00
include macvlan: Add nodst option to macvlan type source 2021-04-25 18:35:01 -07:00
init
ipc
kernel bpf: Allow trampoline re-attach for tracing and lsm programs 2021-04-25 21:09:01 -07:00
lib Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-17 11:08:07 -07:00
LICENSES
mm mm: ptdump: fix build failure 2021-04-16 16:10:37 -07:00
net mlx5-updates-2021-04-21 2021-04-25 18:31:35 -07:00
samples samples/bpf: Fix broken tracex1 due to kprobe argument change 2021-04-19 18:19:49 -07:00
scripts Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2021-04-25 18:02:32 -07:00
security Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-17 11:08:07 -07:00
sound
tools selftests/bpf: Add remaining ASSERT_xxx() variants 2021-04-26 18:37:13 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap .mailmap: fix old email addresses 2021-04-09 14:54:23 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS phy: nxp-c45: add driver for tja1103 2021-04-19 16:19:44 -07:00
Makefile Linux 5.12-rc7 2021-04-11 15:16:13 -07:00
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.