lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH] fix uninitialized variable warning in crypto/async_tx/async_tx.c (fixed?)
Date
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__);


\
 
 \ /
  Last update: 2008-04-28 07:07    [W:0.052 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site