Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp398058pxb; Thu, 5 Nov 2020 03:07:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyuGQTHt9dD8r56Gsog1vXXpbFYWF6ueH5g5+STj/S9LQ98K/mvqVUVvMa+ILqJq3VctFhy X-Received: by 2002:a05:6402:54d:: with SMTP id i13mr2050974edx.3.1604574441598; Thu, 05 Nov 2020 03:07:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604574441; cv=none; d=google.com; s=arc-20160816; b=wwLK1LUIHtUzIcEh7pWRkS48826rppbITuIPMZDxPLV5Wy+hl+N+6m55XNNw4ZuSL+ L4c+SGdKzHG/5qRmiSMZ8slmL1nqtHJda7pyr/5euYOYiQjZlHZvCxGdT2gP8VGxUBJ2 KxP3hqNHK05ZoCebw/FNbQ2I85CDBaYhKkO33uNHeXUErlQKn/sM6V/zIzkVp2s5g2pI NAzb3MoI7RFLJt0vkSJCjU5MT1Spf+IN4de8mfN2vqtaJ98TvUEFlHr+5qYo328QnETh MaXF0cnlbTMZ25WrigURvEtRbc7AYzzWQxu0HV1u9zQDFDTNPhq69IGSczSAXhHOXAjO zmgA== 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=qlSCugywaryzhR1GgqlF2OnZu2tbq5UEIP3ec0lsadc=; b=UQ6ySanwmlm0Rw3lTViAm0e729gXHR5EqXKbFvLqURddbplgszI9lXjPzvxvcrNl+7 A04PxBAENAJJkaxAy9425y8yxxx8fCbWmSYxBRS0jBq8T26eYPUHu9eq8fzfHA9Rroix IHRF9ZZpE+KEC0E7755+e3XEARbMB0mmus01dOB9katFkC3p4sGSP/MvjI2s88/ldLMm p2M3zAie2ZifNulfgNyQ0NhIr2t9+8q8OolDW0XTf+V7fJGIoRUC6mRdVJLzNsAh2uda 9hEAl9uHFO4Krx/Bfs5qhl8REfhQD2p8+3Rxrxr0x1fM26yOVgLDnmOnzkFKSIfasXkT 3HmA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y21si770722eje.744.2020.11.05.03.06.58; Thu, 05 Nov 2020 03:07:21 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730069AbgKELFX (ORCPT + 99 others); Thu, 5 Nov 2020 06:05:23 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:7146 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729263AbgKELFX (ORCPT ); Thu, 5 Nov 2020 06:05:23 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CRgfP2bwhz15RqR; Thu, 5 Nov 2020 19:05:17 +0800 (CST) Received: from [127.0.0.1] (10.57.22.126) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Thu, 5 Nov 2020 19:05:11 +0800 Subject: Re: [PATCH v3 0/5] Introduce a new helper marco DEFINE_SHOW_STORE_ATTRIBUTE at seq_file.c To: Greg KH CC: , , , , , , , , , , , , , References: <1604406584-53926-1-git-send-email-luojiaxing@huawei.com> <20201103133644.GA2067567@kroah.com> From: luojiaxing Message-ID: <69d4de3f-cf1f-3530-fc53-5cf30d11010d@huawei.com> Date: Thu, 5 Nov 2020 19:05:11 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20201103133644.GA2067567@kroah.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.57.22.126] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Greg On 2020/11/3 21:36, Greg KH wrote: > On Tue, Nov 03, 2020 at 08:29:39PM +0800, Luo Jiaxing wrote: >> We already own DEFINE_SHOW_ATTRIBUTE() helper macro for defining attribute >> for read-only file, but we found many of drivers also want a helper macro >> for read-write file too. >> >> So we add this macro to help decrease code duplication. >> >> --- >> v1->v2: >> 1.Rename DEFINE_STORE_ATTRIBUTE() to DEFINE_SHOW_STORE_ATTRIBUTE(). >> v2->v3: >> 1.Fixed some spelling mistakes in commit. >> 2.Revised resumes are added for easy tracing. > You forgot to address Al Viro's review comments :( Yes, I remember that AI Viro point out that he don't want this, but Andy reply later and suggest me to modify the naming, So I send a v2 for review. Actually I am not sure about what you mean by " forgot to address Al Viro's review comments ". Should I add AI Viro's review comments at my changes description? Thanks Jiaxing > > > . >