lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202008070832.oxQnwUJO%lkp@intel.com>
Date:   Fri, 7 Aug 2020 08:10:41 +0800
From:   kernel test robot <lkp@...el.com>
To:     Crt Mori <cmo@...exis.com>, Jonathan Cameron <jic23@...nel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
        Crt Mori <cmo@...exis.com>
Subject: Re: [PATCH] iio:temperature:mlx90632: Adding extended calibration
 option

Hi Crt,

I love your patch! Yet something to improve:

[auto build test ERROR on iio/togreg]
[also build test ERROR on v5.8 next-20200806]
[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/Crt-Mori/iio-temperature-mlx90632-Adding-extended-calibration-option/20200807-051234
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: x86_64-randconfig-a016-20200806 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 076b120bebfd727b502208601012a44ab2e1028e)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/iio/temperature/mlx90632.c:608:11: error: too many arguments to function call, expected 9, have 10
                                                              tmp_emi);
                                                              ^~~~~~~
   drivers/iio/temperature/mlx90632.c:533:12: note: 'mlx90632_calc_temp_object_iteration' declared here
   static s32 mlx90632_calc_temp_object_iteration(s32 prev_object_temp, s64 object,
              ^
   1 error generated.

vim +608 drivers/iio/temperature/mlx90632.c

   582	
   583	static s32 mlx90632_calc_temp_object_extended(s64 object, s64 ambient, s64 reflected,
   584						      s32 Ea, s32 Eb, s32 Fa, s32 Fb, s32 Ga,
   585						      s16 Ha, s16 Hb, u16 tmp_emi)
   586	{
   587		s64 kTA, kTA0, TAdut, TAdut4, Tr4, TaTr4;
   588		s64 temp = 25000;
   589		s8 i;
   590	
   591		kTA = (Ea * 1000LL) >> 16LL;
   592		kTA0 = (Eb * 1000LL) >> 8LL;
   593		TAdut = div64_s64(((ambient - kTA0) * 1000000LL), kTA) + 25 * 1000000LL;
   594		Tr4 = (div64_long(reflected, 10) + 27315) *
   595			(div64_long(reflected, 10) + 27315) *
   596			(div64_long(reflected, 10) + 27315) *
   597			(div64_long(reflected, 10) + 27315);
   598		TAdut4 = (div64_s64(TAdut, 10000LL) + 27315) *
   599			(div64_s64(TAdut, 10000LL) + 27315) *
   600			(div64_s64(TAdut, 10000LL)  + 27315) *
   601			(div64_s64(TAdut, 10000LL) + 27315);
   602		TaTr4 = Tr4 - div64_long(Tr4 - TAdut4, tmp_emi) * 1000;
   603	
   604		/* Iterations of calculation as described in datasheet */
   605		for (i = 0; i < 5; ++i) {
   606			temp = mlx90632_calc_temp_object_iteration(temp, object, TAdut, TaTr4,
   607								   Fa / 2, Fb, Ga, Ha, Hb,
 > 608								   tmp_emi);
   609		}
   610	
   611		return temp;
   612	}
   613	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (32538 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ