Re: [VERY EARLY RFC 01/13] scsi: use host_byte() accessor

2018-04-18 Thread Hannes Reinecke
On Thu, 19 Apr 2018 09:46:30 +1000 (AEST) Finn Thain wrote: > On Wed, 18 Apr 2018, Johannes Thumshirn wrote: > > > --- a/drivers/scsi/dc395x.c > > +++ b/drivers/scsi/dc395x.c > > @@ -3473,7 +3473,7 @@ static void srb_done(struct AdapterCtlBlk > > *acb, struct DeviceCtlBlk *dcb, > > /*if( sr

Re: [VERY EARLY RFC 01/13] scsi: use host_byte() accessor

2018-04-18 Thread Finn Thain
On Wed, 18 Apr 2018, Johannes Thumshirn wrote: > --- a/drivers/scsi/dc395x.c > +++ b/drivers/scsi/dc395x.c > @@ -3473,7 +3473,7 @@ static void srb_done(struct AdapterCtlBlk *acb, struct > DeviceCtlBlk *dcb, > > /*if( srb->cmd->cmnd[0] == INQUIRY && */ > /* (host_byte(cmd->result) =

[VERY EARLY RFC 01/13] scsi: use host_byte() accessor

2018-04-18 Thread Johannes Thumshirn
Use the host_byte() accessor for getting the SCSI host byte. Signed-off-by: Johannes Thumshirn --- drivers/scsi/aic7xxx/aic79xx_osm.h | 2 +- drivers/scsi/aic7xxx/aic7xxx_osm.h | 2 +- drivers/scsi/dc395x.c | 2 +- drivers/scsi/imm.c | 4 ++-- drivers/scsi/ppa.c