From: T Pratham <t-pratham@ti.com>
To: kernel test robot <lkp@intel.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>
Cc: <llvm@lists.linux.dev>, <oe-kbuild-all@lists.linux.dev>,
<netdev@vger.kernel.org>, Manorit Chawdhry <m-chawdhry@ti.com>,
"Kamlesh Gurudasani" <kamlesh@ti.com>,
Shiva Tripathi <s-tripathi1@ti.com>,
"Kavitha Malarvizhi" <k-malarvizhi@ti.com>,
Vishal Mahaveer <vishalm@ti.com>, <linux-crypto@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v6 3/4] crypto: ti - Add support for AES-GCM in DTHEv2 driver
Date: Fri, 14 Nov 2025 14:34:41 +0530 [thread overview]
Message-ID: <f0440e5a-6c3e-4c31-b9c8-1f5ced9ceeba@ti.com> (raw)
In-Reply-To: <202511141245.zQcC9EcY-lkp@intel.com>
On 14/11/25 12:17, kernel test robot wrote:
> Hi Pratham,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on herbert-crypto-2.6/master]
> [also build test ERROR on linus/master v6.18-rc5]
Applied to incorrect tree. The patch depends on [1] which has been
merged in cryptodev-2.6/master
> [cannot apply to herbert-cryptodev-2.6/master next-20251113]
This is maybe due to the first patch in the series, which was already
present in the tree?
>
> All errors (new ones prefixed by >>):
>
>>> drivers/crypto/ti/dthev2-aes.c:573:17: error: call to undeclared function 'crypto_alloc_sync_aead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 573 | ctx->aead_fb = crypto_alloc_sync_aead(alg_name, 0,
> | ^
> drivers/crypto/ti/dthev2-aes.c:573:17: note: did you mean 'crypto_alloc_aead'?
> include/crypto/aead.h:181:21: note: 'crypto_alloc_aead' declared here
> 181 | struct crypto_aead *crypto_alloc_aead(const char *alg_name, u32 type, u32 mask);
> | ^
>>> drivers/crypto/ti/dthev2-aes.c:573:15: error: incompatible integer to pointer conversion assigning to 'struct crypto_sync_aead *' from 'int' [-Wint-conversion]
> 573 | ctx->aead_fb = crypto_alloc_sync_aead(alg_name, 0,
> | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 574 | CRYPTO_ALG_NEED_FALLBACK);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
>>> drivers/crypto/ti/dthev2-aes.c:588:2: error: call to undeclared function 'crypto_free_sync_aead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 588 | crypto_free_sync_aead(ctx->aead_fb);
> | ^
> drivers/crypto/ti/dthev2-aes.c:588:2: note: did you mean 'crypto_free_aead'?
> include/crypto/aead.h:194:20: note: 'crypto_free_aead' declared here
> 194 | static inline void crypto_free_aead(struct crypto_aead *tfm)
> | ^
>>> drivers/crypto/ti/dthev2-aes.c:831:2: error: call to undeclared function 'crypto_sync_aead_clear_flags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 831 | crypto_sync_aead_clear_flags(ctx->aead_fb, CRYPTO_TFM_REQ_MASK);
> | ^
> drivers/crypto/ti/dthev2-aes.c:831:2: note: did you mean 'crypto_aead_clear_flags'?
> include/crypto/aead.h:298:20: note: 'crypto_aead_clear_flags' declared here
> 298 | static inline void crypto_aead_clear_flags(struct crypto_aead *tfm, u32 flags)
> | ^
>>> drivers/crypto/ti/dthev2-aes.c:832:2: error: call to undeclared function 'crypto_sync_aead_set_flags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 832 | crypto_sync_aead_set_flags(ctx->aead_fb,
> | ^
>>> drivers/crypto/ti/dthev2-aes.c:836:9: error: call to undeclared function 'crypto_sync_aead_setkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 836 | return crypto_sync_aead_setkey(ctx->aead_fb, key, keylen);
> | ^
> drivers/crypto/ti/dthev2-aes.c:836:9: note: did you mean 'crypto_aead_setkey'?
> include/crypto/aead.h:319:5: note: 'crypto_aead_setkey' declared here
> 319 | int crypto_aead_setkey(struct crypto_aead *tfm,
> | ^
>>> drivers/crypto/ti/dthev2-aes.c:846:9: error: call to undeclared function 'crypto_sync_aead_setauthsize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 846 | return crypto_sync_aead_setauthsize(ctx->aead_fb, authsize);
> | ^
> drivers/crypto/ti/dthev2-aes.c:846:9: note: did you mean 'crypto_aead_setauthsize'?
> include/crypto/aead.h:332:5: note: 'crypto_aead_setauthsize' declared here
> 332 | int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize);
> | ^
>>> drivers/crypto/ti/dthev2-aes.c:854:2: error: call to undeclared function 'SYNC_AEAD_REQUEST_ON_STACK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 854 | SYNC_AEAD_REQUEST_ON_STACK(subreq, ctx->aead_fb);
> | ^
>>> drivers/crypto/ti/dthev2-aes.c:854:29: error: use of undeclared identifier 'subreq'
> 854 | SYNC_AEAD_REQUEST_ON_STACK(subreq, ctx->aead_fb);
> | ^~~~~~
> drivers/crypto/ti/dthev2-aes.c:856:28: error: use of undeclared identifier 'subreq'
> 856 | aead_request_set_callback(subreq, req->base.flags,
> | ^~~~~~
> drivers/crypto/ti/dthev2-aes.c:858:25: error: use of undeclared identifier 'subreq'
> 858 | aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, req->iv);
> | ^~~~~~
> drivers/crypto/ti/dthev2-aes.c:859:22: error: use of undeclared identifier 'subreq'
> 859 | aead_request_set_ad(subreq, req->assoclen);
> | ^~~~~~
> drivers/crypto/ti/dthev2-aes.c:861:41: error: use of undeclared identifier 'subreq'
> 861 | return rctx->enc ? crypto_aead_encrypt(subreq) :
> | ^~~~~~
> drivers/crypto/ti/dthev2-aes.c:862:23: error: use of undeclared identifier 'subreq'
> 862 | crypto_aead_decrypt(subreq);
> | ^~~~~~
> 14 errors generated.
>
All the errors are due to the patch [1] not being present in the applied
tree. It should be fine when applied to cryptodev-2.6/master.
[1]:
https://lore.kernel.org/linux-crypto/20251022171902.724369-2-t-pratham@ti.com/
--
Regards
T Pratham <t-pratham@ti.com>
next prev parent reply other threads:[~2025-11-14 9:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 11:08 [PATCH v6 0/4] Add support for more AES modes in TI DTHEv2 T Pratham
2025-11-11 11:08 ` [PATCH v6 1/4] crypto: ti - Add support for AES-XTS in DTHEv2 driver T Pratham
2025-11-11 11:40 ` T Pratham
2025-11-11 11:08 ` [PATCH v6 2/4] crypto: ti - Add support for AES-CTR " T Pratham
2025-11-21 3:11 ` Herbert Xu
2025-11-11 11:08 ` [PATCH v6 3/4] crypto: ti - Add support for AES-GCM " T Pratham
2025-11-14 6:47 ` kernel test robot
2025-11-14 9:04 ` T Pratham [this message]
2025-11-14 7:52 ` kernel test robot
2025-11-14 9:36 ` kernel test robot
2025-11-11 11:08 ` [PATCH v6 4/4] crypto: ti - Add support for AES-CCM " T Pratham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f0440e5a-6c3e-4c31-b9c8-1f5ced9ceeba@ti.com \
--to=t-pratham@ti.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=k-malarvizhi@ti.com \
--cc=kamlesh@ti.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=m-chawdhry@ti.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=s-tripathi1@ti.com \
--cc=vishalm@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox