All of lore.kernel.org
 help / color / mirror / Atom feed
* [asoc:for-4.18 91/91] sound/soc/mediatek/common/mtk-afe-platform-driver.c:65:15: error: 'struct snd_soc_pcm_runtime' has no member named 'platform'
@ 2018-04-27 12:47 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-04-27 12:47 UTC (permalink / raw)
  To: Kai Chieh Chuang; +Cc: alsa-devel, Mark Brown, kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-4.18
head:   58edf3255ca3025444c016241611453585453089
commit: 58edf3255ca3025444c016241611453585453089 [91/91] ASoC: mediatek: preallocate pages use platform device
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 58edf3255ca3025444c016241611453585453089
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   sound/soc/mediatek/common/mtk-afe-platform-driver.c: In function 'mtk_afe_pcm_new':
>> sound/soc/mediatek/common/mtk-afe-platform-driver.c:65:15: error: 'struct snd_soc_pcm_runtime' has no member named 'platform'
               rtd->platform->dev,
                  ^~
>> sound/soc/mediatek/common/mtk-afe-platform-driver.c:67:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +65 sound/soc/mediatek/common/mtk-afe-platform-driver.c

    55	
    56	static int mtk_afe_pcm_new(struct snd_soc_pcm_runtime *rtd)
    57	{
    58		size_t size;
    59		struct snd_pcm *pcm = rtd->pcm;
    60		struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME);
    61		struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component);
    62	
    63		size = afe->mtk_afe_hardware->buffer_bytes_max;
    64		return snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
  > 65							     rtd->platform->dev,
    66							     size, size);
  > 67	}
    68	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65256 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-27 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-27 12:47 [asoc:for-4.18 91/91] sound/soc/mediatek/common/mtk-afe-platform-driver.c:65:15: error: 'struct snd_soc_pcm_runtime' has no member named 'platform' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.