No description
Find a file
Greg Kroah-Hartman b85a5f191e cdrom: gdrom: initialize global variable at init time
commit 9183f01b5e upstream.

As Peter points out, if we were to disconnect and then reconnect this
driver from a device, the "global" state of the device would contain odd
values and could cause problems.  Fix this up by just initializing the
whole thing to 0 at probe() time.

Ideally this would be a per-device variable, but given the age and the
total lack of users of it, that would require a lot of s/./->/g changes
for really no good reason.

Reported-by: Peter Rosin <peda@axentia.se>
Cc: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Peter Rosin <peda@axentia.se>
Link: https://lore.kernel.org/r/YJP2j6AU82MqEY2M@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-26 11:48:34 +02:00
arch openrisc: Fix a memory leak 2021-05-26 11:48:31 +02:00
block blk-mq: Swap two calls in blk_mq_exit_queue() 2021-05-22 10:59:46 +02:00
certs certs: Fix blacklist flag type confusion 2021-03-04 09:39:44 +01:00
crypto crypto: api - check for ERR pointers in crypto_destroy_tfm() 2021-05-22 10:59:14 +02:00
Documentation tweewide: Fix most Shebang lines 2021-05-22 10:59:50 +02:00
drivers cdrom: gdrom: initialize global variable at init time 2021-05-26 11:48:34 +02:00
firmware Fix built-in early-load Intel microcode alignment 2020-01-23 08:21:29 +01:00
fs Revert "ecryptfs: replace BUG_ON with error handling code" 2021-05-26 11:48:34 +02:00
include iomap: fix sub-page uptodate handling 2021-05-22 10:59:50 +02:00
init init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM 2021-04-10 13:21:19 +02:00
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index 2020-05-20 08:18:40 +02:00
kernel locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal 2021-05-26 11:48:32 +02:00
lib lib: stackdepot: turn depot_lock spinlock to raw_spinlock 2021-05-22 10:59:49 +02:00
LICENSES LICENSES: Remove CC-BY-SA-4.0 license text 2018-10-18 11:28:50 +02:00
mm userfaultfd: release page in error path to avoid BUG_ON 2021-05-22 10:59:45 +02:00
net ipv6: remove extra dev_hold() for fallback tunnels 2021-05-22 10:59:50 +02:00
samples samples/bpf: Fix broken tracex1 due to kprobe argument change 2021-05-22 10:59:41 +02:00
scripts scripts: switch explicitly to Python 3 2021-05-22 10:59:50 +02:00
security security: commoncap: fix -Wstringop-overread warning 2021-05-22 10:59:21 +02:00
sound ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293 2021-05-26 11:48:33 +02:00
tools tweewide: Fix most Shebang lines 2021-05-22 10:59:50 +02:00
usr initramfs: restore default compression behavior 2020-04-13 10:44:59 +02:00
virt KVM: arm64: Initialize VCPU mdcr_el2 before loading it 2021-05-22 10:59:50 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap libnvdimm-for-4.19_misc 2018-08-25 18:13:10 -07:00
COPYING
CREDITS 9p: remove Ron Minnich from MAINTAINERS 2018-08-17 16:20:26 -07:00
Kbuild
Kconfig kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt 2018-08-02 08:06:55 +09:00
MAINTAINERS Documentation/llvm: add documentation on building w/ Clang/LLVM 2020-09-26 18:01:31 +02:00
Makefile Linux 4.19.191 2021-05-22 10:59:50 +02: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.
See Documentation/00-INDEX for a list of what is contained in each file.

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.