Files
i2som-imx-linux/include/linux
Joerg Roedel 8278f34f6c iommu/vt-d: Fix compile warning from intel-svm.h
commit e7598fac32 upstream.

The intel_svm_is_pasid_valid() needs to be marked inline, otherwise it
causes the compile warning below:

  CC [M]  drivers/dma/idxd/cdev.o
In file included from drivers/dma/idxd/cdev.c:9:0:
./include/linux/intel-svm.h:125:12: warning: ‘intel_svm_is_pasid_valid’ defined but not used [-Wunused-function]
 static int intel_svm_is_pasid_valid(struct device *dev, int pasid)
            ^~~~~~~~~~~~~~~~~~~~~~~~

Reported-by: Borislav Petkov <bp@alien8.de>
Fixes: 15060aba71 ('iommu/vt-d: Helper function to query if a pasid has any active users')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-28 17:22:26 +01:00
..
2020-02-19 19:53:09 +01:00
2020-02-11 04:35:52 -08:00
2020-01-26 10:01:07 +01:00
2019-12-17 19:55:30 +01:00
2019-11-29 10:10:13 +01:00
2019-12-13 08:42:53 +01:00
2020-01-09 10:19:59 +01:00
2019-12-13 08:43:18 +01:00
2019-10-31 14:01:40 -07:00