aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/efidev
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2018-09-02 19:48:41 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-09-02 19:48:41 +0000
commitd4be3789fe21e918ea3bdb498102ef12ffa21626 (patch)
tree20c58264aa6cc00c51d5996037c9b2bb1803eb9a /sys/dev/efidev
parentde6b4aa8c45d6f21f963461127a3152d1c0f5844 (diff)
downloadsrc-d4be3789fe21e918ea3bdb498102ef12ffa21626.tar.gz
src-d4be3789fe21e918ea3bdb498102ef12ffa21626.zip
Normalize use of semicolon with EFI_TIME_LOCK macros.
Reviewed by: kevans Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (rgrimes) Differential revision: https://reviews.freebsd.org/D16972
Notes
Notes: svn path=/head/; revision=338433
Diffstat (limited to 'sys/dev/efidev')
-rw-r--r--sys/dev/efidev/efirt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/efidev/efirt.c b/sys/dev/efidev/efirt.c
index d48074d72d6c..b3bc24f31e0d 100644
--- a/sys/dev/efidev/efirt.c
+++ b/sys/dev/efidev/efirt.c
@@ -299,7 +299,7 @@ efi_get_time_locked(struct efi_tm *tm, struct efi_tmcap *tmcap)
efi_status status;
int error;
- EFI_TIME_OWNED()
+ EFI_TIME_OWNED();
error = efi_enter();
if (error != 0)
return (error);
@@ -317,7 +317,7 @@ efi_get_time(struct efi_tm *tm)
if (efi_runtime == NULL)
return (ENXIO);
- EFI_TIME_LOCK()
+ EFI_TIME_LOCK();
/*
* UEFI spec states that the Capabilities argument to GetTime is
* optional, but some UEFI implementations choke when passed a NULL
@@ -325,7 +325,7 @@ efi_get_time(struct efi_tm *tm)
* to workaround such implementations.
*/
error = efi_get_time_locked(tm, &dummy);
- EFI_TIME_UNLOCK()
+ EFI_TIME_UNLOCK();
return (error);
}
@@ -337,9 +337,9 @@ efi_get_time_capabilities(struct efi_tmcap *tmcap)
if (efi_runtime == NULL)
return (ENXIO);
- EFI_TIME_LOCK()
+ EFI_TIME_LOCK();
error = efi_get_time_locked(&dummy, tmcap);
- EFI_TIME_UNLOCK()
+ EFI_TIME_UNLOCK();
return (error);
}
@@ -379,9 +379,9 @@ efi_set_time(struct efi_tm *tm)
if (efi_runtime == NULL)
return (ENXIO);
- EFI_TIME_LOCK()
+ EFI_TIME_LOCK();
error = efi_set_time_locked(tm);
- EFI_TIME_UNLOCK()
+ EFI_TIME_UNLOCK();
return (error);
}