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: parisc-c3000_defconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=parisc

All warnings (new ones prefixed by >>):

In file included from include/linux/printk.h:6:0,
from include/linux/kernel.h:13,
from include/linux/crypto.h:21,
from include/crypto/aead.h:16,
from crypto/tcrypt.c:27:
crypto/tcrypt.c: In function 'test_mb_acipher_cycles':
>> include/linux/kern_levels.h:4:18: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:23:19: note: in expansion of macro 'KERN_SOH'
#define KERN_CONT KERN_SOH "c"
^~~~~~~~
>> include/linux/printk.h:315:9: note: in expansion of macro 'KERN_CONT'
printk(KERN_CONT fmt, ##__VA_ARGS__)
^~~~~~~~~
>> crypto/tcrypt.c:1082:3: note: in expansion of macro 'pr_cont'
pr_cont("1 operation in %llu cycles (%d bytes)\n",
^~~~~~~

vim +/KERN_CONT +315 include/linux/printk.h

a0cba217 Linus Torvalds 2016-08-09 299 printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__)
a0cba217 Linus Torvalds 2016-08-09 300 #define pr_err(fmt, ...) \
a0cba217 Linus Torvalds 2016-08-09 301 printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
a0cba217 Linus Torvalds 2016-08-09 302 #define pr_warning(fmt, ...) \
a0cba217 Linus Torvalds 2016-08-09 303 printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
a0cba217 Linus Torvalds 2016-08-09 304 #define pr_warn pr_warning
a0cba217 Linus Torvalds 2016-08-09 305 #define pr_notice(fmt, ...) \
a0cba217 Linus Torvalds 2016-08-09 306 printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
a0cba217 Linus Torvalds 2016-08-09 307 #define pr_info(fmt, ...) \
a0cba217 Linus Torvalds 2016-08-09 308 printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
7b1460ec Steven Rostedt 2015-04-15 309 /*
7b1460ec Steven Rostedt 2015-04-15 310 * Like KERN_CONT, pr_cont() should only be used when continuing
7b1460ec Steven Rostedt 2015-04-15 311 * a line with no newline ('\n') enclosed. Otherwise it defaults
7b1460ec Steven Rostedt 2015-04-15 312 * back to KERN_DEFAULT.
7b1460ec Steven Rostedt 2015-04-15 313 */
968ab183 Linus Torvalds 2010-11-15 314 #define pr_cont(fmt, ...) \
968ab183 Linus Torvalds 2010-11-15 @315 printk(KERN_CONT fmt, ##__VA_ARGS__)
968ab183 Linus Torvalds 2010-11-15 316
968ab183 Linus Torvalds 2010-11-15 317 /* pr_devel() should produce zero code unless DEBUG is defined */
968ab183 Linus Torvalds 2010-11-15 318 #ifdef DEBUG
968ab183 Linus Torvalds 2010-11-15 319 #define pr_devel(fmt, ...) \
968ab183 Linus Torvalds 2010-11-15 320 printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
968ab183 Linus Torvalds 2010-11-15 321 #else
968ab183 Linus Torvalds 2010-11-15 322 #define pr_devel(fmt, ...) \
5264f2f7 Joe Perches 2011-01-12 323 no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)

:::::: The code at line 315 was first introduced by commit
:::::: 968ab1838a5d48f02f5b471aa1d0e59e2cc2ccbc include/linux/kernel.h: Move logging bits to include/linux/printk.h

:::::: TO: Linus Torvalds <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
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 03:58    [W:0.097 / U:0.336 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site