openwrt/target/linux/generic/files/drivers/net
Christian Marangi 0605fa693e
kernek: use struct_group to wipe ar8216 volatile priv data
Instead of reference vlan and do strange subtraction, use the handy
struct_group() to create a virtual struct of the same size of the
members. This permits to have a more secure memset and fix compilation
warning in 6.1 where additional checks are done.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-22 22:28:18 +02:00
..
phy kernek: use struct_group to wipe ar8216 volatile priv data 2023-05-22 22:28:18 +02:00