Re: [VERY EARLY RFC 12/13] reewide: introduce clear_scsi_result() and convert drivers

2018-04-19 Thread Johannes Thumshirn
On Thu, Apr 19, 2018 at 08:15:47AM +0200, Hannes Reinecke wrote: > On Wed, 18 Apr 2018 17:01:15 +0200 > Johannes Thumshirn wrote: > > > Introduce clear_scsi_result() and convert drivers over to use the new > > function. > > > > [ .. ] > > Why not use 'set_scsi_result' here? > Basically everywh

Re: [VERY EARLY RFC 12/13] reewide: introduce clear_scsi_result() and convert drivers

2018-04-18 Thread Hannes Reinecke
On Wed, 18 Apr 2018 17:01:15 +0200 Johannes Thumshirn wrote: > Introduce clear_scsi_result() and convert drivers over to use the new > function. > [ .. ] Why not use 'set_scsi_result' here? Basically everywhere the usage pattern is clear_scsi_result() set_host_byte() so they can be collapsed