mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [git patch] misc hw_random fix
@ 2006-03-05  2:48 Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2006-03-05  2:48 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: linux-kernel


This fixes an array mis-index on non-x86...



Please pull from 'upstream-fixes' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git

to receive the following updates:

 drivers/char/hw_random.c |    2 ++
 1 files changed, 2 insertions(+)

Mark Brown:
      Add missing ifdef for VIA RNG code

diff --git a/drivers/char/hw_random.c b/drivers/char/hw_random.c
index b3bc2e3..29dc87e 100644
--- a/drivers/char/hw_random.c
+++ b/drivers/char/hw_random.c
@@ -131,7 +131,9 @@ enum {
 	rng_hw_none,
 	rng_hw_intel,
 	rng_hw_amd,
+#ifdef __i386__
 	rng_hw_via,
+#endif
 	rng_hw_geode,
 };
 

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

only message in thread, other threads:[~2006-03-05  2:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-05  2:48 [git patch] misc hw_random fix Jeff Garzik

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

all inboxes | Powered by JetHome®