From patchwork Wed Oct 12 11:44:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggil Song X-Patchwork-Id: 13004972 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9C33C433FE for ; Wed, 12 Oct 2022 11:44:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0062D6B0071; Wed, 12 Oct 2022 07:44:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EF74D6B0073; Wed, 12 Oct 2022 07:44:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D73136B0074; Wed, 12 Oct 2022 07:44:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id C11506B0071 for ; Wed, 12 Oct 2022 07:44:38 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 8F26414082E for ; Wed, 12 Oct 2022 11:44:38 +0000 (UTC) X-FDA: 80012115036.19.279A2D4 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by imf03.hostedemail.com (Postfix) with ESMTP id 6D1EA2001C for ; Wed, 12 Oct 2022 11:44:36 +0000 (UTC) Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221012114433epoutp022dabe42cfb26180ee8718c3e521fd39b~dT7RjK0q81023910239epoutp02n for ; Wed, 12 Oct 2022 11:44:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221012114433epoutp022dabe42cfb26180ee8718c3e521fd39b~dT7RjK0q81023910239epoutp02n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1665575073; bh=UufJyg2PI/ZyXKKoeZVtIkjKAjo+Ytd/0dZ8TWXNLwA=; h=Subject:Reply-To:From:To:Date:References:From; b=VWftrKD9K5Q1HY8IZQMoGZbC47WgU6XQwp6TCyjRFzc1ni2IT0D00tkOz14JiqmcL cE5TuOCC8Nj2zsP3b4Ak46qxBTnOwTVrotfVXD0NHEEWXA/ca2SQ6JgAv9TTthrZ7F gzEVEdWWjJdGsrRt4lw4mz9XPDidJSJs/mUq0N3s= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20221012114433epcas2p1bce86b0c75673b1e44cb28409091fdc3~dT7ROH91o0477004770epcas2p1Z; Wed, 12 Oct 2022 11:44:33 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.69]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4MnW5r3mPpz4x9Pw; Wed, 12 Oct 2022 11:44:32 +0000 (GMT) X-AuditID: b6c32a47-873ff70000002127-b5-6346a8a0091b Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 25.E5.08487.0A8A6436; Wed, 12 Oct 2022 20:44:32 +0900 (KST) Mime-Version: 1.0 Subject: [PATCH] mm: Fix a pointer coding style in linux/mm.h Reply-To: yonggil.song@samsung.com From: Yonggil Song To: "akpm@linux-foundation.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20221012114431epcms2p300e2de357b68c9ae0a04a60b34f3dc18@epcms2p3> Date: Wed, 12 Oct 2022 20:44:31 +0900 X-CMS-MailID: 20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/6hkuHoLs6AfyF/04P2T93U w5vrb72vafpN96Yz+/et7vOp01lluu3jCQ8dDp5YyeWaVya9b9x6xLKiPm99tG5Cza+CGw7b 56T7Hr7TqeCZ6BaXtDn/ofSziOr310r8BdLum2dUz/ipel2y4vML8Zqn69xE1vJnRZS6Mqbx VklatJcbHf1rGFxZoPTGojLncMa8GfkCSizFGYmGWsxFxYkAhSdvsfcDAAA= DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221012114431epcms2p300e2de357b68c9ae0a04a60b34f3dc18 References: ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=samsung.com header.s=mail20170921 header.b=VWftrKD9; spf=pass (imf03.hostedemail.com: domain of yonggil.song@samsung.com designates 203.254.224.25 as permitted sender) smtp.mailfrom=yonggil.song@samsung.com; dmarc=pass (policy=none) header.from=samsung.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665575077; a=rsa-sha256; cv=none; b=XD/8wNnkCkCzIUO3m/0Jiwq8ryrrzLOmaAsLAWE9xzuUwgevs8OqggZdpKCMr7PKeWXsYl 793OMLfqxRLP7KQo1JFqaf2q+hVQx+VrVSQUbZOn+bq35IHkjksn4O7X4tEK+iTr50Pb8Y xmFAhQkHgifheiqdVvR+1Hak8UBc3+s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665575077; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:references:dkim-signature; bh=UufJyg2PI/ZyXKKoeZVtIkjKAjo+Ytd/0dZ8TWXNLwA=; b=kacZ5Q16yzpB4kW4Oodm0JzLz2YalyFT/gvnjt+uiqjZ3U88E/ZZHvNw0aXTDntz5zWIj4 JKbsmA3Y3rgOemP6i6fmgmncqWp3r/cuSy74iZ82AsYtgXZXM75A+skqrCcNz/9GWyQmBm PJap6LOLEO53U7VNnN4e4VuPA/584cw= X-Rspamd-Server: rspam05 X-Rspam-User: Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=samsung.com header.s=mail20170921 header.b=VWftrKD9; spf=pass (imf03.hostedemail.com: domain of yonggil.song@samsung.com designates 203.254.224.25 as permitted sender) smtp.mailfrom=yonggil.song@samsung.com; dmarc=pass (policy=none) header.from=samsung.com X-Stat-Signature: rohh19zq6ypskuc34c9oz8ackfi6knpa X-Rspamd-Queue-Id: 6D1EA2001C X-HE-Tag: 1665575076-879440 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Remove white space after pointer in linux/mm.h Signed-off-by: Yonggil Song --- include/linux/mm.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 8bbcccbc5565..d0c79446247c 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -72,7 +72,7 @@ static inline void totalram_pages_add(long count) atomic_long_add(count, &_totalram_pages); } -extern void * high_memory; +extern void *high_memory; extern int page_cluster; #ifdef CONFIG_SYSCTL @@ -537,12 +537,12 @@ enum page_entry_size { * to the functions called when a no-page or a wp-page exception occurs. */ struct vm_operations_struct { - void (*open)(struct vm_area_struct * area); + void (*open)(struct vm_area_struct *area); /** * @close: Called when the VMA is being removed from the MM. * Context: User context. May sleep. Caller holds mmap_lock. */ - void (*close)(struct vm_area_struct * area); + void (*close)(struct vm_area_struct *area); /* Called any time before splitting to check if it's allowed */ int (*may_split)(struct vm_area_struct *area, unsigned long addr); int (*mremap)(struct vm_area_struct *area); @@ -558,7 +558,7 @@ struct vm_operations_struct { enum page_entry_size pe_size); vm_fault_t (*map_pages)(struct vm_fault *vmf, pgoff_t start_pgoff, pgoff_t end_pgoff); - unsigned long (*pagesize)(struct vm_area_struct * area); + unsigned long (*pagesize)(struct vm_area_struct *area); /* notification that a previously read-only page is about to become * writable, if an error is returned it will cause a SIGBUS */ @@ -920,7 +920,7 @@ enum compound_dtor_id { #endif NR_COMPOUND_DTORS, }; -extern compound_page_dtor * const compound_page_dtors[NR_COMPOUND_DTORS]; +extern compound_page_dtor *const compound_page_dtors[NR_COMPOUND_DTORS]; static inline void set_compound_page_dtor(struct page *page, enum compound_dtor_id compound_dtor) @@ -2597,7 +2597,7 @@ static inline void show_mem(unsigned int flags, nodemask_t *nodemask) __show_mem(flags, nodemask, MAX_NR_ZONES - 1); } extern long si_mem_available(void); -extern void si_meminfo(struct sysinfo * val); +extern void si_meminfo(struct sysinfo *val); extern void si_meminfo_node(struct sysinfo *val, int nid); #ifdef __HAVE_ARCH_RESERVED_KERNEL_PAGES extern unsigned long arch_reserved_kernel_pages(void); @@ -2793,8 +2793,8 @@ extern int expand_upwards(struct vm_area_struct *vma, unsigned long address); #endif /* Look up the first VMA which satisfies addr < vm_end, NULL if none. */ -extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr); -extern struct vm_area_struct * find_vma_prev(struct mm_struct * mm, unsigned long addr, +extern struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr); +extern struct vm_area_struct *find_vma_prev(struct mm_struct *mm, unsigned long addr, struct vm_area_struct **pprev); /* @@ -3220,7 +3220,7 @@ void drop_slab(void); extern int randomize_va_space; #endif -const char * arch_vma_name(struct vm_area_struct *vma); +const char *arch_vma_name(struct vm_area_struct *vma); #ifdef CONFIG_MMU void print_vma_addr(char *prefix, unsigned long rip); #else @@ -3230,7 +3230,7 @@ static inline void print_vma_addr(char *prefix, unsigned long rip) #endif void *sparse_buffer_alloc(unsigned long size); -struct page * __populate_section_memmap(unsigned long pfn, +struct page *__populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap); pgd_t *vmemmap_pgd_populate(unsigned long addr, int node);