public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Reduce ammount of sparse warnings in acpi/sleep/main.c
@ 2004-11-03 23:21 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2004-11-03 23:21 UTC (permalink / raw)
  To: Andrew Morton, kernel list

Hi!

This gets me rid of four or so sparse warnings... and is right thing
to do, anyway. Please apply,
							Pavel

--- linux.middle//drivers/acpi/sleep/main.c	2004-10-25 23:03:40.000000000 +0200
+++ linux/drivers/acpi/sleep/main.c	2004-11-04 00:18:36.000000000 +0100
@@ -156,7 +156,7 @@
 
 int acpi_suspend(u32 acpi_state)
 {
-	u32 states[] = {
+	suspend_state_t states[] = {
 		[1]	= PM_SUSPEND_STANDBY,
 		[3]	= PM_SUSPEND_MEM,
 		[4]	= PM_SUSPEND_DISK,

-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-03 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-03 23:21 Reduce ammount of sparse warnings in acpi/sleep/main.c Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox