]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: Switch booleans in rtl838x_l2_entry to single bits
authorSven Eckelmann <se@simonwunderlich.de>
Fri, 26 Sep 2025 09:57:20 +0000 (11:57 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 29 Sep 2025 18:55:22 +0000 (20:55 +0200)
commit8c82e2dc93384caffab02aae3638c5b88d09731e
tree68842ed5d8bba525f233f8a3b862c1ef27aeeb7f
parentd22b57e1e49e757ebcf1267260ed2073cea9cfa4
realtek: Switch booleans in rtl838x_l2_entry to single bits

In upstream kernel, it is not well received to use a lot of simple booleans
in structs. It is preferred to use 1-bit bitfields [1] and consolidate the
booleans together.

[1] https://www.kernel.org/doc/html/v6.16/process/coding-style.html#using-bool

Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20183
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h