mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: H Hartley Sweeten <hartleys@visionengravers.com>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	"Nick M." <nickm@visionengravers.com>,
	Lennert Buytenhek <kernel@wantstofly.org>,
	David Miller <davem@davemloft.net>
Subject: Re: [PATCH] ep93xx_eth.c: general cleanup
Date: Wed, 16 Dec 2009 09:32:01 -0800	[thread overview]
Message-ID: <1260984721.30093.23.camel@Joe-Laptop.home> (raw)
In-Reply-To: <BD79186B4FD85F4B8E60E381CAEE19090200ECDE@mi8nycmail19.Mi8.com>

On Wed, 2009-12-16 at 12:09 -0500, H Hartley Sweeten wrote:
> +#define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__

I think KBUILD_MODNAME ":%s: " fmt, __func__
or its equivalent direct use is more common.
It's possibly useful to standardize.

> -#define DRV_MODULE_NAME		"ep93xx-eth"
> -#define DRV_MODULE_VERSION	"0.1"
> +#include <mach/hardware.h>

I think these sorts of defines are common and useful.

>  static int __init ep93xx_eth_init_module(void)
>  {
> -	printk(KERN_INFO DRV_MODULE_NAME " version " DRV_MODULE_VERSION " loading\n");

Why remove this printk completely?



  reply	other threads:[~2009-12-16 17:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-16 17:09 H Hartley Sweeten
2009-12-16 17:32 ` Joe Perches [this message]
2009-12-16 17:44   ` H Hartley Sweeten
2009-12-16 17:29 H Hartley Sweeten
2009-12-16 18:01 ` Lennert Buytenhek
2009-12-16 18:06   ` H Hartley Sweeten
2009-12-16 18:08     ` Lennert Buytenhek
2009-12-16 18:18       ` H Hartley Sweeten
2009-12-16 18:32         ` Lennert Buytenhek
2009-12-16 18:34           ` H Hartley Sweeten
2009-12-23 22:14             ` David Miller
2009-12-30 18:03               ` H Hartley Sweeten
2009-12-31  9:11                 ` Lennert Buytenhek
2010-01-05 21:05 [PATCH] ep93xx_eth.c " H Hartley Sweeten
2010-01-08  8:53 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1260984721.30093.23.camel@Joe-Laptop.home \
    --to=joe@perches.com \
    --cc=davem@davemloft.net \
    --cc=hartleys@visionengravers.com \
    --cc=kernel@wantstofly.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickm@visionengravers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®