mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Dave Jones <davej@redhat.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: edac driver names in sysfs.
Date: Mon, 22 May 2006 15:44:26 +1000	[thread overview]
Message-ID: <9885.1148276666@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Sun, 21 May 2006 22:29:12 -0400." <20060522022912.GS8250@redhat.com>

Dave Jones (on Sun, 21 May 2006 22:29:12 -0400) wrote:
>EDAC does something funky that no other afaik seems to do.
>
>#define edac_xstr(s) edac_str(s)
>#define edac_str(s) #s
>#define EDAC_MOD_STR edac_xstr(KBUILD_BASENAME)
>
>And then..
>
>	.name = EDAC_MOD_STR,

EDAC is reinventing the wheel.  We have the standard

#include <linux/stringify.h>

	.name = __stringify(KBUILD_BASENAME).


  reply	other threads:[~2006-05-22  5:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-22  2:29 Dave Jones
2006-05-22  5:44 ` Keith Owens [this message]
2006-05-23 18:49 ` Greg KH

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=9885.1148276666@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®