From: Richard Knutsson <ricknu-0@student.ltu.se>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Linux/m68k <linux-m68k@vger.kernel.org>,
Linux Kernel Development <linux-kernel@vger.kernel.org>,
Alejandro Martinez Ruiz <alex@flawedcode.org>
Subject: Re: [patch 02/13] dio: ARRAY_SIZE() cleanup
Date: Tue, 20 Nov 2007 22:46:38 +0100 [thread overview]
Message-ID: <474355BE.8030409@student.ltu.se> (raw)
In-Reply-To: <20071118101446.793269838@mail.of.borg>
Geert Uytterhoeven wrote:
> -#define NUMNAMES (sizeof(names) / sizeof(struct dioname))
> +#define NUMNAMES ARRAY_SIZE(names)
Why not replace NUMNAMES?
/Richard Knutsson
next prev parent reply other threads:[~2007-11-20 21:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-18 10:13 [patch 00/13] m68k patches for 2.6.25 Geert Uytterhoeven
2007-11-18 10:13 ` [patch 01/13] m68k: ARRAY_SIZE() cleanup Geert Uytterhoeven
2007-11-18 10:13 ` [patch 02/13] dio: " Geert Uytterhoeven
2007-11-20 21:46 ` Richard Knutsson [this message]
2007-11-21 7:52 ` Geert Uytterhoeven
2007-11-18 10:13 ` [patch 03/13] m68k: Balance ioremap and iounmap in m68k/atari/hades-pci.c Geert Uytterhoeven
2007-11-18 10:13 ` [patch 04/13] nubus: kill drivers/nubus/nubus_syms.c Geert Uytterhoeven
2007-11-18 10:13 ` [patch 05/13] m68k: kill arch/m68k/mac/mac_ksyms.c Geert Uytterhoeven
2007-11-18 10:13 ` [patch 06/13] m68k: kill arch/m68k/hp300/ksyms.c Geert Uytterhoeven
2007-11-18 10:13 ` [patch 07/13] m68k: kill arch/m68k/amiga/amiga_ksyms.c Geert Uytterhoeven
2007-11-18 10:13 ` [patch 08/13] m68k: kill arch/m68k/atari/atari_ksyms.c Geert Uytterhoeven
2007-11-18 10:13 ` [patch 09/13] m68k: kill arch/m68k/mvme16x/mvme16x_ksyms.c Geert Uytterhoeven
2007-11-18 10:13 ` [patch 10/13] mac68k: macii adb comment correction Geert Uytterhoeven
2007-11-18 10:13 ` [patch 11/13] mac68k: remove dead code Geert Uytterhoeven
2007-11-18 10:13 ` [patch 12/13] mac68k: add nubus card definitions and a typo fix Geert Uytterhoeven
2007-11-18 10:13 ` [patch 13/13] mac68k: remove dead MAC_ADBKEYCODES Geert Uytterhoeven
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=474355BE.8030409@student.ltu.se \
--to=ricknu-0@student.ltu.se \
--cc=akpm@linux-foundation.org \
--cc=alex@flawedcode.org \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@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