On Wednesday, April 18, 2012 4:10:01 pm Dimitry Andric wrote:
> On 2012-04-18 15:54, John Baldwin wrote:
> ...
> > http://www.FreeBSD.org/~jhb/patches/asr_stailq.patch
>
> Yes, that seems to work just fine, at least for the list juggling. Thanks!
>
> The only additional fix needed now is the following. Shall I commit
> that including your patch?
Sure.
> Index: sys/dev/asr/asr.c
> ===================================================================
> --- sys/dev/asr/asr.c (revision 234390)
> +++ sys/dev/asr/asr.c (working copy)
> @@ -2700,7 +2701,7 @@ asr_action(struct cam_sim *sim, union ccb *ccb)
>
> ccb->ccb_h.spriv_ptr0 = sc = (struct Asr_softc *)cam_sim_softc(sim);
>
> - switch (ccb->ccb_h.func_code) {
> + switch ((int)ccb->ccb_h.func_code) {
>
> /* Common cases first */
> case XPT_SCSI_IO: /* Execute the requested I/O operation */
>
--
John Baldwin
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"