Skip to contentSkip to conversation

Patch "crypto: qat - do not export adf_iov_putmsg()" has been added to the 4.4-stable tree

DISCUSSION Greg KH 1 participant 1 message Sep 13, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Greg KH

author
#1 lore raw
Quoted 38 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

crypto: qat - do not export adf_iov_putmsg()

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-do-not-export-adf_iov_putmsg.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.

commit 5f8033f94420950b5fc4b91dd2154c00fc88d44e

Author: Giovanni Cabiddu <[email protected]>
Date:   Thu Aug 12 21:21:28 2021 +0100

crypto: qat - do not export adf_iov_putmsg()

[ Upstream commit 645ae0af1840199086c33e4f841892ebee73f615 ]

The function adf_iov_putmsg() is only used inside the intel_qat module therefore should not be exported.
Remove EXPORT_SYMBOL for the function adf_iov_putmsg().

drivers/crypto/qat/qat_common/adf_pf2vf_msg.c +0 -0
index 711706819b05..f071aba32a28 100644

drivers/crypto/qat/qat_common/adf_pf2vf_msg.c int adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr) · line 259

Quoted 7 lines
drivers/crypto/qat/qat_common/adf_pf2vf_msg.c +0 -1
@@ -254,7 +254,6 @@ int adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr)
 
 	return ret;
 }
-EXPORT_SYMBOL_GPL(adf_iov_putmsg);
 
 void adf_vf2pf_req_hndl(struct adf_accel_vf_info *vf_info)
 {

This breaks the build on the 4.4.y stable queue, so I am dropping it from there.

thanks,

greg k-h