Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751932Ab3HTU6Y (ORCPT ); Tue, 20 Aug 2013 16:58:24 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:40144 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751492Ab3HTU6X (ORCPT ); Tue, 20 Aug 2013 16:58:23 -0400 Message-ID: <1377032302.2016.75.camel@joe-AO722> Subject: Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 Device Driver into the Linux Kernel From: Joe Perches To: Francois Romieu Cc: liujunliang_ljl , gregkh , sunhecheng , linux-usb , netdev , linux-kernel Date: Tue, 20 Aug 2013 13:58:22 -0700 In-Reply-To: <20130820204606.GB26241@electric-eye.fr.zoreil.com> References: <201308201841116403992@163.com> <20130820204606.GB26241@electric-eye.fr.zoreil.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 899 Lines: 26 On Tue, 2013-08-20 at 22:46 +0200, Francois Romieu wrote: > liujunliang_ljl : > > + if (i >= SR_SHARE_TIMEOUT) { > > + netdev_err(dev->net, "%s read timed out!", phy ? "phy" : "eeprom"); netdev_, like almost all other printk messages needs a terminating "\n" newline to avoid any possible message interleaving by other printks. > > + if (!is_valid_ether_addr(addr->sa_data)) { > > + dev_err(&net->dev, "not setting invalid mac address %pM\n", > > + addr->sa_data); > > dev_err(&net->dev, "not setting invalid mac address %pM\n", > addr->sa_data); prefer netdev_ to dev_ where possible. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/