Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp477620ybv; Fri, 7 Feb 2020 03:00:52 -0800 (PST) X-Google-Smtp-Source: APXvYqw/uqC71rS9s/9cIFn4yO0CYk9hHuH/Z4OA7ZJgK9R0QXs7iVYly2nUafVMZn5Wi9DXrDZQ X-Received: by 2002:a9d:5786:: with SMTP id q6mr2160438oth.164.1581073252188; Fri, 07 Feb 2020 03:00:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581073252; cv=none; d=google.com; s=arc-20160816; b=ks3SNVqdGPJmbE6T1Fv6l8NrWcz55GYADd8kqfhemm+S8eph5Q2gdOg1tVeFQgqvYW PbLmyddDDZtvT7NMaWUa/d8lfmMuYkfGaspv95IqoEyKAuBwmuk6zIUDNX8w8vyIpf6I n9+M0uehxThWGgL60A1U0Vd7liOhhK96a2tNSvA9E0c7SbEyif6FBHh90+CIlOy3AcxV IxCcuDnmwPCzziBiJwYBU7Sc2MIspdGlRtj0XqY6EaK2whVQjcZaf30/Z8L7jSPvZska 9kfxnSgtQNka+n1+hreH8i4HqrBtcn1168y6LcRy6yqmhuF4a5sC8d4+ZTBr2g+3C7Nu /C/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=g45UVKj/sbR0VFtVjENGgy+CS+CaX23k1N7JQHmw8q4=; b=WI1bYSrxxQu4zRQk0i4Qb1Ei9HOql9ROFwWjYcGtR5I+yUPYRhU6tbuKHV2aFbO5Zc BbeCvjF1eAlwefEU9UsvKc+RZYdAIPqCtQ2+RqYa70N60Rd2eqp5d9049CCFQA08Qciz 4suUmkjGaLNK1MjLu8j85ws+2DrAiSkcupg7eyQYbDzHBxt9GGryIWKUjRFyX+tHWd3F +r0X9EpxShf1UWN+cCABPqWjl1bhon7T6bfG0FIEZqQAmWoB2UzKgJIrXTFolADBg4rR hUM+c2PDKhQ0RKIKjtzgM2LQwan27jNHLe9gaqCcIWIlnhOnoTjQzE+1eSu3vaOFIw83 dNEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si1503709otn.232.2020.02.07.03.00.38; Fri, 07 Feb 2020 03:00:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727129AbgBGK7k (ORCPT + 99 others); Fri, 7 Feb 2020 05:59:40 -0500 Received: from smtprelay0087.hostedemail.com ([216.40.44.87]:57265 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726798AbgBGK7k (ORCPT ); Fri, 7 Feb 2020 05:59:40 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 49042182CF666; Fri, 7 Feb 2020 10:59:39 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:599:968:988:989:1260:1277:1311:1313:1314:1345:1359:1381:1437:1515:1516:1518:1534:1539:1568:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3865:3867:4321:5007:10004:10400:10848:11026:11232:11473:11658:11914:12043:12048:12297:12438:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21611:21627:21990:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: unit22_19eb947281c49 X-Filterd-Recvd-Size: 1521 Received: from XPS-9350.home (unknown [47.151.143.254]) (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Fri, 7 Feb 2020 10:59:38 +0000 (UTC) Message-ID: Subject: Re: [PATCH 2/2] riscv: adjust the indent From: Joe Perches To: Zong Li , paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Date: Fri, 07 Feb 2020 02:58:25 -0800 In-Reply-To: <20200207095245.21955-3-zong.li@sifive.com> References: <20200207095245.21955-1-zong.li@sifive.com> <20200207095245.21955-3-zong.li@sifive.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-02-07 at 17:52 +0800, Zong Li wrote: > Adjust the indent to match Linux coding style. trivia: > diff --git a/arch/riscv/mm/kasan_init.c b/arch/riscv/mm/kasan_init.c [] > @@ -86,7 +89,8 @@ void __init kasan_init(void) > unsigned long i; > > kasan_populate_early_shadow((void *)KASAN_SHADOW_START, > - (void *)kasan_mem_to_shadow((void *)VMALLOC_END)); > + (void *)kasan_mem_to_shadow((void *) > + VMALLOC_END)); could also remove an unnecessary (void *) as kasan_mem_to_shadow returns a void * kasan_populate_early_shadow((void *)KASAN_SHADOW_START, kasan_mem_to_shadow((void *)VMALLOC_END));