diff options
author | Benjamin Romer <benjamin.romer@unisys.com> | 2014-07-29 15:09:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-30 17:11:10 -0700 |
commit | c242233e5b578ef08362d98171c10519876d0d93 (patch) | |
tree | 514ba5b638d5875429215172aff6216febf25ad8 /drivers/staging/unisys/common-spar/include/channels/diagchannel.h | |
parent | staging: unisys: add sysfs entries for parahotplug support (diff) | |
download | linux-dev-c242233e5b578ef08362d98171c10519876d0d93.tar.xz linux-dev-c242233e5b578ef08362d98171c10519876d0d93.zip |
staging: unisys: remove U8 type
This patch switches all use of the U8 typedef to use the kernel's u8 type
instead.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/common-spar/include/channels/diagchannel.h')
-rw-r--r-- | drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h b/drivers/staging/unisys/common-spar/include/channels/diagchannel.h index 1bea2f720e48..e16f2c04b4e7 100644 --- a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h +++ b/drivers/staging/unisys/common-spar/include/channels/diagchannel.h @@ -107,16 +107,16 @@ static const uuid_le UltraDiagChannelProtocolGuid = * for use in diagnostic event timestamps... */ typedef struct _DIAG_EFI_TIME { U16 Year; /* 1998 - 20XX */ - U8 Month; /* 1 - 12 */ - U8 Day; /* 1 - 31 */ - U8 Hour; /* 0 - 23 */ - U8 Minute; /* 0 - 59 */ - U8 Second; /* 0 - 59 */ - U8 Pad1; + u8 Month; /* 1 - 12 */ + u8 Day; /* 1 - 31 */ + u8 Hour; /* 0 - 23 */ + u8 Minute; /* 0 - 59 */ + u8 Second; /* 0 - 59 */ + u8 Pad1; U32 Nanosecond; /* 0 - 999, 999, 999 */ S16 TimeZone; /* -1440 to 1440 or 2047 */ - U8 Daylight; - U8 Pad2; + u8 Daylight; + u8 Pad2; } DIAG_EFI_TIME; typedef enum { @@ -158,15 +158,15 @@ typedef enum { typedef struct _DIAG_CHANNEL_EVENT { U32 EventId; U32 Severity; - U8 ModuleName[MAX_MODULE_NAME_SIZE]; + u8 ModuleName[MAX_MODULE_NAME_SIZE]; U32 LineNumber; DIAG_EFI_TIME Timestamp; /* Size = 16 bytes */ U32 PartitionNumber; /* Filled in by Diag Switch as pool blocks are * filled */ U16 VirtualProcessorNumber; U16 LogicalProcessorNumber; - U8 ComponentType; /* ULTRA_COMPONENT_TYPES */ - U8 Subsystem; + u8 ComponentType; /* ULTRA_COMPONENT_TYPES */ + u8 Subsystem; U16 Reserved0; /* pad to U64 alignment */ U32 BlockNumber; /* filled in by DiagSwitch as pool blocks are * filled */ @@ -179,8 +179,8 @@ typedef struct _DIAG_CHANNEL_EVENT { * and referenced only by WinDiagDisplay formatting tool as * additional diagnostic information. Other tools including * WinDiagDisplay currently ignore these 'Reserved' bytes. */ - U8 Reserved[8]; - U8 AdditionalInfo[MAX_ADDITIONAL_INFO_SIZE]; + u8 Reserved[8]; + u8 AdditionalInfo[MAX_ADDITIONAL_INFO_SIZE]; /* NOTE: Changesto DIAG_CHANNEL_EVENT generally need to be reflected in * existing copies * @@ -364,9 +364,9 @@ typedef enum { */ typedef struct _DIAG_CHANNEL_PROTOCOL_HEADER { volatile U32 DiagLock; - U8 IsChannelInitialized; - U8 Reserved[3]; - U8 SubsystemSeverityFilter[64]; + u8 IsChannelInitialized; + u8 Reserved[3]; + u8 SubsystemSeverityFilter[64]; } DIAG_CHANNEL_PROTOCOL_HEADER; /* The Diagram for the Diagnostic Channel: */ |