Re: [PATCH net-next 3/3] r8152: replace the return value ofrtl_ops_init

From: Joe Perches
Date: Mon Jan 06 2014 - 01:59:43 EST


> diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
[]
> @@ -2721,18 +2722,20 @@ static bool rtl_ops_init(struct r8152 *tp, const struct usb_device_id *id)
[]
> + if (ret)
> + netif_err(tp, probe, tp->netdev, "Unknown Device");

This format should have a terminating newline
"Unknown Device\n"


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/