svn commit: r233700 - head/sys/kern

Dimitry Andric dim at FreeBSD.org
Wed Apr 18 20:10:05 UTC 2012


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 */


More information about the svn-src-head mailing list