Re: [PATCH] ALSA: pcm: Fix build error on m68k and others

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 07 Jul 2020 13:12:25 +0200,
Takashi Iwai wrote:
> 
> The commit 3ad796cbc36a ("ALSA: pcm: Use SG-buffer only when direct
> DMA is available") introduced a check of the DMA type and this caused
> a build error on m68k (and possibly some others) due to the lack of
> dma_is_direct() definition.  Since the check is needed only for
> CONFIG_SND_DMA_SGBUF enablement (i.e. solely x86), use #ifdef instead
> of IS_ENABLED() for avoiding such a build error.
> 
> Fixes: 3ad796cbc36a ("ALSA: pcm: Use SG-buffer only when direct DMA is available")
> Reported-by: Reported-by: kernel test robot <lkp@xxxxxxxxx>

Oops, doubly reported-by.  I corrected at merging.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux