2015-06-13 15:37:51

by Dan Streetman

[permalink] [raw]
Subject: Re: [cryptodev:master 73/233] drivers/crypto/nx/nx-842-pseries.c:45:14: error: 'DDE_BUFFER_LAST_MULT' undeclared here (not in a function)

On Sat, Jun 13, 2015 at 8:58 AM, kbuild test robot
<[email protected]> wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
> head: 81781e681551ed3f56c9202e9adc7ef941cba654
> commit: 959e6659b6f74ec1fa4d391a3b88d63dc0189f36 [73/233] crypto: nx - add nx842 constraints
> config: powerpc-allmodconfig (attached as .config)
> 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
> git checkout 959e6659b6f74ec1fa4d391a3b88d63dc0189f36
> # save the attached .config to linux build tree
> make.cross ARCH=powerpc
>
> Note: the cryptodev/master HEAD 81781e681551ed3f56c9202e9adc7ef941cba654 builds fine.
> It only hurts bisectibility.
>
> All error/warnings (new ones prefixed by >>):
>
>>> drivers/crypto/nx/nx-842-pseries.c:45:14: error: 'DDE_BUFFER_LAST_MULT' undeclared here (not in a function)
> .multiple = DDE_BUFFER_LAST_MULT,
> ^

sorry, that is added by the next patch in the patch series, so there
should be no problem except this specific patch will have to be
skipped during bisecting.


>
> vim +/DDE_BUFFER_LAST_MULT +45 drivers/crypto/nx/nx-842-pseries.c
>
> 39
> 40 /* IO buffer must be 128 byte aligned */
> 41 #define IO_BUFFER_ALIGN 128
> 42
> 43 static struct nx842_constraints nx842_pseries_constraints = {
> 44 .alignment = IO_BUFFER_ALIGN,
> > 45 .multiple = DDE_BUFFER_LAST_MULT,
> 46 .minimum = IO_BUFFER_ALIGN,
> 47 .maximum = PAGE_SIZE, /* dynamic, max_sync_size */
> 48 };
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild Intel Corporation