Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753995Ab3DMNCX (ORCPT ); Sat, 13 Apr 2013 09:02:23 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:39369 "EHLO e23smtp01.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753361Ab3DMNCC (ORCPT ); Sat, 13 Apr 2013 09:02:02 -0400 From: Wanpeng Li To: Greg Kroah-Hartman Cc: Dan Magenheimer , Seth Jennings , Konrad Rzeszutek Wilk , Minchan Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Bob Liu , Wanpeng Li Subject: [PATCH PART3 v4 5/6] staging: zcache/debug: fix coding style Date: Sat, 13 Apr 2013 21:01:31 +0800 Message-Id: <1365858092-21920-6-git-send-email-liwanp@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1365858092-21920-1-git-send-email-liwanp@linux.vnet.ibm.com> References: <1365858092-21920-1-git-send-email-liwanp@linux.vnet.ibm.com> X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13041312-1618-0000-0000-000003AE2378 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4359 Lines: 124 Fix coding style issue: ERROR: space prohibited before that '++' (ctx:WxO) and line beyond 8 characters. Acked-by: Dan Magenheimer Signed-off-by: Wanpeng Li --- drivers/staging/zcache/debug.h | 95 ++++++++++++++++++++++++++++++++-------- 1 file changed, 76 insertions(+), 19 deletions(-) diff --git a/drivers/staging/zcache/debug.h b/drivers/staging/zcache/debug.h index ddad92f..8088d28 100644 --- a/drivers/staging/zcache/debug.h +++ b/drivers/staging/zcache/debug.h @@ -174,26 +174,83 @@ extern ssize_t zcache_writtenback_pages; extern ssize_t zcache_outstanding_writeback_pages; #endif -static inline void inc_zcache_flush_total(void) { zcache_flush_total ++; }; -static inline void inc_zcache_flush_found(void) { zcache_flush_found ++; }; -static inline void inc_zcache_flobj_total(void) { zcache_flobj_total ++; }; -static inline void inc_zcache_flobj_found(void) { zcache_flobj_found ++; }; -static inline void inc_zcache_failed_eph_puts(void) { zcache_failed_eph_puts ++; }; -static inline void inc_zcache_failed_pers_puts(void) { zcache_failed_pers_puts ++; }; -static inline void inc_zcache_failed_getfreepages(void) { zcache_failed_getfreepages ++; }; -static inline void inc_zcache_failed_alloc(void) { zcache_failed_alloc ++; }; -static inline void inc_zcache_put_to_flush(void) { zcache_put_to_flush ++; }; -static inline void inc_zcache_compress_poor(void) { zcache_compress_poor ++; }; -static inline void inc_zcache_mean_compress_poor(void) { zcache_mean_compress_poor ++; }; -static inline void inc_zcache_eph_ate_tail(void) { zcache_eph_ate_tail ++; }; -static inline void inc_zcache_eph_ate_tail_failed(void) { zcache_eph_ate_tail_failed ++; }; -static inline void inc_zcache_pers_ate_eph(void) { zcache_pers_ate_eph ++; }; -static inline void inc_zcache_pers_ate_eph_failed(void) { zcache_pers_ate_eph_failed ++; }; -static inline void inc_zcache_evicted_eph_zpages(unsigned zpages) { zcache_evicted_eph_zpages += zpages; }; -static inline void inc_zcache_evicted_eph_pageframes(void) { zcache_evicted_eph_pageframes ++; }; +static inline void inc_zcache_flush_total(void) +{ + zcache_flush_total++; +}; +static inline void inc_zcache_flush_found(void) +{ + zcache_flush_found++; +}; +static inline void inc_zcache_flobj_total(void) +{ + zcache_flobj_total++; +}; +static inline void inc_zcache_flobj_found(void) +{ + zcache_flobj_found++; +}; +static inline void inc_zcache_failed_eph_puts(void) +{ + zcache_failed_eph_puts++; +}; +static inline void inc_zcache_failed_pers_puts(void) +{ + zcache_failed_pers_puts++; +}; +static inline void inc_zcache_failed_getfreepages(void) +{ + zcache_failed_getfreepages++; +}; +static inline void inc_zcache_failed_alloc(void) +{ + zcache_failed_alloc++; +}; +static inline void inc_zcache_put_to_flush(void) +{ + zcache_put_to_flush++; +}; +static inline void inc_zcache_compress_poor(void) +{ + zcache_compress_poor++; +}; +static inline void inc_zcache_mean_compress_poor(void) +{ + zcache_mean_compress_poor++; +}; +static inline void inc_zcache_eph_ate_tail(void) +{ + zcache_eph_ate_tail++; +}; +static inline void inc_zcache_eph_ate_tail_failed(void) +{ + zcache_eph_ate_tail_failed++; +}; +static inline void inc_zcache_pers_ate_eph(void) +{ + zcache_pers_ate_eph++; +}; +static inline void inc_zcache_pers_ate_eph_failed(void) +{ + zcache_pers_ate_eph_failed++; +}; +static inline void inc_zcache_evicted_eph_zpages(unsigned zpages) +{ + zcache_evicted_eph_zpages += zpages; +}; +static inline void inc_zcache_evicted_eph_pageframes(void) +{ + zcache_evicted_eph_pageframes++; +}; -static inline void inc_zcache_eph_nonactive_puts_ignored(void) { zcache_eph_nonactive_puts_ignored ++; }; -static inline void inc_zcache_pers_nonactive_puts_ignored(void) { zcache_pers_nonactive_puts_ignored ++; }; +static inline void inc_zcache_eph_nonactive_puts_ignored(void) +{ + zcache_eph_nonactive_puts_ignored++; +}; +static inline void inc_zcache_pers_nonactive_puts_ignored(void) +{ + zcache_pers_nonactive_puts_ignored++; +}; int zcache_debugfs_init(void); #else -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/