Ignore:
Timestamp:
Jul 22, 2010, 7:20:45 PM (15 years ago)
Author:
David Azarewicz
Message:

flush_workqueue hack, compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/trident/trident_memory.c

    r399 r522  
    196196        int idx, page;
    197197
     198#pragma disable_message (136)
    198199        if (snd_BUG_ON(runtime->dma_bytes <= 0 ||
    199200                       runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES *
    200201                                        SNDRV_TRIDENT_PAGE_SIZE))
    201202                return NULL;
     203#pragma enable_message (136)
    202204        hdr = trident->tlb.memhdr;
    203205        if (snd_BUG_ON(!hdr))
     
    212214                return NULL;
    213215        }
    214                            
     216                       
    215217        /* set TLB entries */
    216218        idx = 0;
     
    245247        unsigned long ptr;
    246248
     249#pragma disable_message (136)
    247250        if (snd_BUG_ON(runtime->dma_bytes <= 0 ||
    248251                       runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES *
    249252                                        SNDRV_TRIDENT_PAGE_SIZE))
    250253                return NULL;
     254#pragma enable_message (136)
    251255        hdr = trident->tlb.memhdr;
    252256        if (snd_BUG_ON(!hdr))
     
    259263                return NULL;
    260264        }
    261                            
     265                       
    262266        /* set TLB entries */
    263267        addr = runtime->dma_addr;
Note: See TracChangeset for help on using the changeset viewer.