From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Liu Subject: [PATCH] quota: fix checkpatch.pl warnning by replacing with Date: Mon, 28 May 2012 23:40:17 +0800 Message-ID: <4FC39C61.3020608@oracle.com> Reply-To: jeff.liu@oracle.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Jan Kara To: "linux-fsdevel@vger.kernel.org" Return-path: Received: from acsinet15.oracle.com ([141.146.126.227]:37046 "EHLO acsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214Ab2E1Pkd (ORCPT ); Mon, 28 May 2012 11:40:33 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, checkpatch.pl raise warnning info when I checking a patch for quota stuff which was shown as following: "WARNING: Use #include instead of " Below patch can fix it, thanks. Signed-off-by: Jie Liu --- fs/quota/dquot.c | 2 +- fs/quota/quota.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 10cbe84..0c541dc 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c @@ -78,7 +78,7 @@ #include #include "../internal.h" /* ugh */ -#include +#include /* * There are three quota SMP locks. dq_list_lock protects all lists with quotas diff --git a/fs/quota/quota.c b/fs/quota/quota.c index 40f381e..6943e1d 100644 --- a/fs/quota/quota.c +++ b/fs/quota/quota.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include #include -- 1.7.9