[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4c8a6d00911011313k39a6805dr590967cc8fc3a204@mail.gmail.com>
Date: Sun, 1 Nov 2009 19:13:30 -0200
From: Thiago Farina <tfransosi@...il.com>
To: Randy Dunlap <rdunlap@...otime.net>
Cc: Tilman Schmidt <tilman@...p.cc>,
Nigel Cunningham <ncunningham@...a.org.au>,
André Goddard Rosa <andre.goddard@...il.com>,
trivial@...nel.org, linux list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 03/16] trivial: fix assorted "through" typos
On Sun, Nov 1, 2009 at 3:52 PM, Randy Dunlap <rdunlap@...otime.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists