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

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

 



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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux