From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752398AbbCWNsl (ORCPT ); Mon, 23 Mar 2015 09:48:41 -0400 Received: from mail.us.es ([193.147.175.20]:56971 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752187AbbCWNsj convert rfc822-to-8bit (ORCPT ); Mon, 23 Mar 2015 09:48:39 -0400 X-Qmail-Scanner-Diagnostics: from 127.0.0.1 by antivirus2 (envelope-from , uid 501) with qmail-scanner-2.10 (clamdscan: 0.98.6/20227. spamassassin: 3.4.0. Clear:RC:1(127.0.0.1):SA:0(-103.2/7.5):. Processed in 1.963432 secs); 23 Mar 2015 13:48:38 -0000 X-Spam-ASN: AS12715 87.216.0.0/16 X-Envelope-From: pneira@us.es Date: Mon, 23 Mar 2015 14:52:35 +0100 From: Pablo Neira Ayuso To: Stephen Rothwell Cc: Joe Perches , David Miller , netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Patrick McHardy Subject: Re: [PATCH -next] netfilter: Use LOGLEVEL_ defines Message-ID: <20150323135235.GA7595@salvia> References: <20150323140841.0b807b95@canb.auug.org.au> <20150323124723.GA6740@salvia> <1427115331.16851.11.camel@perches.com> <20150323130638.GA6857@salvia> <1427117031.16851.16.camel@perches.com> <20150324003828.0eac53d9@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20150324003828.0eac53d9@canb.auug.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 24, 2015 at 12:38:28AM +1100, Stephen Rothwell wrote: > Hi Joe, > > On Mon, 23 Mar 2015 06:23:51 -0700 Joe Perches wrote: > > > > Use the #defines where appropriate. > > > > Signed-off-by: Joe Perches > > --- > > > > Perhaps all the .level = 4 uses should be LOGLEVEL_WARNING > > > > and .level = 5 should be LOGLEVEL_NOTICE > > > > > > Yes, we can push a follow up patch to net-next changing all these > > > spots in the netfilter tree. Would you send a patch for this? > > > > There are indirect includes of kern_levels.h but there are a > > lot of indirect includes of kernel.h in netfilter > > I am not sure what you are getting at here. kernel.h does not include > kern_levels.h (but printk.h does). I, for one, am always happier when > necessary include files are explicitly included. I would also prefer if you include the explicit header files in that patch too. Could you send us a v2? Please, Cc: netfilter-devel@vger.kernel.org Thanks.