Re: [PATCH] crypto: keembay - publish OF module alias for OCS AES/SM4
From: Herbert Xu
Date: Sun Jul 26 2026 - 20:33:40 EST
On Tue, Jul 14, 2026 at 09:14:42PM +0800, Can Peng wrote:
> The Keem Bay OCS AES/SM4 driver has an OF match table wired to
> .of_match_table, but does not export the table with MODULE_DEVICE_TABLE().
>
> Although the match table lives in keembay-ocs-aes-core.o, that object is
> part of the composite keembay-ocs-aes module. Add the missing
> MODULE_DEVICE_TABLE(of, ...) entry so modpost can generate OF module alias
> information for OF based module autoloading.
>
> This is a source-level fix. It does not claim dynamic hardware
> reproduction; the evidence is the driver-owned match table, its use by the
> platform driver, and the missing module alias publication.
>
> Fixes: 885743324513 ("crypto: keembay - Add support for Keem Bay OCS AES/SM4")
> Signed-off-by: Can Peng <pengcan@xxxxxxxxxx>
> ---
> drivers/crypto/intel/keembay/keembay-ocs-aes-core.c | 1 +
> 1 file changed, 1 insertion(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt