[alsa-devel] sound/pci/au88x0/au88x0_core.c:2464 vortex_interrupt() warn: if();

Fengguang Wu fengguang.wu at intel.com
Tue Oct 23 16:16:42 CEST 2012


Hi,

smatch warns about a weird "if();" in sound/pci/au88x0/au88x0_core.c 
Any ideas to fix it?

        2461 #ifndef CHIP_AU8810
        2462                 for (i = 0; i < NR_WT; i++) {
        2463                         if (vortex->dma_wt[i].fifo_status == FIFO_START) {
==>     2464                                 if (vortex_wtdma_bufshift(vortex, i)) ;
        2465                                 spin_unlock(&vortex->lock);
        2466                                 snd_pcm_period_elapsed(vortex->dma_wt[i].
        2467                                                        substream);
        2468                                 spin_lock(&vortex->lock);
        2469                         }
        2470                 }
        2471 #endif     

Thanks,
Fengguang


More information about the Alsa-devel mailing list