lkml.org 
[lkml]   [2006]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 10/14] random: Remove bogus SA_SAMPLE_RANDOM from mpc52xx serial driver
Date
Remove bogus SA_SAMPLE_RANDOM from mpc52xx serial driver

Serial lines are not a good a priori source of entropy.

Signed-off-by: Matt Mackall <mpm@selenic.com>

Index: 2.6/drivers/serial/mpc52xx_uart.c
===================================================================
--- 2.6.orig/drivers/serial/mpc52xx_uart.c 2006-05-02 17:29:27.000000000 -0500
+++ 2.6/drivers/serial/mpc52xx_uart.c 2006-05-03 13:32:10.000000000 -0500
@@ -191,7 +191,7 @@ mpc52xx_uart_startup(struct uart_port *p

/* Request IRQ */
ret = request_irq(port->irq, mpc52xx_uart_int,
- SA_INTERRUPT | SA_SAMPLE_RANDOM, "mpc52xx_psc_uart", port);
+ SA_INTERRUPT, "mpc52xx_psc_uart", port);
if (ret)
return ret;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-05-05 18:49    [W:0.131 / U:1.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site