PERFORCE change 93957 for review

Kip Macy kmacy at FreeBSD.org
Sat Mar 25 04:16:08 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=93957

Change 93957 by kmacy at kmacy_storage:sun4vtmp on 2006/03/25 04:15:57

	make sure ino is typesafe

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/vnex.c#2 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/vnex.c#2 (text+ko) ====

@@ -244,7 +244,7 @@
        
 	cfg = SUN4V_REG_SPEC2CFG_HDL(reg);
 
-	if (hvio_intr_devino_to_sysino(cfg, ino, &ihdl) != H_EOK) {
+	if (hvio_intr_devino_to_sysino(cfg, (uint32_t)ino, &ihdl) != H_EOK) {
 		error = ENXIO;
 		goto fail;
 	}


More information about the p4-projects mailing list