No description
Find a file
Rasmus Villemoes 16dea605f0 net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()
[ Upstream commit ed4314f772 ]

There are two problems with meson8b_devm_clk_prepare_enable(),
introduced in commit a54dc4a490 ("net: stmmac: dwmac-meson8b:
Make the clock enabling code re-usable"):

- It doesn't pass the clk argument, but instead always the
  rgmii_tx_clk of the device.

- It silently ignores the return value of devm_add_action_or_reset().

The former didn't become an actual bug until another user showed up in
the next commit 9308c47640 ("net: stmmac: dwmac-meson8b: add support
for the RX delay configuration"). The latter means the callers could
end up with the clock not actually prepared/enabled.

Fixes: a54dc4a490 ("net: stmmac: dwmac-meson8b: Make the clock enabling code re-usable")
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20221104083004.2212520-1-linux@rasmusvillemoes.dk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:56:09 +08:00
arch KVM: s390: pv: don't allow userspace to set the clock under PV 2023-04-19 17:56:08 +08:00
block block, bfq: protect 'bfqd->queued' by 'bfqd->lock' 2023-04-19 17:56:02 +08:00
certs
crypto crypto: akcipher - default implementation for setting a private key 2023-04-19 17:55:27 +08:00
Documentation KVM: s390: pv: don't allow userspace to set the clock under PV 2023-04-19 17:56:08 +08:00
drivers net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable() 2023-04-19 17:56:09 +08:00
fs fuse: fix readdir cache race 2023-04-19 17:56:06 +08:00
include capabilities: fix undefined behavior in bit shift for CAP_TO_MASK 2023-04-19 17:56:08 +08:00
init
ipc
kernel bpf: Fix wrong reg type conversion in release_reference() 2023-04-19 17:56:07 +08:00
lib lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5 2023-04-19 17:55:38 +08:00
LICENSES
mm mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page 2023-04-19 17:55:55 +08:00
net can: af_can: fix NULL pointer dereference in can_rx_register() 2023-04-19 17:56:09 +08:00
samples
scripts kbuild: rpm-pkg: fix breakage when V=1 is used 2023-04-19 17:55:28 +08:00
security capabilities: fix potential memleak on error path from vfs_getxattr_alloc() 2023-04-19 17:56:03 +08:00
sound ALSA: aoa: Fix I2S device accounting 2023-04-19 17:55:53 +08:00
tools bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE 2023-04-19 17:56:07 +08:00
usr
virt kvm: Add support for arch compat vm ioctls 2023-04-19 17:55:40 +08:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.15.78 2023-04-19 17:56:06 +08: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.