Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753414AbdGYByo (ORCPT ); Mon, 24 Jul 2017 21:54:44 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:24830 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751869AbdGYByg (ORCPT ); Mon, 24 Jul 2017 21:54:36 -0400 To: Greg KH Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Kashyap Desai , Sumit Saxena , Shivasharan S , Willem Riede , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] SCSI: remove DRIVER_ATTR() usage From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170719125006.GA17776@kroah.com> Date: Mon, 24 Jul 2017 21:54:21 -0400 In-Reply-To: <20170719125006.GA17776@kroah.com> (Greg KH's message of "Wed, 19 Jul 2017 14:50:06 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 330 Lines: 12 Greg, > It's better to use the DRIVER_ATTR_RW() and DRIVER_ATTR_RO() macros to > explicitly show that this is a read/write or read/only sysfs file. So > convert the remaining SCSI drivers that use the old style to use the > newer macros. Applied to 4.14/scsi-queue. Thank you! -- Martin K. Petersen Oracle Linux Engineering