Hi lkp, Thanks for the report. Adding m68k maintainer to Cc. On Tue, Jun 22 2021, kernel test robot wrote: > I love your patch! Yet something to improve: > > [auto build test ERROR on pwm/for-next] > [also build test ERROR on robh/for-next v5.13-rc7 next-20210621] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Baruch-Siach/pwm-driver-for-qualcomm-ipq6018-pwm-block/20210622-155719 > base: https://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git for-next > config: m68k-allmodconfig (attached as .config) > compiler: m68k-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/9fe01901cd004c6d48de541eb67dd006243c9220 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Baruch-Siach/pwm-driver-for-qualcomm-ipq6018-pwm-block/20210622-155719 > git checkout 9fe01901cd004c6d48de541eb67dd006243c9220 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>, old ones prefixed by <<): > >>> ERROR: modpost: "__divdi3" [drivers/pwm/pwm-ipq.ko] undefined! >>> ERROR: modpost: "__udivdi3" [drivers/pwm/pwm-ipq.ko] undefined! That is most likely related to the div64_u64() call. The sh arch also showed a similar issue on v2: https://lore.kernel.org/linux-pwm/202105250028.jIIxG5w6-lkp@intel.com/ What is the right fix here? Isn't div64_u64() universally available? I see quite a few calls under driver/pwm/. Should the driver depend on some per-arch Kconfig symbol? Thanks, baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -