Go to file
John Ogness 9c0a3aab4b kdb: Do not assume write() callback available
commit 6d3e0d8cc6 upstream.

It is allowed for consoles to not provide a write() callback. For
example ttynull does this.

Check if a write() callback is available before using it.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230717194607.145135-2-john.ogness@linutronix.de
Cc: Brian Norris <briannorris@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-13 12:50:45 +01:00
arch arm64: Handle .ARM.attributes section in linker scripts 2025-03-13 12:50:41 +01:00
block partitions: mac: fix handling of bogus partition table 2025-03-13 12:50:41 +01:00
certs
crypto
Documentation
drivers drm/v3d: Stop active perfmon if it is being destroyed 2025-03-13 12:50:44 +01:00
fs btrfs: fix hole expansion when writing at an offset beyond EOF 2025-03-13 12:50:41 +01:00
include Namespaceify mtu_expires sysctl 2025-03-13 12:50:43 +01:00
init
io_uring
ipc
kernel kdb: Do not assume write() callback available 2025-03-13 12:50:45 +01:00
lib
LICENSES
mm
net ipv6: mcast: add RCU protection to mld_newpack() 2025-03-13 12:50:44 +01:00
samples
scripts
security
sound
tools net: ipv4: Cache pmtu for all packet paths if multipath enabled 2025-03-13 12:50:43 +01: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.