[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201612310818.PAvJPF1w%fengguang.wu@intel.com>
Date: Sat, 31 Dec 2016 08:03:13 +0800
From: kbuild test robot <lkp@...el.com>
To: gidisrael@...il.com
Cc: kbuild-all@...org, herbert@...dor.apana.org.au,
davem@...emloft.net, nhorman@...driver.com,
akpm@...ux-foundation.org, geert@...ux-m68k.org, joe@...ches.com,
linux-kernel@...r.kernel.org,
Gideon Israel Dsouza <gidisrael@...il.com>
Subject: Re: [PATCH] crypto: Used macros from compiler.h instead of
__attribute__(...))
Hi =,
[auto build test ERROR on cryptodev/master]
[also build test ERROR on v4.10-rc1 next-20161224]
[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/gidisrael-gmail-com/crypto-Used-macros-from-compiler-h-instead-of-__attribute__/20161231-072412
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile
All errors (new ones prefixed by >>):
crypto/shash.c: In function 'shash_update_unaligned':
>> crypto/shash.c:84:3: error: requested alignment is not a constant
crypto/shash.c: In function 'shash_final_unaligned':
crypto/shash.c:120:3: error: requested alignment is not a constant
vim +84 crypto/shash.c
78 struct crypto_shash *tfm = desc->tfm;
79 struct shash_alg *shash = crypto_shash_alg(tfm);
80 unsigned long alignmask = crypto_shash_alignmask(tfm);
81 unsigned int unaligned_len = alignmask + 1 -
82 ((unsigned long)data & alignmask);
83 u8 ubuf[shash_align_buffer_size(unaligned_len, alignmask)]
> 84 __aligned(aligned);
85 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1);
86 int err;
87
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (47092 bytes)
Powered by blists - more mailing lists