Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752629Ab3DLDyn (ORCPT ); Thu, 11 Apr 2013 23:54:43 -0400 Received: from sjdciscan02.udc.trendmicro.com ([66.180.82.18]:57717 "EHLO sjdciscan02.udc.trendmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751655Ab3DLDym (ORCPT ); Thu, 11 Apr 2013 23:54:42 -0400 X-Greylist: delayed 1560 seconds by postgrey-1.27 at vger.kernel.org; Thu, 11 Apr 2013 23:54:42 EDT From: "yongjun_wei@trendmicro.com.cn" To: Eric Paris , Wei Yongjun CC: "viro@zeniv.linux.org.uk" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH -next] audit: remove duplicated include from audit.c Thread-Topic: [PATCH -next] audit: remove duplicated include from audit.c Thread-Index: Ac43Lc94QGubB33dQHGvphSp1r0KFg== Date: Fri, 12 Apr 2013 03:28:34 +0000 Message-ID: References: <170253117.11083340.1365614765343.JavaMail.root@redhat.com> In-Reply-To: <170253117.11083340.1365614765343.JavaMail.root@redhat.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.64.44.136] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-TM-AS-MML: No X-TM-AS-Product-Ver: IMSVA-8.2.0.1679-7.0.0.1014-19792.004 X-TMASE-Version: IMSVA-8.2.0.1679-7.0.1014-19792.004 X-TMASE-Result: 10--31.483400-5.000000 X-TMASE-MatchedRID: hye8xZuNxhC8GTsHd+EMkBk4wcN85RIuAya39voTToV7k1ZHmKLF7a6x L0KIHMvxyWCL+8tLbvb6viSyhRDzBf1BNBACQf6m81jB92PyJHSKOc/QAD5CQczWN98iBBeGKWP nYJ5Ay2pbIM8dAZrOYJBn0Y6NyRFoM21CreAEMZgQkEWOYEwCV94I2x3xsCoojhXy0Khej9JUEN BIMyKD0aq9wgXVNwtgmE/wZ0tmNYbz39bev2BML83cbPzvuBsp9JCRdcMOvVlWdBPqAOaXVavd3 WuZF0KAAoI6+29MrRlXeicg/7kQMH2VMDa97gjg/tVkYhEwz5onJ7hwR4FMAE+4wmL9kCTxLi2d wKiMR9wUcciLnfRUUi57hWH2lkqmoTCA5Efyn8DeYfIaXhttiN0H8LFZNFG7JQhrLH5KSJ0= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id r3C3skbO010431 Content-Length: 2316 Lines: 67 Hi Eric, Sorry reply on top. >From the source code from linex-next.git tree, line 55~64: #include #include ******* #include #ifdef CONFIG_SECURITY #include #endif #include ******* #include #include #include net/netlink.h is included twice, and linux/netlink.h is not included by this file. -----Original Message----- From: Eric Paris [mailto:eparis@redhat.com] Sent: 2013年4月11日 1:26 To: Wei Yongjun Cc: viro@zeniv.linux.org.uk; Yongjun Wei (RD-CN); linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] audit: remove duplicated include from audit.c net/netlink.h includes linux/netlink.h but linux/netlink.h does not include net/netlink.h since the audit code uses the nlmsg_* functions provided in net/netlink.h it seems we need this include. since the audit code uses netlink_unicast provided in linux/netlink.h it seems we need that include. I don't see duplication even if by chance one of them would have included the other... ----- Original Message ----- > From: Wei Yongjun > > Remove duplicated include. > > Signed-off-by: Wei Yongjun > --- > kernel/audit.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/kernel/audit.c b/kernel/audit.c index 488f85f..9377913 > 100644 > --- a/kernel/audit.c > +++ b/kernel/audit.c > @@ -58,7 +58,6 @@ > #ifdef CONFIG_SECURITY > #include > #endif > -#include > #include > #include > #include > >
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential 
and may be subject to copyright or other intellectual property protection. 
If you are not the intended recipient, you are not authorized to use or 
disclose this information, and we request that you notify us by reply mail or
telephone and delete the original message from your mail system.
????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?