Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp338907pxb; Tue, 3 Nov 2020 00:28:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHqCVOsCKx8UXspSOsGd59hpqYrnCO3wjtm/eMykT/Dc5pojpxWuCbUeR0pMv+VCZz7PXA X-Received: by 2002:a50:9319:: with SMTP id m25mr6210221eda.297.1604392119288; Tue, 03 Nov 2020 00:28:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604392119; cv=none; d=google.com; s=arc-20160816; b=pB5NjekdoblaoJL4kjERsqG6shlP0kSXzNJbzDJrcm6elXox8d917b7vA91s116+u/ mdGIrTrpWJ8RxLFlJLdXnfSfSlLW1DYUHI+D/iZ/9qBDMelKCJgp2RdUvK9P/buKT1Vp HoMdsRA8jmfnmKLffdUtufk7GQijbXbjldJktJclfVB0st/cn/5SInJcsZVatCOa59p2 mPx+Ndu0+ieMgvIeOC4OEJqvNtdfty6QGP24MjKVuWTZit8gmsrWpCR+DysTPahjI64Z F2Yi7rd1H2dgqNwbReY1lNOyu715Px+BgvaAKYL9HlP3vRa2xPWuK2Kesf74kfP9H5Um hbgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UZXnIi8AFlppIhhA34w89Z8GuKD2ZlcqN1Pt/lG2cVU=; b=xaP8MKechdMCcxa7OR5t2DIxYNbVahIBoXkc6KRRAh5uXlY6MOMY6JFC6i5bfPMKHb 5LFB7pvD3/J5qZXFF0v5vkeTBnLrDprJGxt0IqcDVDBWk8/O/bWq4t37bVTJIaZNtVQb +et1UY3Tbtds1S4Qh/0cakqnQW0CzcIk2/axyrIONorJu3HHHn+KFTngFFjxl+kssdYc o/nBSEAUqjeom4qIM9O037ezbwmK7N6Vo92yHPrtZkerJve0tH7hKz9c27fClgab/fou 1rRGP5mVe+XnhbdmTx8OxDOd6Dge5KTJ8Q71HZffhqPaZBOjmza9bfrglVuC5L92kYdM ZYJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dwdrDX82; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si12223747edr.173.2020.11.03.00.28.16; Tue, 03 Nov 2020 00:28:39 -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; dkim=pass header.i=@kernel.org header.s=default header.b=dwdrDX82; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727239AbgKCI03 (ORCPT + 99 others); Tue, 3 Nov 2020 03:26:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:39380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725968AbgKCI02 (ORCPT ); Tue, 3 Nov 2020 03:26:28 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 36959206E3; Tue, 3 Nov 2020 08:26:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604391988; bh=H2o46wRPnMfCNsMFuys7neQERbJwFfzabczNDkta3pM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dwdrDX82oG6KNy4uGMP56MKtqOyfCaei7QuxmihCi5nuY2BfUG3V3B/U+peBiTH0x 3Xh5Ma0p/h+2O2fY8hFCxA8TmkFFZx04w4SbovqnHgOzqKc4E3JP8WKr0vc9X0o3Mf /1170kWuMXZW/zTII1J62AQ1umkoyP9q8v6fwJcY= Date: Tue, 3 Nov 2020 09:27:21 +0100 From: Greg KH To: luojiaxing Cc: 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 v2 0/5] Introduce a new helper marco DEFINE_SHOW_STORE_ATTRIBUTE at seq_file.c Message-ID: <20201103082721.GA2510248@kroah.com> References: <1604046722-15531-1-git-send-email-luojiaxing@huawei.com> <20201030084448.GA1625087@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 03, 2020 at 04:19:09PM +0800, luojiaxing wrote: > Hi > > On 2020/10/30 16:44, Greg KH wrote: > > On Fri, Oct 30, 2020 at 04:31:57PM +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 marco for > > > read-write file too. > > > > > > So we try to add this macro to help decrease code duplication. > > > > > > Luo Jiaxing (5): > > > seq_file: Introduce DEFINE_SHOW_STORE_ATTRIBUTE() helper macro > > > scsi: hisi_sas: Introduce DEFINE_SHOW_STORE_ATTRIBUTE for debugfs > > > scsi: qla2xxx: Introduce DEFINE_SHOW_STORE_ATTRIBUTE for debugfs > > > usb: dwc3: debugfs: Introduce DEFINE_SHOW_STORE_ATTRIBUTE > > > drm/i915/display: Introduce DEFINE_SHOW_STORE_ATTRIBUTE for debugfs > > What changed from v1? > > > Sorry, I should add a commit for the change. > > > In v1, Andy pointed out that the old name of DEFINE_STORE_ATTRIBUTE was > easily misunderstood as a write-only file rather than a read-write file. > > Therefore, it is changed to DEFINE_SHOW_STORE_ATTRIBUTE according to his > suggestion. All of that needs to go in the patch, below the --- line, or in the 00/XX email here, like is documented. Please fix that up and resend a v3 if you wish for people to look at this series and know what is going on. thanks, greg k-h