[tiwai-sound:test/pcm-sockptr 18/26] drivers/media/pci/solo6x10/solo6x10-g723.c:242:11: error: use of undeclared identifier 'snd_solo_pcm_copy_user'; did you mean 'snd_solo_pcm_copy'?

[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 test/pcm-sockptr
head:   3fffa74b00add561981357c76375e1829059d4e5
commit: 79cf0bf97368998dd44c1863d6f54057846b68c9 [18/26] media: solo6x10: Convert to generic PCM copy ops
config: x86_64-randconfig-x004-20230728 (https://download.01.org/0day-ci/archive/20230729/202307291526.AOnKZKB1-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230729/202307291526.AOnKZKB1-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307291526.AOnKZKB1-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/media/pci/solo6x10/solo6x10-g723.c:242:11: error: use of undeclared identifier 'snd_solo_pcm_copy_user'; did you mean 'snd_solo_pcm_copy'?
           .copye = snd_solo_pcm_copy_user,
                    ^~~~~~~~~~~~~~~~~~~~~~
                    snd_solo_pcm_copy
   drivers/media/pci/solo6x10/solo6x10-g723.c:207:12: note: 'snd_solo_pcm_copy' declared here
   static int snd_solo_pcm_copy(struct snd_pcm_substream *ss, int channel,
              ^
>> drivers/media/pci/solo6x10/solo6x10-g723.c:242:3: error: field designator 'copye' does not refer to any field in type 'const struct snd_pcm_ops'; did you mean 'copy'?
           .copye = snd_solo_pcm_copy_user,
            ^~~~~
            copy
   include/sound/pcm.h:72:8: note: 'copy' declared here
           int (*copy)(struct snd_pcm_substream *substream, int channel,
                 ^
   2 errors generated.


vim +242 drivers/media/pci/solo6x10/solo6x10-g723.c

   235	
   236	static const struct snd_pcm_ops snd_solo_pcm_ops = {
   237		.open = snd_solo_pcm_open,
   238		.close = snd_solo_pcm_close,
   239		.prepare = snd_solo_pcm_prepare,
   240		.trigger = snd_solo_pcm_trigger,
   241		.pointer = snd_solo_pcm_pointer,
 > 242		.copye = snd_solo_pcm_copy_user,
   243	};
   244	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[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