Date: Wed, 18 Apr 2012 22:10:01 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: John Baldwin <jhb@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, Scott Long <scottl@freebsd.org>, Stefan Farfeleder <stefanf@freebsd.org>, David Xu <davidxu@freebsd.org>, svn-src-head@freebsd.org Subject: Re: svn commit: r233700 - head/sys/kern Message-ID: <4F8F1F99.8060408@FreeBSD.org> In-Reply-To: <201204180954.14236.jhb@freebsd.org> References: <201203301257.q2UCvE4l042042@svn.freebsd.org> <201204020752.52596.jhb@freebsd.org> <4F8DD186.6060306@FreeBSD.org> <201204180954.14236.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? 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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F8F1F99.8060408>