net & drivers: fix more build warnings