patch-2.4.19 linux-2.4.19/kernel/pm.c

Next file: linux-2.4.19/kernel/printk.c
Previous file: linux-2.4.19/kernel/panic.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/kernel/pm.c linux-2.4.19/kernel/pm.c
@@ -162,7 +162,7 @@
 	case PM_SUSPEND:
 	case PM_RESUME:
 		prev_state = dev->state;
-		next_state = (int) data;
+		next_state = (unsigned long) data;
 		if (prev_state != next_state) {
 			if (dev->callback)
 				status = (*dev->callback)(dev, rqst, data);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)