Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1558576ybv; Sat, 8 Feb 2020 00:46:06 -0800 (PST) X-Google-Smtp-Source: APXvYqyXTeLkTCcyr5yCeFiyGxcXcZPTdQjksjO4wAyqvrkkRsLA9haMa+ah3QXy7ONB/THt4Ou1 X-Received: by 2002:aca:5582:: with SMTP id j124mr4593547oib.20.1581151566385; Sat, 08 Feb 2020 00:46:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581151566; cv=none; d=google.com; s=arc-20160816; b=PeYv61WL8yaiNArjbF0XZj5Geza2hpwzb+v0uaFwGz3MzoIcpEEgE9Uc7116F8HI7y 66hXTZ757oe3f1jfg3EmiY2uf7vzSo/MtBfRDRgf5K0VGO4Lxgu/8cVs1InA1J4NdaqL zlGNxPGQ7AfkQ5aSR/xDNxTsknk2XuxcMK7KPP+D4QFs+T8CGKkZPaT2xSOceIZScyKI UBY2zvl3nUzlkqJPW1k2hgOpPusSL15Il3lfwaN72MhYyeVbUrTYLRYspjQpBUJoMWw0 Ju09ddWWj6mJR7RW/cS5YTs3Pnv9pX0YLnM504Zq29o7Ec9jZD1GVKitG7ZscMBlANf1 XiXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oZha96z8rVZYcs0zGmqsrfRmZlzEIuB6POHU7WyI7S4=; b=wLBLdDVPoLadSQfSr7yuZSBBWeJB9WEnhHh6O8zbqBuuMuxNUziZY8TCqQUUrffDZJ fIaHfBW5OcHOB4ge16y0ye8kPGsJ9Jl7UOiUFO2ERXwrNQDQchmoTGrk6KaFpa+40sYi FJD8Eclxx2sBYvcGpyDBynKs1jNoU6focJpATn14tFFR1y3m61dBMHX38BGwRQpoFD+z 2mJltQH9D4ryXQHOBN3CXDHd6M0Zbl9iS0hx/+HlQARPkjD1J/q4fWnN8/aRTVaeeBX2 i3KEiu37A5aG2ouLtzpwZCsfnjkWxcP1vqJJx3c6liukFG8upLwSPa5xveRpxYwlMg4+ 5AFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=G7nrdJE6; 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 l17si1170827otq.59.2020.02.08.00.45.53; Sat, 08 Feb 2020 00:46:06 -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; dkim=pass header.i=@sifive.com header.s=google header.b=G7nrdJE6; 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 S1726920AbgBHIpo (ORCPT + 99 others); Sat, 8 Feb 2020 03:45:44 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:34913 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbgBHIpo (ORCPT ); Sat, 8 Feb 2020 03:45:44 -0500 Received: by mail-ot1-f67.google.com with SMTP id r16so1681253otd.2 for ; Sat, 08 Feb 2020 00:45:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oZha96z8rVZYcs0zGmqsrfRmZlzEIuB6POHU7WyI7S4=; b=G7nrdJE6FtBvLr6+YX8u9gLnfBDZl43Dw4UCC2yoCEXsnNq8jSpiIqXXSkhaZfI80O NN3Vk5npf5exsHXERGjNkdbJhIFkBPB+12fNE1aQECI83CDM75dJz87HvOxCuM9hKaUp 7jFyxpZP5N8hbOAWV151nuuLtXUBIiTSxljT8qOHRMgi/1V5hMpd0rYt6RTKIKNMsxUq QMaDhRnqzf7VGYk/W+OxtcB6Lqtz+Wgw0MCtMudLDejPaCO3oujwU8QarjWGeC22lLTu cdj93ZhhMS5mG4o6e8DS4DYkeiDRoDDmMj+GM0CIpM6l7Up4pnOSyLe+k2WcThOehYqe HOag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oZha96z8rVZYcs0zGmqsrfRmZlzEIuB6POHU7WyI7S4=; b=QGlpUlpthNqDjLMJqfJpsQPqwFPmduOjMvtcKxfB8zrcLfe3nBcQDMC90Iblpn8Iyq i4/ZekX9XNtDvIGT63lHRViapAdjU+cciPbjw7fkUturqyGtbSFzHQ9BlZj2mEYiLvB6 kGpesyTUG+ixgpH/ZP198Zd3qxWt/rMxi6LDae0I72UuQ62ix5kxZERRhbZVMawn7We+ 8w+OIYj+jazQISoq5RsBPWnHVwx/VMn0jyobUKH7mGEfS/BfDeXAHU4M1MUfEw9ld9aj qkN51QP+0r10b7kxJJYsDKrwB7IOJBE+7+sXghT+i1bbhmezfQib7RGJ+5j3RHTgm0Ci nntA== X-Gm-Message-State: APjAAAXe7Zdh12MINIZfqTE/jYsNbj4FiV+hwg6Tybkuk7LYcoXuQ1Yc 9PgWxZH9ncHLCyNWcrPP02WO87o259m2dyYhU4xM3FCf X-Received: by 2002:a05:6830:139a:: with SMTP id d26mr2785149otq.75.1581151541959; Sat, 08 Feb 2020 00:45:41 -0800 (PST) MIME-Version: 1.0 References: <20200207095245.21955-1-zong.li@sifive.com> <20200207095245.21955-3-zong.li@sifive.com> In-Reply-To: From: Zong Li Date: Sat, 8 Feb 2020 16:45:31 +0800 Message-ID: Subject: Re: [PATCH 2/2] riscv: adjust the indent To: Joe Perches Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv , "linux-kernel@vger.kernel.org List" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 7, 2020 at 6:59 PM Joe Perches wrote: > > 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)); > OK, I'll remove it in next version. Thanks.