Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp536759pxb; Tue, 3 Nov 2020 06:14:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxydFaHlXplpvg5344nOd2HQ4XhSzDxmTQOZDtAazJpmRm8vlsIsoIo96hj53UimqVbsMaU X-Received: by 2002:a50:d5dd:: with SMTP id g29mr16490919edj.379.1604412867764; Tue, 03 Nov 2020 06:14:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604412867; cv=none; d=google.com; s=arc-20160816; b=uSf28YabF4Ga/dmoIHxmwvcFDjR5Wq0tyceIiSHSbx+1j8Fi55+h3e9632WiMWCPXN dbIgHxkj5h9auizWjuICsUkzlcnznP3ExSkhImps2pl2zVnaN+xemHND1tsd0OVuFXmk IzOWdamF+mKPL3m/1QD+Q3BYQotlwWvCz/AzmuBl+TqjAc7ll1hqGx8G4y9sphJm9Q7D S+fOZ+m0It9DsTiC6am+J2LhN2wMVVs2Ul8+gRbM/TfMpgvYn23o+EpNonCoEAlrPmTz YZDgkesTVx2jHLe9dK9LRkMBnjuqCFsmzgrqSfP3Px4Pv0EbeLhk62FAFx/ZusPoPgKs dedw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=zZKmf5nx3ACwGZ3nwVyJearqhUQg2Mf2OwPgMcxys/s=; b=slv9gAv5j2KAGd0ls1Vls8pYsMFwJuSoNi62magU2gygRdlZgEyrA7qcv0+CFBbR+4 gQfZT2ZhYAtiaKriajYhmmez0iABzNFeeMHvCtfW/XvPMA5Awp+T4VHZ3CmC/CbyI41a oDau4+YaRdXP/qJhm/NtXEvflXNvmDmSXldVdWnaQ+tXWtZVAdngbp7nZDpaHzXmDr/b KrtpavZmxHfItjZf9RM/FR+wdDOjskWWgEb7mP/dP/z1oXiMavckF0kJpMPGxs/57QT8 WRPmZzl1qwJvRK3+cKjmBmirufMfNLVixGJlOHfW4e95EXQjoB/tZbQvk8ZJFjClrfn8 ZOYQ== 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 33si10677342edq.238.2020.11.03.06.14.04; Tue, 03 Nov 2020 06:14:27 -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 S1729334AbgKCNqw (ORCPT + 99 others); Tue, 3 Nov 2020 08:46:52 -0500 Received: from netrider.rowland.org ([192.131.102.5]:40013 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1729248AbgKCNpY (ORCPT ); Tue, 3 Nov 2020 08:45:24 -0500 Received: (qmail 1521753 invoked by uid 1000); 3 Nov 2020 08:45:23 -0500 Date: Tue, 3 Nov 2020 08:45:23 -0500 From: Alan Stern To: Greg KH Cc: Luo Jiaxing , akpm@linux-foundation.org, viro@zeniv.linux.org.uk, andriy.shevchenko@linux.intel.com, linux-kernel@vger.kernel.org, martin.petersen@oracle.com, john.garry@huawei.com, himanshu.madhani@cavium.com, felipe.balbi@linux.intel.com, uma.shankar@intel.com, anshuman.gupta@intel.com, animesh.manna@intel.com, linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org, linuxarm@huawei.com Subject: Re: [PATCH v3 0/5] Introduce a new helper marco DEFINE_SHOW_STORE_ATTRIBUTE at seq_file.c Message-ID: <20201103134523.GA1521034@rowland.harvard.edu> References: <1604406584-53926-1-git-send-email-luojiaxing@huawei.com> <20201103133644.GA2067567@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201103133644.GA2067567@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"). Alan Stern