From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6B91C07E95 for ; Fri, 16 Jul 2021 12:30:24 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E21D6115A for ; Fri, 16 Jul 2021 12:30:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E21D6115A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=hotmail.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=linux-audit-bounces@redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-515-n9KxJ6GPPYWG88-IfsvvFg-1; Fri, 16 Jul 2021 08:30:21 -0400 X-MC-Unique: n9KxJ6GPPYWG88-IfsvvFg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 70261100C618; Fri, 16 Jul 2021 12:30:17 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 467E160C13; Fri, 16 Jul 2021 12:30:16 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A6D6E1809C99; Fri, 16 Jul 2021 12:30:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 16B2w5Yg000865 for ; Sat, 10 Jul 2021 22:58:05 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2F96BEAFBE; Sun, 11 Jul 2021 02:58:05 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 284DEEE393 for ; Sun, 11 Jul 2021 02:58:02 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4DCEE800B28 for ; Sun, 11 Jul 2021 02:58:02 +0000 (UTC) Received: from AUS01-ME3-obe.outbound.protection.outlook.com (mail-me3aus01olkn2161.outbound.protection.outlook.com [40.92.63.161]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-545-DnD5lNHQPx6hfuCjVHxzog-1; Sat, 10 Jul 2021 22:57:59 -0400 X-MC-Unique: DnD5lNHQPx6hfuCjVHxzog-1 Received: from ME2PR01MB5458.ausprd01.prod.outlook.com (2603:10c6:220:d1::12) by ME2PR01MB5587.ausprd01.prod.outlook.com (2603:10c6:220:d8::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.23; Sun, 11 Jul 2021 02:57:55 +0000 Received: from ME2PR01MB5458.ausprd01.prod.outlook.com ([fe80::f513:8683:25b1:47e8]) by ME2PR01MB5458.ausprd01.prod.outlook.com ([fe80::f513:8683:25b1:47e8%9]) with mapi id 15.20.4308.026; Sun, 11 Jul 2021 02:57:54 +0000 From: mayuming77@hotmail.com To: linux-audit@redhat.com Subject: [PATCH] Audit: fix coding style Date: Sun, 11 Jul 2021 10:57:47 +0800 Message-ID: X-TMN: [37MkllRi5p4FKxh0cRK4PmMRDH2ZEWA4] X-ClientProxiedBy: HK2PR0302CA0015.apcprd03.prod.outlook.com (2603:1096:202::25) To ME2PR01MB5458.ausprd01.prod.outlook.com (2603:10c6:220:d1::12) X-Microsoft-Original-Message-ID: <1625972267-21782-1-git-send-email-mayuming77@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (222.128.10.67) by HK2PR0302CA0015.apcprd03.prod.outlook.com (2603:1096:202::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.4331.10 via Frontend Transport; Sun, 11 Jul 2021 02:57:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 263c5250-4891-40bf-c754-08d94417ae1c X-MS-Exchange-SLBlob-MailProps: Eluf6BVNkXnACbBZSQ383PRTAvA8ICJ35hsFpN0oufWgZ0FX/SCmsur4sYT3QcMXE+YoY4J5BrVrFtbfMGjAMdf+esOHy3a5ETBDYjY306JW9MCu6nvCagGUugvhJnVyqq2IwxOHT5BINFaWHeUdQ+vKi/RFIwOPVNTLlhe4/Sa0bhemNuGWDsd5AxUpE6TuZedutKEGdvRm2XSRLsXxdZyp25EgWzYxB1pkYGac6Cqr1Jl+2tFg3K2mWCugjSw/FIg6vWKQ9cmIK/hYpZATkteUsOaxkAvsj/hH63RWlgA1Jyu46i6zvgqFA+HvIteEbAxKXY79blf7qS0+VczkauKAz6H+OAG76o4azjRvimJOk2GrlW6exegdJjWUIvrXzaFaxrglplJcmBC92RBfB9lwNYiRjlUBN5UxK8QtyaAYYMBSo/mOf1jk47KKn6NjJQ0FPKlTaNj7o2k6Dn9PsjY/O/YZoNjvZKs3q5vCvDA1G1T5x73wGA0w9LeuTiZsJtC4V1AxaXvZSmP4L8nMn+WU1gOQGegh8UR7s3yZkOn1RdfNKfxhVBfg4ojv7Krq5+xEBbjFpqrg2wEuDIpu0cBF9XAIP0bdbj4SsHKj+81dGjiXChpEdhp44C7kYdC/2nVox39lvniQwu0MU3y/BfSDlNndjiE3 X-MS-TrafficTypeDiagnostic: ME2PR01MB5587: X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: C+YkYI4ACKQ6T8JZgPkD1HfnPg4wXDSiR1wnFY0oGUCBnnQSNTerQMY2gE6PgfQu1ejRMP9Wqx2HHjx8F/QLNPqtF/Dbe/n6meB1nJXNm4By0aR6eVpYu4qnVs65kS3Y9cZ2g5EYpiXqpLZ6yq9sEAmzo1o5XkFQy0F/tGBDO1NosmHmf1Ddv89sd335e4lK/4wjZO3QmwrNIZS/T49yohk2YweqALv58dT3Qe/CbIYQHbfSTZK7A4tCCVQmq/6gRzyUPUVUZqwJdPXb5jKCz1WFCNVe52ZfSazVRcRpbEgC8sXMfw3ihl8f7heuI/hCtq8UG1W3sLyF8of0p108BPoSz8V+UCcckX0JBB6EqGKYRVLKymO83xJJdyGmSiqDHgVvBu4YQB/U0r5V67xUVmgVNkOiueeY6ixARLgpiyCrxJDo0VyN7+uQATytAHrU X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rJV70xlcRX6m0UP6bWfeSHVjh/2KTptEilvHNWUPUJU8aSrxX3yjpLZQxAWBW93PkGdYxZveFd2x1aG/bJJsSrEIPzrQQpy3ljqN8vWSCjkLFQWAUIeLqBnzJGtDxu0fKePzBVbpzhqAtlJC3zvyVw== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-adb55.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 263c5250-4891-40bf-c754-08d94417ae1c X-MS-Exchange-CrossTenant-AuthSource: ME2PR01MB5458.ausprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2021 02:57:54.9537 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME2PR01MB5587 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: linux-audit@redhat.com X-Mailman-Approved-At: Fri, 16 Jul 2021 08:30:13 -0400 Cc: linux-kernel@vger.kernel.org, MaYuming X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: MaYuming avoid include file to multi include. Signed-off-by: MaYuming --- kernel/audit.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/audit.h b/kernel/audit.h index b565ea1..d6a2c89 100644 --- a/kernel/audit.h +++ b/kernel/audit.h @@ -6,6 +6,9 @@ * Copyright 2005 IBM Corporation */ +#ifndef _KERNEL_AUDIT_H_ +#define _KERNEL_AUDIT_H_ + #include #include #include @@ -331,3 +334,5 @@ extern int audit_filter(int msgtype, unsigned int listtype); extern void audit_ctl_lock(void); extern void audit_ctl_unlock(void); + +#endif -- 2.7.4 -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit