[PATCH] net: dsa/slave: Fix compilation warnings