diff options
| author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-22 02:34:20 +0200 |
|---|---|---|
| committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-22 22:28:18 +0200 |
| commit | 0605fa693e3ae5266c6d9b0a291ee12a3adac09b (patch) | |
| tree | 2b53981580abf7da86a2d18b087cbc1e709580e3 /include/kernel-defaults.mk | |
| parent | fb6de77a824d6d7542ad314721448fcb8c6ccc1a (diff) | |
| download | upstream-0605fa693e3ae5266c6d9b0a291ee12a3adac09b.tar.gz upstream-0605fa693e3ae5266c6d9b0a291ee12a3adac09b.tar.bz2 upstream-0605fa693e3ae5266c6d9b0a291ee12a3adac09b.zip | |
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>
Diffstat (limited to 'include/kernel-defaults.mk')
0 files changed, 0 insertions, 0 deletions
