Go to file
Jakub Kicinski 289e922582 dpll: move all dpll<>netdev helpers to dpll code
Older versions of GCC really want to know the full definition
of the type involved in rcu_assign_pointer().

struct dpll_pin is defined in a local header, net/core can't
reach it. Move all the netdev <> dpll code into dpll, where
the type is known. Otherwise we'd need multiple function calls
to jump between the compilation units.

This is the same problem the commit under fixes was trying to address,
but with rcu_assign_pointer() not rcu_dereference().

Some of the exports are not needed, networking core can't
be a module, we only need exports for the helpers used by
drivers.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/all/35a869c8-52e8-177-1d4d-e57578b99b6@linux-m68k.org/
Fixes: 640f41ed33 ("dpll: fix build failure due to rcu_dereference_check() on unknown type")
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240305013532.694866-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-05 18:36:42 -08:00
Documentation dpll: move all dpll<>netdev helpers to dpll code 2024-03-05 18:36:42 -08:00
LICENSES
arch
block
certs
crypto
drivers dpll: move all dpll<>netdev helpers to dpll code 2024-03-05 18:36:42 -08:00
fs
include dpll: move all dpll<>netdev helpers to dpll code 2024-03-05 18:36:42 -08:00
init
io_uring
ipc
kernel
lib Including fixes from bluetooth, WiFi and netfilter. 2024-02-29 12:40:20 -08:00
mm
net dpll: move all dpll<>netdev helpers to dpll code 2024-03-05 18:36:42 -08:00
rust
samples
scripts
security Landlock fix for v6.8-rc7 2024-02-29 12:29:23 -08:00
sound
tools selftests: mptcp: diag: avoid extra waiting 2024-03-04 13:05:15 +00:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: net: netsec: add myself as co-maintainer 2024-03-01 10:33:20 +00:00
Makefile
README

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.