Patch "crypto: qat - fix adf_ctl_drv.c:undefined reference to adf_init_pf_wq" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
crypto: qat - fix adf_ctl_drv.c:undefined reference to adf_init_pf_wq
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
crypto-qat-fix-adf_ctl_drv.c-undefined-reference-to-adf_init_pf_wq.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
6dc5df71ee5c8b44607928bfe27be50314dcf848Mon Sep 17 00:00:00 2001
From: Tadeusz Struk <[email protected]>
Date: Fri, 29 Apr 2016 10:43:40 -0700
Subject: crypto: qat - fix adf_ctl_drv.c:undefined reference to adf_init_pf_wq
From: Tadeusz Struk <[email protected]>
commit 6dc5df71ee5c8b44607928bfe27be50314dcf848 upstream.
Fix undefined reference issue reported by kbuild test robot.
--- drivers/crypto/qat/qat_common/adf_common_drv.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)
drivers/crypto/qat/qat_common/adf_common_drv.h +11 -2
@@ -108,6 +108,8 @@ void adf_dev_shutdown(struct adf_accel_dvoid adf_enable_pf2vf_interrupts (struct adf_accel_dev *accel_dev);void adf_disable_pf2vf_interrupts (struct adf_accel_dev *accel_dev); +int adf_init_pf_wq (void ); +void adf_exit_pf_wq (void );int adf_iov_putmsg (struct adf_accel_dev *accel_dev,u32 msg,u8 vf_nr);void adf_pf2vf_notify_restarting (struct adf_accel_dev *accel_dev);int adf_enable_vf2pf_comms (struct adf_accel_dev *accel_dev);
@@ -145,8 +147,6 @@ int adf_enable_aer(struct adf_accel_devvoid adf_disable_aer (struct adf_accel_dev *accel_dev);int adf_init_aer (void );void adf_exit_aer (void ); -int adf_init_pf_wq (void ); -void adf_exit_pf_wq (void );int adf_init_admin_comms (struct adf_accel_dev *accel_dev);void adf_exit_admin_comms (struct adf_accel_dev *accel_dev);int adf_send_admin_init (struct adf_accel_dev *accel_dev);
@@ -238,5 +238,14 @@ static inline int adf_sriov_configure(ststatic inline void adf_disable_sriov (struct adf_accel_dev *accel_dev) { } + +static inline int adf_init_pf_wq (void ) +{ +return 0 ; +} + +static inline void adf_exit_pf_wq (void ) +{ +}#endif #endif
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/crypto-qat-fix-adf_ctl_drv.c-undefined-reference-to-adf_init_pf_wq.patch