mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
vfio/pci: Fix typo in macro to declare accessors
Correct spelling of DECLA[RA]TION Suggested-by: Ramesh Thomas <ramesh.thomas@intel.com> Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com> Link: https://lore.kernel.org/r/20240619115847.1344875-4-gbayer@linux.ibm.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
parent
4df13a6871
commit
abe8103da3
@ -137,26 +137,26 @@ bool vfio_pci_core_range_intersect_range(loff_t buf_start, size_t buf_cnt,
|
||||
loff_t *buf_offset,
|
||||
size_t *intersect_count,
|
||||
size_t *register_offset);
|
||||
#define VFIO_IOWRITE_DECLATION(size) \
|
||||
#define VFIO_IOWRITE_DECLARATION(size) \
|
||||
int vfio_pci_core_iowrite##size(struct vfio_pci_core_device *vdev, \
|
||||
bool test_mem, u##size val, void __iomem *io);
|
||||
|
||||
VFIO_IOWRITE_DECLATION(8)
|
||||
VFIO_IOWRITE_DECLATION(16)
|
||||
VFIO_IOWRITE_DECLATION(32)
|
||||
VFIO_IOWRITE_DECLARATION(8)
|
||||
VFIO_IOWRITE_DECLARATION(16)
|
||||
VFIO_IOWRITE_DECLARATION(32)
|
||||
#ifdef iowrite64
|
||||
VFIO_IOWRITE_DECLATION(64)
|
||||
VFIO_IOWRITE_DECLARATION(64)
|
||||
#endif
|
||||
|
||||
#define VFIO_IOREAD_DECLATION(size) \
|
||||
#define VFIO_IOREAD_DECLARATION(size) \
|
||||
int vfio_pci_core_ioread##size(struct vfio_pci_core_device *vdev, \
|
||||
bool test_mem, u##size *val, void __iomem *io);
|
||||
|
||||
VFIO_IOREAD_DECLATION(8)
|
||||
VFIO_IOREAD_DECLATION(16)
|
||||
VFIO_IOREAD_DECLATION(32)
|
||||
VFIO_IOREAD_DECLARATION(8)
|
||||
VFIO_IOREAD_DECLARATION(16)
|
||||
VFIO_IOREAD_DECLARATION(32)
|
||||
#ifdef ioread64
|
||||
VFIO_IOREAD_DECLATION(64)
|
||||
VFIO_IOREAD_DECLARATION(64)
|
||||
#endif
|
||||
|
||||
#endif /* VFIO_PCI_CORE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user