Date: Mon, 7 Mar 2016 16:05:54 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r296459 - stable/10/sys/dev/pms/freebsd/driver/ini/src Message-ID: <201603071605.u27G5sM9076720@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Mon Mar 7 16:05:53 2016 New Revision: 296459 URL: https://svnweb.freebsd.org/changeset/base/296459 Log: MFC r295861: ostiInitiatorIOCompleted(): wrong sizeof() argument. Detected by: PVS Static Analysis CID: 1331601, 1331523 Modified: stable/10/sys/dev/pms/freebsd/driver/ini/src/osapi.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/pms/freebsd/driver/ini/src/osapi.c ============================================================================== --- stable/10/sys/dev/pms/freebsd/driver/ini/src/osapi.c Mon Mar 7 15:52:51 2016 (r296458) +++ stable/10/sys/dev/pms/freebsd/driver/ini/src/osapi.c Mon Mar 7 16:05:53 2016 (r296459) @@ -313,7 +313,7 @@ ostiInitiatorIOCompleted(tiRoot_t * } 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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603071605.u27G5sM9076720>