Skip to content

Commit abe8103

Browse files
Gerd Bayerawilliam
authored andcommitted
vfio/pci: Fix typo in macro to declare accessors
Correct spelling of DECLA[RA]TION Suggested-by: Ramesh Thomas <[email protected]> Signed-off-by: Gerd Bayer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
1 parent 4df13a6 commit abe8103

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

include/linux/vfio_pci_core.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -137,26 +137,26 @@ bool vfio_pci_core_range_intersect_range(loff_t buf_start, size_t buf_cnt,
137137
loff_t *buf_offset,
138138
size_t *intersect_count,
139139
size_t *register_offset);
140-
#define VFIO_IOWRITE_DECLATION(size) \
140+
#define VFIO_IOWRITE_DECLARATION(size) \
141141
int vfio_pci_core_iowrite##size(struct vfio_pci_core_device *vdev, \
142142
bool test_mem, u##size val, void __iomem *io);
143143

144-
VFIO_IOWRITE_DECLATION(8)
145-
VFIO_IOWRITE_DECLATION(16)
146-
VFIO_IOWRITE_DECLATION(32)
144+
VFIO_IOWRITE_DECLARATION(8)
145+
VFIO_IOWRITE_DECLARATION(16)
146+
VFIO_IOWRITE_DECLARATION(32)
147147
#ifdef iowrite64
148-
VFIO_IOWRITE_DECLATION(64)
148+
VFIO_IOWRITE_DECLARATION(64)
149149
#endif
150150

151-
#define VFIO_IOREAD_DECLATION(size) \
151+
#define VFIO_IOREAD_DECLARATION(size) \
152152
int vfio_pci_core_ioread##size(struct vfio_pci_core_device *vdev, \
153153
bool test_mem, u##size *val, void __iomem *io);
154154

155-
VFIO_IOREAD_DECLATION(8)
156-
VFIO_IOREAD_DECLATION(16)
157-
VFIO_IOREAD_DECLATION(32)
155+
VFIO_IOREAD_DECLARATION(8)
156+
VFIO_IOREAD_DECLARATION(16)
157+
VFIO_IOREAD_DECLARATION(32)
158158
#ifdef ioread64
159-
VFIO_IOREAD_DECLATION(64)
159+
VFIO_IOREAD_DECLARATION(64)
160160
#endif
161161

162162
#endif /* VFIO_PCI_CORE_H */

0 commit comments

Comments
 (0)