Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp387748pxf; Thu, 8 Apr 2021 05:23:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4/RkznhSNco0ASCRiyzNYBF/kLTiIvAFqayt6V1p3DQcRBhL/0gz4iccklxp44MaNq3TT X-Received: by 2002:a17:907:d15:: with SMTP id gn21mr9735552ejc.337.1617884612296; Thu, 08 Apr 2021 05:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617884612; cv=none; d=google.com; s=arc-20160816; b=mXQKepAQGp9QpinRJB0j/5W2VoZEaiSIZ40PPtCm0Qwuri4xv0Y7iWEIg/d+cjM8JW TPS0moXW1yxnHx6iCsjzkm39wqM8FAF7H6FgIcshkDEaKDTgMqn0wAcOWCh0rOfD8z/m i6Z8MAXspuhyqjCeNcQaSivB1GcHghsR5YubCx3Zd1uVfQYD6AeVSsFwp2OTFJ15FzES OoMo+SfQv8Te+BauLy41K+Psu0pKtzUiWhtSgQPsW9P0xP07nm1vp70brQaECmRvQTn9 O9nGE7p+BHFZhoxYtyOoQr8WlhV4ioZZ3+2Jrx6G23Aqm66yOq9pzpRvdOoyXwXV1qrz XScA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=f3AlaXxEDijwcD7/29X54EK8gzey6uqiupcs0w3uECA=; b=Yx1oCuevsjeN2zsaQbhAcQ/NP0GDdrzQCMxQkVeZXdKiO8EMcVgDmN/vN0rDtC9YXf QzhY1Kx1i8eeRDOZBaYiljiRIT7aVDj21mMiGIbf7W+bSR8ca+ZFXfbvbMFQXriIYd9n 2JyxXu0qz/YAJxYcnaQheK+F6Lgq/peJenOgW05rLScfReyOOeF1V9Mb9n2PXTW/FxsI z1ttytD2Wnp/cCMGm5m7hgK8vZmR4X0o9gerURmWQnVcp0ubmbIAYuhl8kbXf3tpqszh BastJMBkOqANLKAC/dMhppSkT1oDKdrykhn8Ad9jgSJu8qac3BaF6bN9o8vAW1XZLsYb //EA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si23725137edd.177.2021.04.08.05.23.08; Thu, 08 Apr 2021 05:23:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231641AbhDHMSy (ORCPT + 99 others); Thu, 8 Apr 2021 08:18:54 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:16047 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231246AbhDHMSv (ORCPT ); Thu, 8 Apr 2021 08:18:51 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FGKwl59vBzNty8; Thu, 8 Apr 2021 20:15:51 +0800 (CST) Received: from [127.0.0.1] (10.40.192.131) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.498.0; Thu, 8 Apr 2021 20:18:29 +0800 Subject: Re: [PATCH v1 1/2] scsi: pm8001: clean up for white space To: Bart Van Assche , , , CC: , , References: <1617354522-17113-1-git-send-email-luojiaxing@huawei.com> <1617354522-17113-2-git-send-email-luojiaxing@huawei.com> <7f8aef00-07bc-6b63-19a1-85a8153387cd@acm.org> <3dd042b3-eb86-f0aa-5542-3f763f6830e0@huawei.com> From: luojiaxing Message-ID: Date: Thu, 8 Apr 2021 20:18:29 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.40.192.131] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/4/8 5:56, Bart Van Assche wrote: > On 4/5/21 11:39 PM, luojiaxing wrote: >> >> On 2021/4/3 0:01, Bart Van Assche wrote: >>> On 4/2/21 2:08 AM, Luo Jiaxing wrote: >>>>   #define AAP1_MEMMAP(r, c) \ >>>> -    (*(u32 *)((u8*)pm8001_ha->memoryMap.region[AAP1].virt_ptr + >>>> (r) * 32 \ >>>> +    (*(u32 *)((u8 *)pm8001_ha->memoryMap.region[AAP1].virt_ptr + >>>> (r) * 32 \ >>>>       + (c))) >>> Since this macro is being modified, please convert it into an inline >>> function such that the type of the arguments can be verified by the >>> compiler. >> >> Sure, but still keep the function name as AAP1_MEMMAP? > > The coding style requires lower case names for functions so the > function name probably should be converted to lower case. Sure, and sorry to post v2 before you reply, you can ignore it and directly check v3. Thanks Jiaxing > > Thanks, > > Bart. > > . >