usbnet: Set parent device early for netdev_printk()
netdev_printk() follows the net_device's parent device pointer, so we must set that earlier than we previously did. Reported-by: NLuís Picciochi Oliveira <pitxyoki@gmail.com> Signed-off-by: NBen Hutchings <ben@decadent.org.uk> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录