ostiInitiatorIOCompleted(): wrong sizeof() argument.
Detected by: PVS Static Analysis CID: 1331601, 1331523
This commit is contained in:
parent
e1ba387e11
commit
99c006f9ba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295861
@ -313,7 +313,7 @@ ostiInitiatorIOCompleted(tiRoot_t *ptiRoot,
|
||||
}
|
||||
sense_len = MIN( pSenseData->senseLen,
|
||||
pccb->senseLen - csio->sense_resid );
|
||||
bzero(&csio->sense_data, sizeof(&csio->sense_data));
|
||||
bzero(&csio->sense_data, sizeof(csio->sense_data));
|
||||
AGTIAPI_PRINTK("ostiInitiatorIOCompleted: check condition copying\n");
|
||||
memcpy( (void *)pccb->pSenseData,
|
||||
pSenseData->senseData,
|
||||
|
Loading…
Reference in New Issue
Block a user