[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86/dmi.c: use plain bool
commit 28dfd8f3fd03b86e04b58495f0104a67b615f4ca Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Fri Jun 30 16:54:18 2017 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Tue Jul 4 14:54:42 2017 +0100 x86/dmi.c: use plain bool Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/arch/x86/dmi_scan.c | 8 ++++---- xen/include/xen/dmi.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/dmi_scan.c b/xen/arch/x86/dmi_scan.c index 8564a77..fcdf2d3 100644 --- a/xen/arch/x86/dmi_scan.c +++ b/xen/arch/x86/dmi_scan.c @@ -183,8 +183,8 @@ static int __init dmi_table(paddr_t base, u32 len, int num, } -static inline bool_t __init dmi_checksum(const void __iomem *buf, - unsigned int len) +static inline bool __init dmi_checksum(const void __iomem *buf, + unsigned int len) { u8 sum = 0; const u8 *p = buf; @@ -753,10 +753,10 @@ fail: d++; * On return, year, month and day are guaranteed to be in the * range of [0,9999], [0,12] and [0,31] respectively. */ -bool_t __init dmi_get_date(int field, int *yearp, int *monthp, int *dayp) +bool __init dmi_get_date(int field, int *yearp, int *monthp, int *dayp) { int year = 0, month = 0, day = 0; - bool_t exists; + bool exists; const char *s, *e, *y; s = field < DMI_STRING_MAX ? dmi_ident[field] : NULL; diff --git a/xen/include/xen/dmi.h b/xen/include/xen/dmi.h index df26d4b..eba2c27 100644 --- a/xen/include/xen/dmi.h +++ b/xen/include/xen/dmi.h @@ -36,7 +36,7 @@ extern int dmi_check_system(struct dmi_system_id *list); extern void dmi_scan_machine(void); extern const char *dmi_get_table(paddr_t *base, u32 *len); extern void dmi_efi_get_table(const void *smbios, const void *smbios3); -bool_t dmi_get_date(int field, int *yearp, int *monthp, int *dayp); +bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp); extern void dmi_end_boot(void); #endif /* __DMI_H__ */ -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |