diff options
| author | Vladimir Oltean <[email protected]> | 2022-03-15 13:12:15 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-15 18:47:11 +0000 |
| commit | 72f56fdb97b26bc9a1ce297a636b91c19593eb19 (patch) | |
| tree | a0bbda1519c2415444ff395fa17587bdec1273aa /net/unix/af_unix.c | |
| parent | net: sparx5: fix a couple warning messages (diff) | |
| download | kernel-72f56fdb97b26bc9a1ce297a636b91c19593eb19.tar.gz kernel-72f56fdb97b26bc9a1ce297a636b91c19593eb19.zip | |
net: mscc: ocelot: fix build error due to missing IEEE_8021QAZ_MAX_TCS
IEEE_8021QAZ_MAX_TCS is defined in include/uapi/linux/dcbnl.h, which is
included by net/dcbnl.h. Then, linux/netdevice.h conditionally includes
net/dcbnl.h if CONFIG_DCB is enabled.
Therefore, when CONFIG_DCB is disabled, this indirect dependency is
broken.
There isn't a good reason to include net/dcbnl.h headers into the ocelot
switch library which exports low-level hardware API, so replace
IEEE_8021QAZ_MAX_TCS with OCELOT_NUM_TC which has the same value.
Fixes: 978777d0fb06 ("net: dsa: felix: configure default-prio and dscp priorities")
Signed-off-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
