[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1500517200.4629.0.camel@wdc.com>
Date: Thu, 20 Jul 2017 02:20:02 +0000
From: Bart Van Assche <Bart.VanAssche@....com>
To: "jejb@...ux.vnet.ibm.com" <jejb@...ux.vnet.ibm.com>,
"osst@...de.org" <osst@...de.org>,
"sumit.saxena@...adcom.com" <sumit.saxena@...adcom.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"shivasharan.srikanteshwara@...adcom.com"
<shivasharan.srikanteshwara@...adcom.com>,
"kashyap.desai@...adcom.com" <kashyap.desai@...adcom.com>
CC: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] SCSI: remove DRIVER_ATTR() usage
On Wed, 2017-07-19 at 14:50 +0200, Greg KH wrote:
> From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
>
> 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.
>
> Bonus is that this removes some checkpatch.pl warnings :)
Reviewed-by: Bart Van Assche <bart.vanassche@....com>
Powered by blists - more mailing lists