Meta: #381
drivers/net/ethernet/sun/niu.c:7466:5: error: variable 'class' is used uninitialized whenever switch default is taken [-Werror,-Wsometimes-uninitialized]
in niu_add_ethtool_tcam_entry. Clang doesn't realize that 0 to 3 are the only possible options for that switch. We can just initialize class to zero at the beginning of the function or in the default case (probably the latter with a comment).
Patch sent: https://lore.kernel.org/lkml/[email protected]/
Merged into mainline: https://git.kernel.org/torvalds/c/09073525f8b9095931e5a82209b61abc7ce4c9d5