From: Mathieu Desnoyers Linux Kernel Markers documentation fix typo and use ARRAY_SIZE Signed-off-by: Mathieu Desnoyers Signed-off-by: Andrew Morton --- Documentation/marker.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN Documentation/marker.txt~linux-kernel-markers-documentation-fix-typo-and-use-array_size Documentation/marker.txt --- a/Documentation/marker.txt~linux-kernel-markers-documentation-fix-typo-and-use-array_size +++ a/Documentation/marker.txt @@ -103,7 +103,7 @@ clean: ------------------------------ CUT ------------------------------------- /* probe-example.c * - * Connects a two functions to marker call sites. + * Connects two functions to marker call sites. * * (C) Copyright 2007 Mathieu Desnoyers * @@ -117,7 +117,7 @@ clean: #include #include -#define NUM_PROBES (sizeof(probe_array) / sizeof(struct probe_data)) +#define NUM_PROBES ARRAY_SIZE(probe_array) struct probe_data { const char *name; _