Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2012 07:39:40 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Dimitry Andric <dim@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:  <201204190739.41086.jhb@freebsd.org>
In-Reply-To: <4F8F1F99.8060408@FreeBSD.org>
References:  <201203301257.q2UCvE4l042042@svn.freebsd.org> <201204180954.14236.jhb@freebsd.org> <4F8F1F99.8060408@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204190739.41086.jhb>