Re: [PATCH v2 23/24] scsi: aic7xxx: aic79xx_osm: Fix 'amount_xferred' set but not used issue

2020-07-14 Thread Hannes Reinecke
On 7/13/20 10:00 AM, Lee Jones wrote: > 'amount_xferred' is used, but only in certain circumstances. Place > the same stipulations on the defining/allocating of 'amount_xferred' > as is placed when using it. > > We've been careful not to change any of the ordering semantics here. > > Fixes the

[PATCH v2 23/24] scsi: aic7xxx: aic79xx_osm: Fix 'amount_xferred' set but not used issue

2020-07-13 Thread Lee Jones
'amount_xferred' is used, but only in certain circumstances. Place the same stipulations on the defining/allocating of 'amount_xferred' as is placed when using it. We've been careful not to change any of the ordering semantics here. Fixes the following W=1 kernel build warning(s):