crypto: qat - fix adf_dbgfs_exit() typo
Subsystems (2)
PATCH 1/1 crypto: qat - fix adf_dbgfs_exit() typo
From: Arnd Bergmann <[email protected]>
The stub function uses a different name from the normal one:
drivers/crypto/intel/qat/qat_c3xxx/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_c62xvf/adf_drv.c:68:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_c62x/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration]
Rename the function to match the normal one.
--- drivers/crypto/intel/qat/qat_common/adf_dbgfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/intel/qat/qat_common/adf_dbgfs.h +1 -1
@@ -22,7 +22,7 @@ static inline void adf_dbgfs_rm(struct adf_accel_dev *accel_dev) { } -static inline void adf_dbgfs_cleanup (struct adf_accel_dev *accel_dev) +static inline void adf_dbgfs_exit (struct adf_accel_dev *accel_dev) { }#endif
Signature · 1 line
2.39.2
Cabiddu, Giovanni
maintainerThanks Arnd.
I already sent the same fix a few days ago: https://patchwork.kernel.org/project/linux-crypto/patch/[email protected]/
Signature · 1 line
Giovanni
-----Original Message-----
From: Arnd Bergmann <[email protected]>
Sent: Monday, June 5, 2023 3:45 PM
To: Cabiddu, Giovanni <[email protected]>; Herbert Xu <[email protected]>; David S. Miller <[email protected]>; Muszynski, Damian <[email protected]>
Cc: Arnd Bergmann <[email protected]>; qat-linux <[email protected]>; [email protected]; [email protected]
Subject: [PATCH] crypto: qat - fix adf_dbgfs_exit() typo
From: Arnd Bergmann <[email protected]>
The stub function uses a different name from the normal one:
drivers/crypto/intel/qat/qat_c3xxx/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_c62xvf/adf_drv.c:68:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_c62x/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration]
Rename the function to match the normal one.
--- drivers/crypto/intel/qat/qat_common/adf_dbgfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/intel/qat/qat_common/adf_dbgfs.h +1 -2
@@ -22,7 +22,7 @@ static inline void adf_dbgfs_rm(struct adf_accel_dev *accel_dev) { } -static inline void adf_dbgfs_cleanup (struct adf_accel_dev *accel_dev) +static inline void adf_dbgfs_exit (struct adf_accel_dev *accel_dev) { }#endif --
2.39.2