Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8946506rwp; Wed, 19 Jul 2023 19:01:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlEmpG9+oYNp4E76W1FddqRYDRwFugQizM11K8cqQjDDyTwk5f/F62vewNS2sTfaKBbqe3g0 X-Received: by 2002:a17:906:1990:b0:991:fef4:bb7 with SMTP id g16-20020a170906199000b00991fef40bb7mr3009973ejd.73.1689818494032; Wed, 19 Jul 2023 19:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689818494; cv=none; d=google.com; s=arc-20160816; b=MisGY1A6BsBpEAaWdd72mPmKj3wllv2ScBnvNB1cdFKMPhjsi2+12dsVi4YKhX2GiV VUljxJGAjY97m364M+5TWFKQYTyCrvLVxEgSkhWHcNU26LN7m2jX4/z3zd8G15ZKHGiR xqO2TcWoEv0g1PidBu5B4oUKaxUq5h0F/3Y2zCd3CmnljZcaBOj+ERsbrh2rdd+cY9QZ /d1H678x84ceTe/eHniEFwHk3lQFMPkBC1BcUrLG3Jt6XdvuYVhoMdaU5yh7bCAoR1Pf 3Nfm8EFZuiwWzA4jo2dvQze16OwVeveD6iRSc5Ind1XxRyBfizyq43Y79+W0KuqrMda3 Z7sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=SAZUjTSnqutzFpn4J14th7/yqenF++TzjbaKwE79RLw=; fh=XWfcfcroRSZieowWqIIHavkrtv5VeGEqe210//Xen5U=; b=nVa9wUBccjZfW5j9ItdbBKX7wT4yih5iDz6UaI3QqmuuXlhkGGKgm1IgMMSfbbTKle vtYPo/IcYNNxEGr/Azwee5cip/y0DeZXbm9zZ7fPhteagPEEk91Sv0ILatPVmUvyf+us DXD/9vSJxpSvlx4uEvCSv3YGNHFAsvKPR2gujK394PaFLSOUmBEkjpgzSpyRMIrSc6Lq dR0adyDZ1FmUFqmULsVT7lVyrLitC19bQVFO3zl4vlFNx4B18FfqxWlNELuhvr7MmN6p UhvaZQTaY/3Wm+rpdXJ2d+yjVA7fTXsDVvVIiUs+GXbvQIXSznPxOkm6OyqWa7Aj7vzC iLzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qx21-20020a170906fcd500b00991f1e4b044si3463339ejb.336.2023.07.19.19.01.08; Wed, 19 Jul 2023 19:01:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbjGTBvv (ORCPT + 99 others); Wed, 19 Jul 2023 21:51:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjGTBvu (ORCPT ); Wed, 19 Jul 2023 21:51:50 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 043D61FDF; Wed, 19 Jul 2023 18:51:49 -0700 (PDT) Received: from dggpeml100024.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4R5wZM6hc7zNmVl; Thu, 20 Jul 2023 09:48:27 +0800 (CST) Received: from hulk-vt.huawei.com (10.67.174.26) by dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 20 Jul 2023 09:51:47 +0800 From: Xiu Jianfeng To: , CC: , Subject: [PATCH -next] audit: Include securiry.h unconditionally Date: Thu, 20 Jul 2023 01:50:32 +0000 Message-ID: <20230720015032.45960-1-xiujianfeng@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.26] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml100024.china.huawei.com (7.185.36.115) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ifdef-else logic is already in the header file, so include it unconditionally, no functional changes here. Signed-off-by: Xiu Jianfeng --- kernel/audit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 9bc0b0301198..45b2fb1e45af 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -53,9 +53,7 @@ #include #include #include -#ifdef CONFIG_SECURITY #include -#endif #include #include #include -- 2.34.1