bhyve: Remove trailing semicolon
Macros shouldn't use trailing semicolon. Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/654
This commit is contained in:
parent
2ed0305bc3
commit
1308a17bad
@ -101,10 +101,10 @@ struct basl_fio {
|
||||
};
|
||||
|
||||
#define EFPRINTF(...) \
|
||||
if (fprintf(__VA_ARGS__) < 0) goto err_exit;
|
||||
if (fprintf(__VA_ARGS__) < 0) goto err_exit
|
||||
|
||||
#define EFFLUSH(x) \
|
||||
if (fflush(x) != 0) goto err_exit;
|
||||
if (fflush(x) != 0) goto err_exit
|
||||
|
||||
/*
|
||||
* A list for additional ACPI devices like a TPM.
|
||||
|
@ -41,7 +41,7 @@ struct ipc_command {
|
||||
#define IPC_COMMAND(set, name, function) \
|
||||
static struct ipc_command name ## _ipc_command = \
|
||||
{ #name, function }; \
|
||||
DATA_SET(set, name ## _ipc_command);
|
||||
DATA_SET(set, name ## _ipc_command)
|
||||
|
||||
#define IPC_COMMAND_FOREACH(pvar, set) SET_FOREACH(pvar, set)
|
||||
|
||||
|
@ -82,7 +82,7 @@ struct pci_devemu {
|
||||
int (*pe_resume)(struct pci_devinst *pi);
|
||||
|
||||
};
|
||||
#define PCI_EMUL_SET(x) DATA_SET(pci_devemu_set, x);
|
||||
#define PCI_EMUL_SET(x) DATA_SET(pci_devemu_set, x)
|
||||
|
||||
enum pcibar_type {
|
||||
PCIBAR_NONE,
|
||||
|
@ -87,6 +87,6 @@ struct hda_ops {
|
||||
uint8_t dir, uint8_t *buf, size_t count);
|
||||
};
|
||||
|
||||
#define HDA_EMUL_SET(x) DATA_SET(hda_codec_class_set, x);
|
||||
#define HDA_EMUL_SET(x) DATA_SET(hda_codec_class_set, x)
|
||||
|
||||
#endif /* _HDA_EMUL_H_ */
|
||||
|
@ -129,7 +129,7 @@ static int nvme_debug = 0;
|
||||
/* Encode number of SQ's and CQ's for Set/Get Features */
|
||||
#define NVME_FEATURE_NUM_QUEUES(sc) \
|
||||
(ZERO_BASED((sc)->num_squeues) & 0xffff) | \
|
||||
(ZERO_BASED((sc)->num_cqueues) & 0xffff) << 16;
|
||||
(ZERO_BASED((sc)->num_cqueues) & 0xffff) << 16
|
||||
|
||||
#define NVME_DOORBELL_OFFSET offsetof(struct nvme_registers, doorbell)
|
||||
|
||||
|
@ -65,7 +65,7 @@ struct usb_devemu {
|
||||
int (*ue_stop)(void *sc);
|
||||
int (*ue_snapshot)(void *scarg, struct vm_snapshot_meta *meta);
|
||||
};
|
||||
#define USB_EMUL_SET(x) DATA_SET(usb_emu_set, x);
|
||||
#define USB_EMUL_SET(x) DATA_SET(usb_emu_set, x)
|
||||
|
||||
/*
|
||||
* USB device events to notify HCI when state changes
|
||||
|
Loading…
x
Reference in New Issue
Block a user