lkml.org 
[lkml]   [2017]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch V5 7/7] crypto: AES CBC multi-buffer tcrypt
Hi Megha,

[auto build test WARNING on next-20170420]
[also build test WARNING on v4.11-rc7]
[cannot apply to crypto/master sparc-next/master v4.9-rc8 v4.9-rc7 v4.9-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Megha-Dey/crypto-AES-CBC-multibuffer-implementation/20170421-064210
config: m68k-sun3_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k

All warnings (new ones prefixed by >>):

crypto/tcrypt.c: In function 'test_mb_acipher_cycles':
>> crypto/tcrypt.c:1082:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
pr_cont("1 operation in %llu cycles (%d bytes)\n",
^

vim +1082 crypto/tcrypt.c

1066 * Initiate a maximum of MB_WIDTH operations per loop
1067 * Measure performance over MB_WIDTH iterations
1068 * Let do_multi_acipher_op count the cycles
1069 */
1070 for (i = 0; i < ITR; i++) {
1071 mb_start = get_cycles();
1072 ret = do_multi_acipher_op(req, enc);
1073
1074 mb_end = get_cycles();
1075 cycles += mb_end - mb_start;
1076 if (ret)
1077 goto out;
1078 }
1079
1080 out:
1081 if (ret == 0)
> 1082 pr_cont("1 operation in %llu cycles (%d bytes)\n",
1083 (cycles + 4) / (ITR*MB_WIDTH), blen);
1084
1085 return ret;
1086 }
1087
1088 static void test_mb_acipher_speed(const char *algo, int enc, unsigned int secs,
1089 struct cipher_speed_template *template,
1090 unsigned int tcount, u8 *keysize)

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-04-21 02:55    [W:2.126 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site