Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1692348
| From | Bart Van Assche <Bart.VanAssche@wdc.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] SCSI: remove DRIVER_ATTR() usage |
| Date | 2017-07-20 04:30 +0200 |
| Message-ID | <u59nX-KB-5@gated-at.bofh.it> (permalink) |
| References | <u4WK6-fH-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2017-07-19 at 14:50 +0200, Greg KH wrote: > From: Greg Kroah-Hartman <gregkh@linuxfoundation.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@wdc.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] SCSI: remove DRIVER_ATTR() usage Greg KH <gregkh@linuxfoundation.org> - 2017-07-19 15:00 +0200 Re: [PATCH] SCSI: remove DRIVER_ATTR() usage Bart Van Assche <Bart.VanAssche@wdc.com> - 2017-07-20 04:30 +0200 Re: [PATCH] SCSI: remove DRIVER_ATTR() usage "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-07-25 04:00 +0200
csiph-web