- random-change-cpqarray-to-use-add_disk_randomness.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     random: change cpqarray to use add_disk_randomness

has been removed from the -mm tree.  Its filename is

     random-change-cpqarray-to-use-add_disk_randomness.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: random: change cpqarray to use add_disk_randomness
From: Matt Mackall <mpm@xxxxxxxxxxx>


Disk devices should use add_disk_randomness rather than SA_SAMPLE_RANDOM

Signed-off-by: Matt Mackall <mpm@xxxxxxxxxxx>
Cc: <mike.miller@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/block/cpqarray.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff -puN drivers/block/cpqarray.c~random-change-cpqarray-to-use-add_disk_randomness drivers/block/cpqarray.c
--- a/drivers/block/cpqarray.c~random-change-cpqarray-to-use-add_disk_randomness
+++ a/drivers/block/cpqarray.c
@@ -410,8 +410,7 @@ static int cpqarray_register_ctlr( int i
 	}
 	hba[i]->access.set_intr_mask(hba[i], 0);
 	if (request_irq(hba[i]->intr, do_ida_intr,
-		SA_INTERRUPT|SA_SHIRQ|SA_SAMPLE_RANDOM,
-		hba[i]->devname, hba[i]))
+		SA_INTERRUPT|SA_SHIRQ, hba[i]->devname, hba[i]))
 	{
 		printk(KERN_ERR "cpqarray: Unable to get irq %d for %s\n",
 				hba[i]->intr, hba[i]->devname);
@@ -1036,6 +1035,8 @@ static inline void complete_command(cmdl
 
 	complete_buffers(cmd->rq->bio, ok);
 
+	add_disk_randomness(cmd->rq->rq_disk);
+
         DBGPX(printk("Done with %p\n", cmd->rq););
 	end_that_request_last(cmd->rq, ok ? 1 : -EIO);
 }
_

Patches currently in -mm which might be from mpm@xxxxxxxxxxx are

origin.patch
netpoll-dont-spin-forever-sending-to-blocked-queues.patch
netpoll-break-recursive-loop-in-netpoll-rx-path.patch
random-remove-redundant-sa_sample_random-from-ninjascsi.patch
add-poisonh-and-patch-primary-users.patch
make-number-of-ide-interfaces-configurable.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux