adf_vf_isr.c:undefined reference to `adf_enable_pf2vf_interrupts'
A message that is not in the archive (sent off-list or not yet received): 201512200824.Fu1YirHO%[email protected]
Hi,
Quoted 9 lines · kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9379b045413ee30c88965e81d376af989ec32cf3 commit: 1a72d3a6d1d9a08705546eba14f0390c565ccd24 [4796/5585] crypto: qat - move isr files to qat common so that they can be reused config: x86_64-randconfig-s4-12200710 (attached as .config) reproduce: git checkout 1a72d3a6d1d9a08705546eba14f0390c565ccd24 # save the attached .config to linux build tree make ARCH=x86_64
Quoted 7 lines
All errors (new ones prefixed by >>):
drivers/built-in.o: In function `adf_pf2vf_bh_handler':Quoted 1 line
Quoted 1 line
adf_vf_isr.c:(.text+0xdfb30b): undefined reference to `adf_enable_pf2vf_interrupts'
drivers/built-in.o: In function `adf_isr':Quoted 1 line
Quoted 1 line
adf_vf_isr.c:(.text+0xdfb38b): undefined reference to `adf_disable_pf2vf_interrupts'
Thanks for reporting and sorry for delay. I'm on Holidays. This should fix it.
---8<---
Fix random config build issue.
Reported-by kbuild test robot <[email protected]>
Signed-off-by Tadeusz Struk <[email protected]>
---
drivers/crypto/qat/qat_common/adf_common_drv.h +10 -2
@@ -106,8 +106,6 @@ int adf_dev_start(struct adf_accel_dev *accel_dev);int adf_dev_stop (struct adf_accel_dev *accel_dev);void adf_dev_shutdown (struct adf_accel_dev *accel_dev); -void adf_enable_pf2vf_interrupts (struct adf_accel_dev *accel_dev); -void adf_disable_pf2vf_interrupts (struct adf_accel_dev *accel_dev);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);
@@ -236,6 +234,8 @@ void adf_disable_vf2pf_interrupts(struct adf_accel_dev *accel_dev, uint32_t vf_mask);void adf_enable_vf2pf_interrupts (struct adf_accel_dev *accel_dev,uint32_t vf_mask); +void adf_enable_pf2vf_interrupts (struct adf_accel_dev *accel_dev); +void adf_disable_pf2vf_interrupts (struct adf_accel_dev *accel_dev);#else static inline int adf_sriov_configure (struct pci_dev *pdev,int numvfs) {
@@ -245,5 +245,13 @@ static inline int adf_sriov_configure(struct pci_dev *pdev, int numvfs)static inline void adf_disable_sriov (struct adf_accel_dev *accel_dev) { } + +static inline void adf_enable_pf2vf_interrupts (struct adf_accel_dev *accel_dev) +{ +} + +static inline void adf_disable_pf2vf_interrupts (struct adf_accel_dev *accel_dev) +{ +}#endif #endif
Herbert Xu
maintainerQuoted 5 lines · Tadeusz Struk
Fix random config build issue.
Reported-by kbuild test robot <[email protected]>Signed-off-by Tadeusz Struk <[email protected]>
Patch applied. Please use a proper subject next time either as part of the email or after the scissor line.
Thanks,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt