Remove the typedef for CHANNEL_CLIENTSTATE and just use enum
channel_clientstate instead.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
Get rid of the typedef for VMCALL_MONITOR_INTERFACE_METHOD_TUPLE in
favor of enum vmcall_monitor_interface_method_tuple.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/vmcallinterface.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
Fix the parameter indentation for vbuschannel_devinfo_to_string(), in
vbusdeviceinfo.h.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging
Simplify the code in channel.h by removing CHANNEL_GUID_MISMATCH,
CHANNEL_u64_MISMATCH, and CHANNEL_U32_MISMATCH, and printing the
messages directly instead.
The CamelCase names in the functions that used to use these macros will
be fixed in a later patch.
Signed-off-by: Benjamin Romer
Get rid of the unnecessary parenthesis in several assignments in
vbuschannel_devinfo_to_string().
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
= platformNumber
initChipset = init_chipset
Options = options
Test = test
chipsetSelftest = chipset_selftest
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../include/channels/controlvmchannel.h| 165 -
drivers/staging/unisys/include/uisutils.h | 3
Fix CamelCase names:
SegmentStateRunning = segment_state_running
SegmentStatePaused = segment_state_paused
SegmentStateStandby = segment_state_standby
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/controlframework.h | 6 +++---
drivers/staging
Rename visor_signalqueue_empty() to spar_signalqueue_empty(), and fix
CamelCase parameter names:
pChannel = ch
Queue = queue
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/channels/channel.c | 10 +-
drivers/staging/unisys/common
Take out the extra blank lines in diagchannel.h.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h
b
that cannot be
justified (string constants over 80 character limit, for instance).
Benjamin Romer (91):
staging: unisys: clean up bracing in vbuschannel_sanitize_buffer()
staging: unisys: fix indentation on vbuschannel_devinfo_to_string()
staging: unisys: clean up extra parens
Remove the typedef from DIAG_CAUSE and just use enum diag_cause instead.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys
Rename this macro to SPAR_DIAG_CHANNEL_OK_CLIENT, fix the CamelCase parameter
and get rid of the unused LogCtx parameter.
pChannel = ch
Fix the indentation and add a blank line after the macro definition so it looks
nicer.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys
Remove the typedef and use struct controlvm_message instead. Update all
references.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../include/channels/controlvmchannel.h| 14 ++---
drivers/staging/unisys/uislib/uislib.c | 42 +++---
drivers/staging
Remove the typedef from CONTROLVM_PACKET_DEVICE_CONFIGURE, in favor of
struct controlvm_packet_device_configure. Fix CamelCase names and update
all references to modified names.
busNo = bus_no
devNo = dev_no
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar
Replace the typedef for CONTROLVM_ID with enum controlvm_id, and update
all references to the old typedef.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../staging/unisys/common-spar/include/channels/controlvmchannel.h | 2 +-
drivers/staging/unisys/include/uisutils.h
Get rid of the typedef for DIAG_SEVERITY and just use the enum diag_severity
instead.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers
= expected_min_bytes
actualBytes = actual_bytes
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels/channel.h| 20
.../common-spar/include/channels/controlvmchannel.h | 5 +
.../common-spar/include/channels/diagchannel.h
The bracing in vbuschannel_sanitize_buffer() in vbusdeviceinfo.h is
messy. Clean these up.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers
Just remove extra blank lines in channel_guid.h.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/channel_guid.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/channel_guid.h
Fix CamelCase parameter name:
pChannel = ch
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels/controlvmchannel.h | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
a/drivers/staging/unisys/common-spar/include
Fix the name to SPAR_VBUS_CHANNEL_OK_SERVER and fix the CamelCase parameter:
actualBytes = actual_bytes
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/vbuschannel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
Take out the typedef and just use enum net_types instead.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/unisys/common-spar
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/channel_guid.h| 24 +++---
.../common-spar/include/channels/iochannel.h | 12 +--
drivers/staging/unisys/uislib/uislib.c | 22 ++--
.../unisys
Rename this macro to SPAR_DIAG_CHANNEL_OK_SERVER and fix the CamelCase
parameter.
ActualBytes = bytes
Fix indentation and add a blank line after the macro for better readability.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../staging/unisys/common-spar/include/channels
The enumeration needs to have a blank line after it.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h
b
Revision = revision
Reserved = reserved
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../include/channels/controlvmchannel.h| 48 ++---
drivers/staging/unisys/visorchipset/parser.c | 50 +++---
2 files changed, 49 insertions(+), 49
-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/diagchannel.h | 23 +++---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h
b/drivers/staging/unisys/common-spar/include
Delete struct PciConfigHdr, struct ScsiId, struct WWID, struct
VirtDiskInfo, enum CONTROLVM_ACTION, and enum ULTRA_TOOL_ACTIONS.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../include/channels/controlvmchannel.h| 63 --
1 file changed, 63
Fix CamelCase names in structure, and references to them:
sendInterruptHandle = send_irq_handle
recvInterruptHandle = recv_irq_handle
recvInterruptVector = recv_irq_vector
recvInterruptShared = recv_irq_shared
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar
Remove the typedef for CHANNEL_SERVERSTATE and use enum
channel_serverstate instead.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging
Get rid of the typedef for ULTRA_COMPONENT_TYPES and use enum
spar_component_types instead.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Rename SignalInit to spar_signal_init, and fix CamelCase names:
VersionId = version
Type = chtype
Size = size
SignalSize = signal_size
oSignalBase = sig_base_offset
MaxSignalSlots = max_slots
MaxSignals = max_signals
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common
-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/iochannel.h | 127 +++--
drivers/staging/unisys/uislib/uislib.c | 4 +-
drivers/staging/unisys/virtpci/virtpci.c | 26 ++---
3 files changed, 79 insertions(+), 78
Switch everywhere that CHANNEL_HEADER, pCHANNEL_HEADER, or
ULTRA_CHANNEL_PROTOCOL was used, to struct channel_header.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/channels/channel.c | 10 +++--
drivers/staging/unisys/channels/chanstub.c | 4
Rename the struct to spar_vbus_channel_protocol. Fix CamelCase member names:
ChannelHeader = channel_header
HdrInfo = hdr_info
ChpInfo = chp_info
BusInfo = bus_info
DevInfo = dev_info
Update all references to use the changed names.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
Fix the CamelCase name in this struct:
UniqueNum = unique_num
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/unisys/common-spar
Get rid of the typedef and use struct spar_diag_channel_protocol instead. Fix
CamelCase member names, and update references and comments to match.
struct channel_header CommonChannelHeader;
QueueHeader = queue_header
DiagChannelHeader = diag_channel_header
Events = events
Signed-off-by: Benjamin
This macro isn't being used either, so delete it.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels
rename UltraControlvmChannelProtocolGuid to
spar_controlvm_channel_protocol_uuid, and change
ULTRA_CONTROLVM_CHANNEL_PROTOCOL_GUID to
SPAR_CONTROLVM_CHANNEL_PROTOCOL_UUID to match. Update references to the
old name.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common
-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/iochannel.h | 125 -
1 file changed, 125 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/iochannel.h
b/drivers/staging/unisys/common-spar/include/channels
Remove the unused logCtx parameter and fix CamelCase parameter name:
pChannel = ch
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++--
drivers/staging/unisys/uislib/uislib.c | 2 +-
2
= data_type_uuid
devInstGuid = dev_inst_uuid
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../include/channels/controlvmchannel.h| 29 +--
drivers/staging/unisys/uislib/uislib.c | 56 +++---
.../unisys/visorchipset/visorchipset_main.c
-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../include/channels/controlvmchannel.h| 40 +++--
drivers/staging/unisys/uislib/uislib.c | 40 ++---
drivers/staging/unisys/visorchipset/visorchipset.h | 12 +-
.../unisys/visorchipset/visorchipset_main.c| 184
Fix the CamelCase name:
UltraVbusChannelProtocolGuid = spar_vbus_channel_protocol_uuid
Update related macro names to match. Update references to changed names. Fix
indentation in macros where names changed.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include
The belongs at the end of the previous line, not the start of the
next one.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys
Nobody is using this macro, so remove it entirely.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../staging/unisys/common-spar/include/channels/controlvmchannel.h | 5 -
1 file changed, 5 deletions(-)
diff --git
a/drivers/staging/unisys/common-spar/include/channels
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/diagchannel.h | 28 +++---
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h
b/drivers/staging/unisys
Fix CamelCase names:
ULTRA_MEMORY_COUNT_Ki = ULTRA_MEMORY_COUNT_KI
ULTRA_MEMORY_PAGE_Ki = ULTRA_MEMORY_PAGE_KI
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.gitignore| 4
.../staging/unisys/common-spar/include
Get rid of the typedef for SIGNAL_QUEUE_HEADER and use struct
signal_queue_header directly instead. Fix all references to the typedef
to use the struct.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/channels/channel.c | 16 -
.../unisys
There's no need for that extra space in the typecast in
vbuschannel_itoa(), so just delete it.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
Remove the typedef from CONTROLVM_MESSAGE_DEVICE_CONFIGURE, replacing it
with struct controlvm_message_device_configure. Fix CamelCase names and
update all references.
Header = header
Packet = packet
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include
Simplify this macro so it is only one macro, rename it to
SPAR_CHANNEL_SERVER_READY, and get rid of the CamelCase parameter name.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 5 ++---
drivers/staging/unisys/virtpci
Remove all the extraneous spaces in typecasts in
ULTRA_CHANNELCLI_STRING().
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../staging/unisys/common-spar/include/channels/channel.h | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging
This macro isn't being used so take it out.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels
Rename visor_signal_remove() to spar_signal_remove() and fix CamelCase
parameter names:
pChannel = ch
Queue = queue
pSignal = sig
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/channels/channel.c | 11 +--
drivers/staging/unisys
Rename the macro to SPAR_CHANNEL_CLIENT_CHK_TRANSITION, and rename
CamelCase parameters to:
chanId = id
logCtx = log
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions
Rename the macro to SPAR_CHANNEL_CLIENT_TRANSITION, and fix CamelCase
parameters:
pChan = ch
chanId = id
logCtx = log
Update all places the macro was used to call the new name.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels/channel.h | 22
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/diagchannel.h | 54 +++---
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h
b/drivers/staging/unisys
Fix all the spaces between typecasts and their targets in iochannel.h.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/iochannel.h | 26 +++---
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/staging
Fix CamelCase names and update all references to them:
BootToFirmwareUI = boot_to_fw_ui
ClearNvram = clear_nvram
ClearCmos = clear_cmos
BootToTool = boot_to_tool
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels/controlvmchannel.h| 8
= console_channel
PartitionIndex = partition_index
Pad = pad
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/controlvmchannel.h | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git
a/drivers/staging/unisys/common-spar/include
Fix CamelCase names:
Domain = domain
Bus = bus
Slot = slot
Func = func
Reserved = reserved
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels/controlvmchannel.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
Remove the unused logCtx parameter and fix the CamelCase name:
pChannel = ch
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++--
drivers/staging/unisys/uislib/uislib.c | 2 +-
2 files
RecoverChannel = recover_channel
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/channels/channel.c | 8 +-
.../unisys/common-spar/include/channels/channel.h | 135 ++---
.../common-spar/include/channels/iochannel.h | 40 +++---
drivers
Get rid of the typedef for DEVICE_MAP and use struct device_map instead.
Fix CamelCase names.
DeviceChannelSize = device_channel_size
CA_Index = ca_index
Reserved = reserved
Reserved2 = reserved2
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../include/channels/controlvmchannel.h
Remove the unnecessary macro ULTRA_CHANNEL_CLIENT_ACQUIRE_OS for calling
the function, and rename the function to
spar_channel_client_acquire_os(). Get rid of unneeded parameters logCtx,
file, and line, and Fix CamelCase names:
pChannel = ch
chanId = id
pChan = hdr
Signed-off-by: Benjamin Romer
= dev_info_offset
Update all references to changed names.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../common-spar/include/channels/vbuschannel.h | 18 +-
drivers/staging/unisys/virtpci/virtpci.c | 20 ++--
2 files changed, 19 insertions
intrrupt should be interrupt in the comments in controlvmchannel.h.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/drivers/staging/unisys
Get rid of extra blank lines in iochannel.h
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../staging/unisys/common-spar/include/channels/iochannel.h | 12
1 file changed, 12 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/iochannel.h
b
Tail = tail
Reserved1 = reserved1
Reserved2 = reserved2
ClientQueue = client_queue
NumInterruptsReceived = num_irq_received
NumEmptyCnt = num_empty
ErrorFlags = errorflags
Filler = filler
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/channels/channel.c
Nobody is using this one either...
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/iochannel.h
b/drivers
Rename SignalRemoveAll to spar_signal_remove_all(), and fix CamelCase
names:
pChannel = ch
Queue = queue
pSignal = sig
signalCount = count
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/channels/channel.c| 16
.../unisys
CommandSpecificInformation = commmand_specific_information
AdditionalSenseCode = additional_sense_code
AdditionalSenseCodeQualifier = additional_sense_code_qualifier
FieldReplaceableUnitCode = fru_code
SenseKeySpecific = sense_key_specific
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
Fix the CamelCase parameter in this macro:
Address = address
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys/common-spar
Get rid of the typedef and use enum vdisk_mgmt_types instead. Reformat the
enumeration names and update any references to use the enum directly.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 8 +---
drivers
Fix CamelCase name:
PathName_Last_N_Nodes = pathname_last_n_nodes
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels/channel.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/unisys
Get rid of the typedef and use enum ultra_chipset_feature instead, and
update all references to the enumeration.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../staging/unisys/common-spar/include/channels/controlvmchannel.h | 6 +++---
drivers/staging/unisys/visorchipset
= SPAR_VSWITCH_CHANNEL_OK_CLIENT
ULTRA_VBUS_CHANNEL_OK_CLIENT = SPAR_VBUS_CHANNEL_OK_CLIENT
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/channels/channel.c | 13 ++--
drivers/staging/unisys/channels/chanstub.c | 2 +-
.../unisys/common-spar/include/channels/channel.h
= response_msg
EventMsg = event_msg
EventAckMsg = event_ack_msg
SavedCrashMsg = saved_crash_msg
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../include/channels/controlvmchannel.h| 156 ++---
drivers/staging/unisys/uislib/uislib.c | 4 +-
drivers
Fix the CamelCase member of this structure:
vHba = v_hba
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 2 +-
drivers/staging/unisys/virthba/virthba.c| 2 +-
2 files changed, 2 insertions
This macro is not used so remove it.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels/iochannel.h
Fix CamelCase names:
UniqueNum = unique_num
RcvsDroppedDelta = rcvs_dropped_delta
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging
Remove the UltraLogEvent macro from channel.h, and fix all references so
they call pr_info directly. CamelCase names used by functions that
called UltraLogEvent will be fixed in later patches.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels
Rename the struct to spar_segment_state and fix CamelCase names:
Enabled = enabled
Active = active
Alive = alive
Revoked = revoked
Allocated = allocated
Known = known
Ready = ready
Operating = operating
Fix all references to modified names to use the new names.
Signed-off-by: Benjamin Romer
Replace ULTRA_EFI_SPAR_INDICATION with struct efi_spar_indication, and
update references to the old type.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels/controlvmchannel.h| 8
drivers/staging/unisys/visorchipset
Remove the unused logCtx parameter and fix the CamelCase name:
pChannel = ch
Update calls to the macro to remove the unused second parameter.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels/vbuschannel.h | 14 +++---
drivers
Remove the typedef from CONTROLVM_MESSAGE_DEVICE_CREATE, in favor of
struct controlvm_message_device_create, fix CamelCase names, and update
all references.
Header = header
Packet = packet
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../unisys/common-spar/include/channels
Get rid of the typedef and use enum task_mgmt_types in its place. Clean up
the indentation of the enumeration values and update all use of the name to
the new name.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
.../staging/unisys/common-spar/include/channels/iochannel.h | 12
Clean up misaligned indentation in virtpci.h.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/virtpci/virtpci.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/unisys/virtpci/virtpci.h
b/drivers/staging/unisys/virtpci
Remove the typedef and use enum virtpc_dev_type instead. Update references.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/virtpci/virtpci.c | 3 ++-
drivers/staging/unisys/virtpci/virtpci.h | 6 +++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff
Fix the CamelCase member name in this structure:
zoneGuid = zone_uuid
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/virtpci/virtpci.c | 4 ++--
drivers/staging/unisys/virtpci/virtpci.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
Fix CamelCase names in this structure:
busNo = bus_no
deviceNo = device_no
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/virthba/virthba.c | 28 ++--
drivers/staging/unisys/virtpci/virtpci.c | 15 +--
drivers/staging
This patch series cleans up virtpci.h for checkpatch.pl errors, warnings, and
strict checks.
Benjamin Romer (4):
staging: unisys: fix CamelCase in net_adap_info
staging: unisys: get rid of typedef for VIRTPCI_DEV_TYPE
staging: unisys: fix CamelCase members of virtpci_dev
staging: unisys
Add some space between the macros in uisutils.h for readability.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/include/uisutils.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/staging/unisys/include/uisutils.h
b/drivers/staging/unisys
This patch series eliminates all checkpatch.pl errors, warnings, and strict
checks from the file visorchipset/visorchipset.h.
Benjamin Romer (24):
staging: unisys: get rid of VISORCHIPSET_STATE typedef
staging: unisys: refactor VISORCHIPSET_ADDRESSTYPE
staging: unisys: refactor
Remove the typedef for VISORCHIPSET_STATE and replace it with enum
visorchipset_state.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/visorchipset/visorchipset.h | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging
Remove the typedef from the enumeration and replace references to it with
enum crash_obj_type. Fix CamelCase names:
CRASH_dev = CRASH_DEV
CRASH_bus = CRASH_BUS
Update all references to changed names.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys
references to changed names.
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/visorchipset/visorchipset.h | 31 +-
.../unisys/visorchipset/visorchipset_main.c| 72 +++---
2 files changed, 52 insertions(+), 51 deletions(-)
diff
Fix CamelCase parameter:
driverInfo = driver_info
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/visorchipset/visorchipset.h | 2 +-
drivers/staging/unisys/visorchipset/visorchipset_main.c | 8
2 files changed, 5 insertions(+), 5 deletions
Fix the CamelCase parameter name in findbus() in visorchipset.h.
busNo = bus_no
Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
drivers/staging/unisys/visorchipset/visorchipset.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys
1 - 100 of 1030 matches
Mail list logo