All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4D1CD161.4040107@lwfinger.net>

diff --git a/a/1.txt b/N1/1.txt
index c82b86d..e65f1da 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -75,10 +75,3 @@ and once with it reverted.
 Thanks,
 
 Larry
-
-
-
--------------- next part --------------
-An embedded and charset-unspecified text was scrubbed...
-Name: hwrng_debug
-URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20101230/ff939067/attachment.ksh>
diff --git a/N1/2.hdr b/N1/2.hdr
new file mode 100644
index 0000000..cf92f01
--- /dev/null
+++ b/N1/2.hdr
@@ -0,0 +1,5 @@
+Content-Type: text/plain;
+ name="hwrng_debug"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: attachment;
+ filename="hwrng_debug"
diff --git a/N1/2.txt b/N1/2.txt
new file mode 100644
index 0000000..0040e1b
--- /dev/null
+++ b/N1/2.txt
@@ -0,0 +1,27 @@
+Index: wireless-testing/drivers/char/hw_random/core.c
+===================================================================
+--- wireless-testing.orig/drivers/char/hw_random/core.c
++++ wireless-testing/drivers/char/hw_random/core.c
+@@ -49,11 +49,11 @@
+ 
+ 
+ static struct hwrng *current_rng;
+-static LIST_HEAD(rng_list);
+ static DEFINE_MUTEX(rng_mutex);
+ static int data_avail;
+ static u8 rng_buffer[SMP_CACHE_BYTES < 32 ? 32 : SMP_CACHE_BYTES]
+ 	__cacheline_aligned;
++static LIST_HEAD(rng_list);
+ 
+ static inline int hwrng_init(struct hwrng *rng)
+ {
+@@ -305,6 +305,9 @@ int hwrng_register(struct hwrng *rng)
+ 	    (rng->data_read == NULL && rng->read == NULL))
+ 		goto out;
+ 
++	printk(KERN_INFO "Calling hwrng_register\n");
++	dump_stack();
++
+ 	mutex_lock(&rng_mutex);
+ 
+ 	/* Must not register two RNGs with the same name. */
diff --git a/a/content_digest b/N1/content_digest
index 8aade7f..0573e28 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -5,13 +5,13 @@
  "ref\04D1BF056.3060909@lwfinger.net\0"
  "ref\020101230143406.GA23219@darkside.kls.lan\0"
  "From\0Larry Finger <Larry.Finger@lwfinger.net>\0"
- "Subject\02.6.37-rc7: Regression: b43: crashes in hwrng_register()\0"
+ "Subject\0Re: 2.6.37-rc7: Regression: b43: crashes in hwrng_register()\0"
  "Date\0Thu, 30 Dec 2010 12:37:21 -0600\0"
  "To\0Mario 'BitKoenig' Holbe <Mario.Holbe@tu-ilmenau.de>"
   LKML <linux-kernel@vger.kernel.org>
   wireless <linux-wireless@vger.kernel.org>
  " b43-dev <b43-dev@lists.infradead.org>\0"
- "\00:1\0"
+ "\01:1\0"
  "b\0"
  "On 12/30/2010 08:34 AM, Mario 'BitKoenig' Holbe wrote:\n"
  "> On Wed, Dec 29, 2010 at 08:37:10PM -0600, Larry Finger wrote:\n"
@@ -89,13 +89,36 @@
  "\n"
  "Thanks,\n"
  "\n"
- "Larry\n"
- "\n"
- "\n"
- "\n"
- "-------------- next part --------------\n"
- "An embedded and charset-unspecified text was scrubbed...\n"
- "Name: hwrng_debug\n"
- URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20101230/ff939067/attachment.ksh>
+ Larry
+ "\01:2\0"
+ "fn\0hwrng_debug\0"
+ "b\0"
+ "Index: wireless-testing/drivers/char/hw_random/core.c\n"
+ "===================================================================\n"
+ "--- wireless-testing.orig/drivers/char/hw_random/core.c\n"
+ "+++ wireless-testing/drivers/char/hw_random/core.c\n"
+ "@@ -49,11 +49,11 @@\n"
+ " \n"
+ " \n"
+ " static struct hwrng *current_rng;\n"
+ "-static LIST_HEAD(rng_list);\n"
+ " static DEFINE_MUTEX(rng_mutex);\n"
+ " static int data_avail;\n"
+ " static u8 rng_buffer[SMP_CACHE_BYTES < 32 ? 32 : SMP_CACHE_BYTES]\n"
+ " \t__cacheline_aligned;\n"
+ "+static LIST_HEAD(rng_list);\n"
+ " \n"
+ " static inline int hwrng_init(struct hwrng *rng)\n"
+ " {\n"
+ "@@ -305,6 +305,9 @@ int hwrng_register(struct hwrng *rng)\n"
+ " \t    (rng->data_read == NULL && rng->read == NULL))\n"
+ " \t\tgoto out;\n"
+ " \n"
+ "+\tprintk(KERN_INFO \"Calling hwrng_register\\n\");\n"
+ "+\tdump_stack();\n"
+ "+\n"
+ " \tmutex_lock(&rng_mutex);\n"
+ " \n"
+ " \t/* Must not register two RNGs with the same name. */"
 
-36cad35ec7b7e6ef764cc66e8a7b37b2f80ba714c303696c0f42db77359aed34
+112cd63e1f74f93063348e5ac974a77fd71e7e2a7474877f90a9af9922c8cdb3

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.