Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp400115pxb; Thu, 5 Nov 2020 03:10:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8ehIQSR31XJOFG/1j8bDZlDqflxqCz+Gm0qzsj9/j2gyD5b5B0CkOL/nXRMDUv6fQhztj X-Received: by 2002:a50:f98b:: with SMTP id q11mr2007381edn.345.1604574623573; Thu, 05 Nov 2020 03:10:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604574623; cv=none; d=google.com; s=arc-20160816; b=oCBWHzDQfAD/vcBysZnX3tiDhUdCToCu1uUvtKM2OlGN1R/+xwv3LvcZ+pNkuDpFuA RKHu6zyfURf0RQEdKx6ufSl+mgr6cdmU1/LPQUnwj8bezj+UBhBldTS4JE65tpqiUnvn z8qtKSObwpSxGQgGZrZ3eweTUFH9Z2Oj9TfiDOJzy+xKpyoRAD2MgoRUt9JkBoDchAG6 DWd3ZLdYlmf0+SpWn0+fqkn5kFCfx/NVxxzMPWYtJb6MC1mMkgHsrEJ25PnbLKTWqzNr TCQxsUrmiEltsA6IQXzrbDHlWyWOMhHU25eDbBx72lnbwbLeasAQOfAzNA9SBlZ60umz yxGQ== 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=kzmkb0Z3lLIDNx1+r/kZYtgnZ0hvlifdWKO7Q2GpFY4=; b=EIbXY0pFvvFp6Wyrx2luMtt/lV4xAgyOTL8G0hZXqnKd72o2SyngdBDkkmwknJcb+H 6KtUUSAy13RBHaLcb0TDOtKgn8yeFsyFlQqT9Lm1BrNhzoUopMZTXEA3QX3+n1LX7dGI vyKZUZDk3RUCxunt0jSIikqV2xzkNguUHUh53K9vwTUotz9E4Jk+eOD7nob5MTTACjST lu3Jha0jyJrir5hFo7GTh7kOGrl6iYr7o+LMEJEmopJ4BwsKugAafWdc4eWnLbpqSTiV zoQB7/knY0dAT2eZ5vCFmTElU5pk6cai9rKnFfb0v75IJ+XM5OY085bhk9tMByegHG1c tbpg== 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 bi9si1260752edb.4.2020.11.05.03.09.58; Thu, 05 Nov 2020 03:10:23 -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 S1729887AbgKELIf (ORCPT + 99 others); Thu, 5 Nov 2020 06:08:35 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:7414 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbgKELIf (ORCPT ); Thu, 5 Nov 2020 06:08:35 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4CRgk51lMFz71Xp; Thu, 5 Nov 2020 19:08:29 +0800 (CST) Received: from [127.0.0.1] (10.57.22.126) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Thu, 5 Nov 2020 19:08:22 +0800 Subject: Re: [PATCH v3 0/5] Introduce a new helper marco DEFINE_SHOW_STORE_ATTRIBUTE at seq_file.c To: Alan Stern , Greg KH CC: , , , , , , , , , , , , , References: <1604406584-53926-1-git-send-email-luojiaxing@huawei.com> <20201103133644.GA2067567@kroah.com> <20201103134523.GA1521034@rowland.harvard.edu> From: luojiaxing Message-ID: <44f57eff-fb3a-b3de-4655-fdebdd9bdb07@huawei.com> Date: Thu, 5 Nov 2020 19:08:21 +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: <20201103134523.GA1521034@rowland.harvard.edu> 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 , Alan On 2020/11/3 21:45, Alan Stern wrote: > On Tue, Nov 03, 2020 at 02:36:44PM +0100, 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 :( > You also might want to fix the type in the Subject line ("marco" instead > of "macro"). I'm sorry for such an obvious spelling error. Thanks for pointing out and it will be fixed in v4. Jiaxing > > Alan Stern > > . >