mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thiago Farina <tfransosi@gmail.com>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: "Tilman Schmidt" <tilman@imap.cc>,
	"Nigel Cunningham" <ncunningham@crca.org.au>,
	"André Goddard Rosa" <andre.goddard@gmail.com>,
	trivial@kernel.org, "linux list" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 03/16] trivial: fix assorted "through" typos
Date: Sun, 1 Nov 2009 19:13:30 -0200	[thread overview]
Message-ID: <a4c8a6d00911011313k39a6805dr590967cc8fc3a204@mail.gmail.com> (raw)
In-Reply-To: <20091101095208.10d57e8f.rdunlap@xenotime.net>

On Sun, Nov 1, 2009 at 3:52 PM, Randy Dunlap <rdunlap@xenotime.net> wrote:
> It was Robert PJ Day.
> See http://www.crashcourse.ca/wiki/index.php/Kernel_cleanup

Talking about cleanup, there are many definitions of ARRAY_SIZE, found
using cscope:
0 spidev_test.c  24 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
1 page-types.c  194 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
2 types.h         4 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
3 user.h         17 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
4 boot.h         35 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
5 relocs.c       13 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
6 kernel.h       46 #define ARRAY_SIZE(arr) (sizeof(arr) /
sizeof((arr)[0]) + __must_be_array(arr))
7 dtc.h          83 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
8 genksyms.c    314 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
9 kallsyms.c     27 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
a file2alias.c  520 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
b util.h         28 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))

Please forgive me if this is not the right place to post this.

  reply	other threads:[~2009-11-01 21:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-31  9:40 André Goddard Rosa
2009-10-31 10:17 ` Nigel Cunningham
2009-10-31 10:22   ` André Goddard Rosa
2009-10-31 12:11   ` Tilman Schmidt
2009-11-01 17:52     ` Randy Dunlap
2009-11-01 21:13       ` Thiago Farina [this message]
2009-11-02 10:40         ` ARRAY_SIZE (was: [PATCH 03/16] trivial: fix assorted "through" typos) Tilman Schmidt
2009-11-02 10:09       ` Kernel cleanup Wiki " Tilman Schmidt
2009-11-02  9:18 ` [PATCH 03/16] trivial: fix assorted "through" typos Ingo Molnar
2009-11-02 16:00 ` Jiri Kosina
2009-11-02 16:16   ` André Goddard Rosa

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=a4c8a6d00911011313k39a6805dr590967cc8fc3a204@mail.gmail.com \
    --to=tfransosi@gmail.com \
    --cc=andre.goddard@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncunningham@crca.org.au \
    --cc=rdunlap@xenotime.net \
    --cc=tilman@imap.cc \
    --cc=trivial@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®