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>
This commit is contained in:
parent
3eb1a6f384
commit
162c0d91a3
1 changed files with 1 additions and 1 deletions
|
@ -1188,7 +1188,7 @@ int SuperTraceASSIGN (void* AdapterHandle, byte* data) {
|
|||
|
||||
if ((features[0] & DIVA_XDI_EXTENDED_FEATURES_VALID) &&
|
||||
(features[0] & DIVA_XDI_EXTENDED_FEATURE_MANAGEMENT_DMA)) {
|
||||
dword rx_dma_magic;
|
||||
dword uninitialized_var(rx_dma_magic);
|
||||
if ((pC->dma_handle = diva_get_dma_descriptor (pC->request, &rx_dma_magic)) >= 0) {
|
||||
pC->xbuffer[0] = LLI;
|
||||
pC->xbuffer[1] = 8;
|
||||
|
|
Loading…
Reference in a new issue