[alsa-devel] [sound:topic/kill-set_fs 40/43] sound/soc/blackfin/bf5xx-ac97.c:62:30: error: 'SRC' undeclared

kbuild test robot fengguang.wu at intel.com
Thu May 11 22:35:39 CEST 2017


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/kill-set_fs
head:   79778abbaa9e2c939edeee9a9f6e56a519325110
commit: f96cf8a3d3ada486bdef6aca6d8a615429c03d0b [40/43] ASoC: blackfin: Convert to copy_silence ops
config: blackfin-allmodconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f96cf8a3d3ada486bdef6aca6d8a615429c03d0b
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

   sound/soc/blackfin/bf5xx-ac97.c: In function 'bf5xx_pcm_to_ac97':
>> sound/soc/blackfin/bf5xx-ac97.c:62:30: error: 'SRC' undeclared (first use in this function)
       dst->ac97_pcm_l = GET_VAL(SRC);
                                 ^
   sound/soc/blackfin/bf5xx-ac97.c:47:24: note: in definition of macro 'GET_VAL'
    #define GET_VAL(src) (*src++)  /* copy only */
                           ^~~
   sound/soc/blackfin/bf5xx-ac97.c:62:30: note: each undeclared identifier is reported only once for each function it appears in
       dst->ac97_pcm_l = GET_VAL(SRC);
                                 ^
   sound/soc/blackfin/bf5xx-ac97.c:47:24: note: in definition of macro 'GET_VAL'
    #define GET_VAL(src) (*src++)  /* copy only */
                           ^~~

vim +/SRC +62 sound/soc/blackfin/bf5xx-ac97.c

    56			dst->ac97_tag = TAG_VALID;
    57			if (chan_mask & SP_FL) {
    58				dst->ac97_pcm_r = GET_VAL(src);
    59				dst->ac97_tag |= TAG_PCM_RIGHT;
    60			}
    61			if (chan_mask & SP_FR) {
  > 62				dst->ac97_pcm_l = GET_VAL(SRC);
    63				dst->ac97_tag |= TAG_PCM_LEFT;
    64	
    65			}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 43970 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170512/d78b992c/attachment-0001.bin>


More information about the Alsa-devel mailing list