diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-02-06 04:38:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:12 -0500 |
commit | 162c0d91a365d501c6cc65cba451f2d855e8ee81 (patch) | |
tree | fb53c8c4239f2104c854b0f6959a0cbee80a2ad5 | |
parent | 3eb1a6f384ef87c48aa3bdd942732890466b040e (diff) |
drivers/isdn/hardware/eicon/debug.c: fix uninitialized var warning
drivers/isdn/hardware/eicon/debug.c: In function 'SuperTraceASSIGN':
drivers/isdn/hardware/eicon/debug.c:1191: warning: 'rx_dma_magic' may be used uninitialized in this function
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/isdn/hardware/eicon/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/eicon/debug.c b/drivers/isdn/hardware/eicon/debug.c index 0db9cc661e28..84318ec8d13e 100644 --- a/drivers/isdn/hardware/eicon/debug.c +++ b/drivers/isdn/hardware/eicon/debug.c | |||
@@ -1188,7 +1188,7 @@ int SuperTraceASSIGN (void* AdapterHandle, byte* data) { | |||
1188 | 1188 | ||
1189 | if ((features[0] & DIVA_XDI_EXTENDED_FEATURES_VALID) && | 1189 | if ((features[0] & DIVA_XDI_EXTENDED_FEATURES_VALID) && |
1190 | (features[0] & DIVA_XDI_EXTENDED_FEATURE_MANAGEMENT_DMA)) { | 1190 | (features[0] & DIVA_XDI_EXTENDED_FEATURE_MANAGEMENT_DMA)) { |
1191 | dword rx_dma_magic; | 1191 | dword uninitialized_var(rx_dma_magic); |
1192 | if ((pC->dma_handle = diva_get_dma_descriptor (pC->request, &rx_dma_magic)) >= 0) { | 1192 | if ((pC->dma_handle = diva_get_dma_descriptor (pC->request, &rx_dma_magic)) >= 0) { |
1193 | pC->xbuffer[0] = LLI; | 1193 | pC->xbuffer[0] = LLI; |
1194 | pC->xbuffer[1] = 8; | 1194 | pC->xbuffer[1] = 8; |