[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090226215006.ee686bfe.akpm@linux-foundation.org>
Date: Thu, 26 Feb 2009 21:50:06 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Peter Zijlstra <peterz@...radead.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 2/5] tracing: add tracer dependent options to options
directory
On Fri, 27 Feb 2009 00:34:12 -0500 Steven Rostedt <rostedt@...dmis.org> wrote:
> + topts = kzalloc(sizeof(*topts) * (cnt + 1), GFP_KERNEL);
nit: kcalloc() checks for multiplicative overflow, whereas the above
does not. It sets a good example ;)
--
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