Linux kernel modifications for the Kernel Hacking exam
Find a file
Vladimir Oltean e5fb512d81 net: mscc: ocelot: deinitialize only initialized ports
Currently mscc_ocelot_init_ports() will skip initializing a port when it
doesn't have a phy-handle, so the ocelot->ports[port] pointer will be
NULL. Take this into consideration when tearing down the driver, and add
a new function ocelot_deinit_port() to the switch library, mirror of
ocelot_init_port(), which needs to be called by the driver for all ports
it has initialized.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-18 13:52:34 -07:00
arch net: dsa: microchip: look for phy-mode in port nodes 2020-09-10 12:32:37 -07:00
block block-5.9-2020-09-04 2020-09-04 13:04:51 -07:00
certs
crypto
Documentation ethtool: add and use message type for tunnel info reply 2020-09-17 16:43:20 -07:00
drivers net: mscc: ocelot: deinitialize only initialized ports 2020-09-18 13:52:34 -07:00
fs io_uring-5.9-2020-09-04 2020-09-04 12:55:22 -07:00
include net: mscc: ocelot: deinitialize only initialized ports 2020-09-18 13:52:34 -07:00
init init: fix error check in clean_path() 2020-09-04 09:16:58 -07:00
ipc
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2020-09-15 19:26:21 -07:00
lib
LICENSES
mm Merge branch 'simplify-do_wp_page' 2020-09-04 09:31:54 -07:00
net net: mscc: ocelot: add locking for the port TX timestamp ID 2020-09-18 13:52:33 -07:00
samples
scripts kconfig: remove redundant assignment prompt = prompt 2020-09-03 12:21:22 +09:00
security
sound sound fixes for 5.9-rc4 2020-09-04 12:05:25 -07:00
tools Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2020-09-15 19:26:21 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS ibmvnic: update MAINTAINERS 2020-09-15 13:27:28 -07:00
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.