[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110113082950.6747ebb8@queued.net>
Date: Thu, 13 Jan 2011 08:29:50 -0800
From: Andres Salomon <dilinger@...ued.net>
To: netdev@...r.kernel.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: add Faraday FTMAC100 10/100 Ethernet driver
On Thu, 13 Jan 2011 15:22:39 +0100
Eric Dumazet <eric.dumazet@...il.com> wrote:
> Le jeudi 13 janvier 2011 à 19:49 +0800, Po-Yu Chuang a écrit :
> > From: Po-Yu Chuang <ratbert@...aday-tech.com>
> >
> > FTMAC100 Ethernet Media Access Controller supports 10/100 Mbps and
> > MII. This driver has been working on some ARM/NDS32 SoC including
> > Faraday A320 and Andes AG101.
> >
> > Signed-off-by: Po-Yu Chuang <ratbert@...aday-tech.com>
> > ---
> > drivers/net/Kconfig | 9 +
> > drivers/net/Makefile | 1 +
> > drivers/net/ftmac100.c | 1341
> > ++++++++++++++++++++++++++++++++++++++++++++++++
> > drivers/net/ftmac100.h | 180 +++++++ 4 files changed, 1531
> > insertions(+), 0 deletions(-) create mode 100644
> > drivers/net/ftmac100.c create mode 100644 drivers/net/ftmac100.h
>
> Hi
>
[...]
>
> 9) Instead of dev_info(&netdev->dev ...) , please consider
> netdev_info()
>
>
No one else mentioned it, so I'll add:
Don't explicitly inline functions unless they're in a header, or you
have a really good reason (and that reason should probably be described
in a comment). Otherwise, just leave off the 'inline' keyword; the
compiler is smart enough to decide whether a function should be inlined
or not.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists