[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5189E188.6060801@cn.fujitsu.com>
Date: Wed, 08 May 2013 13:24:24 +0800
From: Gao feng <gaofeng@...fujitsu.com>
To: Matt Helsley <matthltc@...ux.vnet.ibm.com>
CC: viro@...iv.linux.org.uk, eparis@...hat.com, ebiederm@...ssion.com,
sgrubb@...hat.com, akpm@...ux-foundation.org,
serge.hallyn@...ntu.com, davem@...emloft.net,
netdev@...r.kernel.org, containers@...ts.linux-foundation.org,
linux-audit@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC 10/48] Audit: change type of audit_ever_enabled to
bool
On 05/08/2013 10:06 AM, Matt Helsley wrote:
> On Tue, May 07, 2013 at 10:20:31AM +0800, Gao feng wrote:
>> It's better to define audit_ever_enabled as bool
>>
>> Signed-off-by: Gao feng <gaofeng@...fujitsu.com>
>> ---
>> kernel/audit.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/kernel/audit.c b/kernel/audit.c
>> index 4595a9e..1138ff5 100644
>> --- a/kernel/audit.c
>> +++ b/kernel/audit.c
>> @@ -76,7 +76,7 @@ static int audit_initialized;
>> #define AUDIT_OFF 0
>> #define AUDIT_ON 1
>> #define AUDIT_LOCKED 2
>> -int audit_ever_enabled;
>> +bool audit_ever_enabled;
>
> I think you're better off placing this at the beginning of the series
> and submitting it separately since it's only incidentally related to
> this RFC.
>
Thanks for your suggestion. will send these cleanup patches separately.
Thanks
Gao
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists