Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6371729yba; Thu, 11 Apr 2019 18:46:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaN4KBxx1L2SteQBYk3muH/JzxvPNhgTunWAFjvaXEoPoivFcTcWeZ7QTL0Nv+tGJcco/w X-Received: by 2002:a63:f448:: with SMTP id p8mr47250060pgk.50.1555033580821; Thu, 11 Apr 2019 18:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555033580; cv=none; d=google.com; s=arc-20160816; b=L07NpJPIE9LzEghgw3pWMxaF2cd1ejkjOFXBPS7ygjE5AVYuX3tffNZ3+oJwlUb/vj pzkN+XYuIE99Y5lBOAbJbFQtqQoPh7MicnTXhqjhuZ/TfN4173FxVkywBclFGXlJmxOd KP+RwO91MWrEFTx2mkCeyMFfxSaY3jDPQQ9fmD49so68ft7Q+cBGGTL4+ikFcBFTsGpJ bzM4IL7qpxy93dFRDBTkEfjXgLOAl6oRjHi9iBcAbpLDKM6BWV//+BFQpmrFuMbafa1V AyyACG+BVjVIQEroPnZsxw8CCOpwK1nBOsQhI2RFhWI/jxbyejlZO+XfQEQlJt6/ZJal bk0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7cvtsbEK6xntAdRVV6ya31F7micqI8npDWjNEdxDL+M=; b=A7xAmpevm2jddh4Gh6s1tbfpQdi5kLTVYCBx86Yb5vsfS8HnUocUVJStV5LXUbRK9R Qg7TWr1FpiF853DB+rtQTs57P85LdGIAhUa+lAk/cHwDHhN3OwTeW1rKyRqqpiASEPtJ JdGNof+WHMe6VcVbpXn9QcMhFQEhXZQIk8rt6M8LQpzgvfnZd9DcLweARASzvDKTDhW6 W/qVStN0lowfJ6Iz9x5cVoAFxeCkEk8vqgh7y01nrfFjCdDn3B7b7PrFxq5NHdbXxWAo KEvCMG8KzZUOi5gKJfTC6xIryJ8GTd6B4oj4R4wLReDAt4GRaQePcvbn47ue8OFxtyuN +8qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=omNLPV9j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i33si35225125pgb.99.2019.04.11.18.45.59; Thu, 11 Apr 2019 18:46:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=omNLPV9j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726923AbfDLBoT (ORCPT + 99 others); Thu, 11 Apr 2019 21:44:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:54890 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726890AbfDLBoS (ORCPT ); Thu, 11 Apr 2019 21:44:18 -0400 Received: from sinanubuntu1604.mkjiurmyylmellclgttazegk5f.bx.internal.cloudapp.net (unknown [52.191.113.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1C490218A6; Fri, 12 Apr 2019 01:44:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555033458; bh=9wr/jFhWlWalbaQLZNk/fxfGFnQQXb94Qv0STyxqiFw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=omNLPV9jOyW9Y18dRE0id9XM1fQsVSRV4rb4+bPUaAUeIO+s+9dcwI4IqHjIKQaiP MdjsfPLSVaWnxk0SOWKG5sHhvssjFEtE6vnpf6R5kJjhvhZxuXvNe6uI5Gt9uInfDM vv5Gl+XyOHZaj5qW5V/vj4Cvki5J5nxOpdGhqfQA= From: Sinan Kaya To: linux-kernel@vger.kernel.org Cc: josh@joshtriplett.org, keescook@chromium.org, Sinan Kaya , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , netfilter-devel@vger.kernel.org (open list:NETFILTER), coreteam@netfilter.org (open list:NETFILTER), netdev@vger.kernel.org (open list:NETWORKING [GENERAL]) Subject: [PATCH v4 5/5] net: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC Date: Fri, 12 Apr 2019 01:43:55 +0000 Message-Id: <20190412014355.25307-6-okaya@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190412014355.25307-1-okaya@kernel.org> References: <20190412014355.25307-1-okaya@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CONFIG_DEBUG_KERNEL should not impact code generation. Use the newly defined CONFIG_DEBUG_MISC instead to keep the current code. Signed-off-by: Sinan Kaya --- net/netfilter/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/core.c b/net/netfilter/core.c index 93aaec3a54ec..cac3bad47f5e 100644 --- a/net/netfilter/core.c +++ b/net/netfilter/core.c @@ -162,7 +162,7 @@ nf_hook_entries_grow(const struct nf_hook_entries *old, static void hooks_validate(const struct nf_hook_entries *hooks) { -#ifdef CONFIG_DEBUG_KERNEL +#ifdef CONFIG_DEBUG_MISC struct nf_hook_ops **orig_ops; int prio = INT_MIN; size_t i = 0; -- 2.21.0