[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <A9BE4B91-0B5E-4F42-B4A8-95A45B566BD1@cpeterso.com>
Date: Sun, 27 Apr 2008 22:04:33 -0700
From: Chris Peterson <cpeterso@...terso.com>
To: David Miller <davem@...emloft.net>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fix uninitialized variable warning in crypto/async_tx/async_tx.c (fixed?)
oops, sorry. Let me try this again.
chris
---
diff -Naur linux-2.6.25-git7/crypto/async_tx/async_tx.c linux-2.6.25-
git7+patch/crypto/async_tx/async_tx.c
--- linux-2.6.25-git7/crypto/async_tx/async_tx.c 2008-04-25
22:46:24.000000000 -0700
+++ linux-2.6.25-git7+patch/crypto/async_tx/async_tx.c 2008-04-25
23:39:44.000000000 -0700
@@ -596,8 +596,11 @@
device = NULL;
tx = device ? device->device_prep_dma_interrupt
(chan, 0) : NULL;
- } else
+ } else {
+ chan = NULL;
+ device = NULL;
tx = NULL;
+ }
if (tx) {
pr_debug("%s: (async)\n", __func__);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists