linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Takashi Iwai <tiwai@suse.de>
Subject: [linux-next:master 2111/4815] sound/pci/emu10k1/emufx.c:1124: undefined reference to `__divdi3'
Date: Sun, 28 May 2023 09:23:30 +0800	[thread overview]
Message-ID: <202305280916.VDhHUnPQ-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6a3d37b4d885129561e1cef361216f00472f7d2e
commit: bb5ceb43b7bfa166fd5d739d51ad46c1cfb225e3 [2111/4815] ALSA: emu10k1: fix non-zero mixer control defaults in highres mode
config: i386-randconfig-i001-20230526 (https://download.01.org/0day-ci/archive/20230528/202305280916.VDhHUnPQ-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=bb5ceb43b7bfa166fd5d739d51ad46c1cfb225e3
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout bb5ceb43b7bfa166fd5d739d51ad46c1cfb225e3
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305280916.VDhHUnPQ-lkp@intel.com/

Note: the linux-next/master HEAD 6a3d37b4d885129561e1cef361216f00472f7d2e builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   ld: sound/pci/emu10k1/emufx.o: in function `snd_emu10k1_init_mono_control':
>> sound/pci/emu10k1/emufx.c:1124: undefined reference to `__divdi3'
   ld: sound/pci/emu10k1/emufx.o: in function `snd_emu10k1_init_stereo_control':
   sound/pci/emu10k1/emufx.c:1146: undefined reference to `__divdi3'


vim +1124 sound/pci/emu10k1/emufx.c

  1111	
  1112	static void
  1113	snd_emu10k1_init_mono_control(struct snd_emu10k1_fx8010_control_gpr *ctl,
  1114				      const char *name, int gpr, int defval)
  1115	{
  1116		ctl->id.iface = (__force int)SNDRV_CTL_ELEM_IFACE_MIXER;
  1117		strcpy(ctl->id.name, name);
  1118		ctl->vcount = ctl->count = 1;
  1119		if (high_res_gpr_volume) {
  1120			ctl->min = 0;
  1121			ctl->max = 0x7fffffff;
  1122			ctl->tlv = snd_emu10k1_db_linear;
  1123			ctl->translation = EMU10K1_GPR_TRANSLATION_NONE;
> 1124			defval = defval * 0x7fffffffLL / 100;
  1125		} else {
  1126			ctl->min = 0;
  1127			ctl->max = 100;
  1128			ctl->tlv = snd_emu10k1_db_scale1;
  1129			ctl->translation = EMU10K1_GPR_TRANSLATION_TABLE100;
  1130		}
  1131		ctl->gpr[0] = gpr + 0; ctl->value[0] = defval;
  1132	}
  1133	

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


                 reply	other threads:[~2023-05-28  1:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202305280916.VDhHUnPQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oswald.buddenhagen@gmx.de \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox