net & drivers: fix more build warnings

Signed-off-by: garwedgess <garethwilliams21@gmail.com>