[PATCH] crypto: aspeed: fix build module error
Neal Liu
neal_liu at aspeedtech.com
Mon Sep 5 12:39:58 AEST 2022
> -----Original Message-----
> From: Herbert Xu <herbert at gondor.apana.org.au>
> Sent: Friday, September 2, 2022 6:29 PM
> To: Neal Liu <neal_liu at aspeedtech.com>
> Cc: David S . Miller <davem at davemloft.net>; Joel Stanley <joel at jms.id.au>;
> Andrew Jeffery <andrew at aj.id.au>; linux-aspeed at lists.ozlabs.org;
> linux-crypto at vger.kernel.org; linux-arm-kernel at lists.infradead.org;
> linux-kernel at vger.kernel.org; BMC-SW <BMC-SW at aspeedtech.com>; kernel
> test robot <lkp at intel.com>
> Subject: Re: [PATCH] crypto: aspeed: fix build module error
>
> On Mon, Aug 29, 2022 at 03:20:35PM +0800, Neal Liu wrote:
> >
> > obj-$(CONFIG_CRYPTO_DEV_ASPEED_HACE_HASH) += aspeed-hace-hash.o
> > hace-hash-$(CONFIG_CRYPTO_DEV_ASPEED_HACE_HASH) :=
> aspeed-hace-hash.o
> > obj-$(CONFIG_CRYPTO_DEV_ASPEED_HACE_CRYPTO) +=
> aspeed-hace-crypto.o
> > hace-crypto-$(CONFIG_CRYPTO_DEV_ASPEED_HACE_CRYPTO) :=
> > aspeed-hace-crypto.o
>
> Why are these two files being included twice? I think the obj- lines should be
> deleted.
>
> Thanks,
I'll send new patch within removing the redundant obj- lines.
Thanks.
> --
> Email: Herbert Xu <herbert at gondor.apana.org.au> Home Page:
> http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the Linux-aspeed
mailing list