Displaying 1 result from an estimated 1 matches for "rvalp".
Did you mean:
rval
2009 Apr 09
3
vdev_disk_io_start() sending NULL pointer in ldi_ioctl()
...or return value.
vdev_disk_io_start()
...
...
error = ldi_ioctl(dvd->vd_lh, zio->io_cmd,
(uintptr_t)&zio->io_dk_callback,
FKIOCTL, kcred, NULL);
ldi_ioctl() expects last parameter as an integer pointer ( int *rvalp).
I see that in strdoictl(). Corefile I am analysing has similar BAD trap
while trying to stw %g0, [%i5] ( clr [%i5] )
/*
* Set return value.
*/
*rvalp = iocbp->ioc_rval;
*/
Is it a bug?? This code is all we do in vdev_d...