[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1d3a0fwo3.fsf@fess.ebiederm.org>
Date: Mon, 30 Jan 2012 18:11:40 -0800
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Dave Jones <davej@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
netdev@...r.kernel.org,
Lucian Adrian Grijincu <lucian.grijincu@...il.com>,
Damien Millescamps <damien.millescamps@...nd.com>
Subject: Re: [PATCH 24/29] sysctl: Replace root_list with links between sysctl_table_sets.
Dave Jones <davej@...hat.com> writes:
> On Thu, Jan 26, 2012 at 08:52:00PM -0800, Eric W. Biederman wrote:
>
> > + memset(set, sizeof(*set), 0);
>
> checkpatch should warn you about this mistake.
Is there a way to tie checkpatch into git. Perhaps into git commit?
Having something that would catch this before I embarrassed myself
certainly sounds nice. However my overall impression of checkpatch
is that it catches newbie mistakes so unless it is trivial to run
checkpatch I don't expect I will run it because I don't expect to
tell me anything useful.
Eric
--
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