From owner-svn-src-head@FreeBSD.ORG Thu Apr 19 11:48:33 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34DE91065672; Thu, 19 Apr 2012 11:48:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 05FBD8FC08; Thu, 19 Apr 2012 11:48:33 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 6CFD4B943; Thu, 19 Apr 2012 07:48:32 -0400 (EDT) From: John Baldwin To: Dimitry Andric Date: Thu, 19 Apr 2012 07:39:40 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p13; KDE/4.5.5; amd64; ; ) References: <201203301257.q2UCvE4l042042@svn.freebsd.org> <201204180954.14236.jhb@freebsd.org> <4F8F1F99.8060408@FreeBSD.org> In-Reply-To: <4F8F1F99.8060408@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201204190739.41086.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 19 Apr 2012 07:48:32 -0400 (EDT) Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, Scott Long , Stefan Farfeleder , David Xu , svn-src-head@freebsd.org Subject: Re: svn commit: r233700 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 11:48:33 -0000 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