git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7451e4
)
iommu/amd: Make amd_iommu_apply_ivrs_quirks() static inline
author
Joerg Roedel
<jroedel@suse.de>
Tue, 30 Jun 2020 12:46:11 +0000
(14:46 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Tue, 30 Jun 2020 12:47:42 +0000
(14:47 +0200)
At least the version in the header file to fix a compile warning about
the function being unused.
Reported-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Link:
https://lore.kernel.org/r/20200630124611.23153-1-joro@8bytes.org
drivers/iommu/amd/amd_iommu.h
patch
|
blob
|
history
diff --git
a/drivers/iommu/amd/amd_iommu.h
b/drivers/iommu/amd/amd_iommu.h
index f892992c8744dfe28d3216d41d68bbcfd553bfcd..57309716fd180adfbb609db7e195e7a036c3acd6 100644
(file)
--- a/
drivers/iommu/amd/amd_iommu.h
+++ b/
drivers/iommu/amd/amd_iommu.h
@@
-102,7
+102,7
@@
extern int __init add_special_device(u8 type, u8 id, u16 *devid,
#ifdef CONFIG_DMI
void amd_iommu_apply_ivrs_quirks(void);
#else
-static void amd_iommu_apply_ivrs_quirks(void) { }
+static
inline
void amd_iommu_apply_ivrs_quirks(void) { }
#endif
#endif