From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751619AbbLMJJv (ORCPT ); Sun, 13 Dec 2015 04:09:51 -0500 Received: from mail113-251.mail.alibaba.com ([205.204.113.251]:38278 "EHLO us-alimail-mta1.hst.scl.en.alidc.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751210AbbLMJJr (ORCPT ); Sun, 13 Dec 2015 04:09:47 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07661664|-1;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03312;MF=chengang@emindsoft.com.cn;NM=1;PH=DS;RN=6;RT=6;SR=0;TI=SMTPD_----4LDUA4A_1449997396; Message-ID: <566D3507.9050204@emindsoft.com.cn> Date: Sun, 13 Dec 2015 17:06:15 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: arnd@arndb.de, trivial@kernel.org CC: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Chen Gang , chenwei@emindsoft.com.cn Subject: [PATCH trivial] include/asm-generic/tlb.h: Notice about the coding style Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Notice about 80 columns. Notice about function parameter alignment. Append 'UL' to hard code numbers which are related with the unsigned long variables. Signed-off-by: Chen Gang --- include/asm-generic/tlb.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h index 9dbb739..3fc72bd 100644 --- a/include/asm-generic/tlb.h +++ b/include/asm-generic/tlb.h @@ -111,10 +111,11 @@ struct mmu_gather { #define HAVE_GENERIC_MMU_GATHER -void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, unsigned long start, unsigned long end); +void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, + unsigned long start, unsigned long end); void tlb_flush_mmu(struct mmu_gather *tlb); void tlb_finish_mmu(struct mmu_gather *tlb, unsigned long start, - unsigned long end); + unsigned long end); int __tlb_remove_page(struct mmu_gather *tlb, struct page *page); /* tlb_remove_page @@ -137,10 +138,10 @@ static inline void __tlb_adjust_range(struct mmu_gather *tlb, static inline void __tlb_reset_range(struct mmu_gather *tlb) { if (tlb->fullmm) { - tlb->start = tlb->end = ~0; + tlb->start = tlb->end = ~0UL; } else { tlb->start = TASK_SIZE; - tlb->end = 0; + tlb->end = 0UL; } } -- 1.9.3