On Tue, 15 Mar 2016 05:17:29 +0000 (UTC)
Warner Losh <i...@freebsd.org> wrote:
...
> Modified: head/sys/dev/ppbus/vpo.c
> ==============================================================================
> --- head/sys/dev/ppbus/vpo.c  Tue Mar 15 04:56:39 2016
> (r296890) +++ head/sys/dev/ppbus/vpo.c        Tue Mar 15 05:17:29
> 2016  (r296891) @@ -187,17 +187,19 @@ vpo_intr(struct vpo_data
...

> @@ -307,11 +309,15 @@ vpo_action(struct cam_sim *sim, union cc
>  
>               csio = &ccb->csio;
>  
> +             if (ccb->ccb_h.flags & CAM_CDB_PHYS) {
> +                     ccb->ccb_h.status = CAM_REQ_INVALID;
> +                     xpt_done(ccb);
> +                     break;
> +             }
>  #ifdef VP0_DEBUG
>               device_printf(vpo->vpo_dev, "XPT_SCSI_IO (0x%x)
> request\n",
> -                     csio->cdb_io.cdb_bytes[0]);
> +                 scsiio_cdb_ptr(csio));

This is broken, scsiio_cdb_ptr returns a uint8_t * while %x expects an
int.

Andrew
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to