On 23 October 2014 02:50, Martin K. Petersen wrote:
>> "Sitsofe" == Sitsofe Wheeler writes:
>
> Sitsofe> 2. On top of the above, when a disk is "small" (has less than
> Sitsofe>2^32 sectors which is typically < 2 TBytes in size) READ
> Sitsofe>CAPACITY(16) won't be triggered.
>
> stat
On 22/10/14 22:36, H Hartley Sweeten wrote:
Introduce a generic method to read samples from the async buffer.
The number of requested samples is clampled to the number of samples that
would fill the async buffer. The size of each sample is determined using
the bytes_per_sample() helper. The numb
On 23/10/14 10:50, Ian Abbott wrote:
On 22/10/14 22:36, H Hartley Sweeten wrote:
Introduce a generic method to read samples from the async buffer.
The number of requested samples is clampled to the number of samples that
would fill the async buffer. The size of each sample is determined using
t
On 22/10/14 22:36, H Hartley Sweeten wrote:
Currently there are 3 exported methods to read sample data from the async
buffer.
1) cfc_read_array_from_buffer() - a wrapper around
comedi_read_array_from_buffer()
2) comedi_read_array_from_buffer() - reads multiple samples
3) comedi_buf_ge
On 22/10/14 23:36, H Hartley Sweeten wrote:
Introduce a generic method to write samples to the async buffer.
The number of samples is first checked against the number of samples that
would fill the async buffer. The size of each sample is determined using
the bytes_per_sample() helper. If all th
On 22/10/14 23:37, H Hartley Sweeten wrote:
Subdevices that set the SDF_PACKED flag return all the scan data in a single
sample. The cmd->chanlist_len is used to pass the DIO channel information to
the command and does not indicate the length (cmd->scan_end_arg) of the scan.
In general, the sca
On 22/10/14 23:36, H Hartley Sweeten wrote:
Currently there are 5 exported methods to add sample data to the async buffer.
1) cfc_write_long_to_buffer() - a wrapper around
comedi_write_array_to_buffer()
to add a single unsigned int size sample
2) cfc_write_to_buffer() - a wrapper ar
On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote:
> Adds crypto API support for the skein module. Also collapses the
> threefish module into the skein module.
>
Why is this in staging anyway? It seems very small and not terrible
code. It could easily be sent to the main kernel.
> diff
On Wed, Oct 22, 2014 at 09:24:37PM -0500, Eric Rost wrote:
> +static int __init skein_generic_mod_init(void)
> +{
> + return crypto_register_shash(&alg256) || crypto_register_shash(&alg512)
> + || crypto_register_shash(&alg1024);
Shouldn't it unwind on error?
> +}
regards,
dan ca
On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote:
> Adds crypto API support for the skein module. Also collapses the
> threefish module into the skein module.
>
> Signed-off-by: Eric Rost
> ---
> drivers/staging/skein/Kconfig | 22 +--
> drivers/staging/skein/Makefile
Introduce a few static inline helper functions:
`comedi_bytes_per_sample(s)` is the same as the existing
`bytes_per_sample(s)` and determines the size of a comedi sample in
bytes. (`bytes_per_sample(s)` will be removed.)
`comedi_sample_shift(s)` determines the log2 of the comedi sample size,
so
On Thu, Oct 23, 2014 at 03:28:45PM +0300, Dan Carpenter wrote:
> On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote:
> > Adds crypto API support for the skein module. Also collapses the
> > threefish module into the skein module.
>
> Why is this in staging anyway? It seems very small and n
This patch creates debugfs files, /sys/kernel/debug/ion/heaps/system_shrink,
to shrink pool or get pool size.
Reading the file returns pool size and writing occurs to shrink pool.
Signed-off-by: Gioh Kim
---
drivers/staging/android/ion/ion.c | 31 ---
1 file changed
unit.
2. Patch 2/2: enable debugfs to shrink pool directly
This patch enable debugfs to specify shrink amount.
Thanks for any feedback.
This patchset is based on linux-next-20141023.
Gioh Kim (2):
staging: ion: shrink page-pool by page unit
staging: ion: debugfs to shrink pool
drivers
This patch shrink page-pool by page unit.
Signed-off-by: Gioh Kim
---
drivers/staging/android/ion/ion_page_pool.c |5 +++--
drivers/staging/android/ion/ion_system_heap.c |7 +--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/android/ion/ion_page_pool
On Thursday, October 23, 2014 4:28 AM, Ian Abbott wrote:
> On 22/10/14 23:37, H Hartley Sweeten wrote:
>> Subdevices that set the SDF_PACKED flag return all the scan data in a single
>> sample. The cmd->chanlist_len is used to pass the DIO channel information to
>> the command and does not indicate
On Thursday, October 23, 2014 3:23 AM, Ian Abbott wrote:
> On 22/10/14 23:36, H Hartley Sweeten wrote:
>> Introduce a generic method to write samples to the async buffer.
>>
>> The number of samples is first checked against the number of samples that
>> would fill the async buffer. The size of each
Dear Beloved
How are you today and your family,
I am a citizen of Sudan but currently staying in Senegal. My name is Miss
Sokhna Deng,23years old originated from Sudan.
I got your profile through my internet name search from your country when I
was searching for a good and trust worthy person who w
Nobody was using this, so just remove it.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/vmcallinterface.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/unisys/common-spar/include/vmcallinterface.h
b/drivers/staging/unisys/common-spar/include/v
Remove the typedef for CHANNEL_CLIENTSTATE and just use enum
channel_clientstate instead.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/inc
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
---
drivers/staging/unisys/common-spar/include/vmcallinterface.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/
Fix the parameter indentation for vbuschannel_devinfo_to_string(), in
vbusdeviceinfo.h.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/unisys/common-spar/include/vbu
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
---
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/unisys/common-
This patch refactors the message union and internal structures so they
will pass checkpatch.pl. The typedef is removed, and references are
changed to struct controlvm_message_packet. The comments were reflowed
and cleaned up to remove unnecessary information, and CamelCase member
names were fixed h
Fix CamelCase names:
SegmentStateRunning => segment_state_running
SegmentStatePaused => segment_state_paused
SegmentStateStandby => segment_state_standby
Signed-off-by: Benjamin Romer
---
.../common-spar/include/channels/controlframework.h | 6 +++---
drivers/staging/unisys/uislib/uislib.c
Rename visor_signalqueue_empty() to spar_signalqueue_empty(), and fix
CamelCase parameter names:
pChannel => ch
Queue => queue
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/channels/channel.c | 10 +-
drivers/staging/unisys/common-spar/include/channels/cha
Take out the extra blank lines in diagchannel.h.
Signed-off-by: Benjamin Romer
---
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/drivers/staging/unisys/co
This patch series fixes nearly all of the strict checks, warnings, and errors
generated by the files in the unisys/include and unisys/common-spar trees.
Aside from include/procobjectree.h, which will be removed as soon as possible,
all of these files should be free of errors and warnings that canno
Remove the typedef from DIAG_CAUSE and just use enum diag_cause instead.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channels
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
---
.../unisys/common-spar/include/chann
Remove the typedef and use struct controlvm_message instead. Update all
references.
Signed-off-by: Benjamin Romer
---
.../include/channels/controlvmchannel.h| 14 ++---
drivers/staging/unisys/uislib/uislib.c | 42 +++---
drivers/staging/unisys/visorchipset/testing
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
---
.../unisys/common-spar/include/channels/controlvmch
Fix the parameter name in ISSUE_IO_VMCALL and ISSUE_IO_EXTENDED_VMCALL.
Fix CamelCase names:
InterfaceMethod => method
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/vmcallinterface.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drive
Replace the typedef for CONTROLVM_ID with enum controlvm_id, and update
all references to the old typedef.
Signed-off-by: Benjamin Romer
---
.../staging/unisys/common-spar/include/channels/controlvmchannel.h | 2 +-
drivers/staging/unisys/include/uisutils.h | 2 +-
drive
Get rid of the typedef for DIAG_SEVERITY and just use the enum diag_severity
instead.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/in
Rename spar_check_channel_server() to spar_check_channel_server(),
remove unused parameters fileName, lineNumber, and logCtx, update
references to the function and remove unused parameters in macros that
call it, and fix CamelCase names:
typeGuid => typeuuid
channelName => name
expectedMinBytes =>
The bracing in vbuschannel_sanitize_buffer() in vbusdeviceinfo.h is
messy. Clean these up.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/unisys/common-spar
Just remove extra blank lines in channel_guid.h.
Signed-off-by: Benjamin Romer
---
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
b/drivers/staging/unisys
Fix CamelCase parameter name:
pChannel => ch
Signed-off-by: Benjamin Romer
---
.../unisys/common-spar/include/channels/controlvmchannel.h | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
b
Fix the CamelCase name:
UltraDiagChannelProtocolGuid => spar_diag_channel_protocol_uuid
Also, rename ULTRA_DIAG_CHANNEL_PROTOCOL_GUID to SPAR_DIAG_CHANNEL_PROTOCOL_UUID
to match the new variable name. Update all references to the changed names.
Signed-off-by: Benjamin Romer
---
.../staging/uni
Fix the name to SPAR_VBUS_CHANNEL_OK_SERVER and fix the CamelCase parameter:
actualBytes => actual_bytes
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/vbuschannel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/un
Take out the typedef and just use enum net_types instead.
Signed-off-by: Benjamin Romer
---
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/include/channels/iochannel.h
The channel definitions in channel_guid.h contain several CamelCase
constants. Fix these so they are no longer incorrectly cased, and use
the name spar instead of the old "ultra" reference. Also, rename the
corresponding UUID macros to match. Update all references to constants
or UUID macros that w
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
---
.../staging/unisys/common-spar/include/channels/diagchannel.h | 11 ++-
Remove the unnecessary macro ULTRA_CHANNEL_CLIENT_RELEASE_OS(), rename
the function to spar_channel_client_release_os(), fix references to the
macro to call the function directly instead, remove the unnecessary
logCtx, file, and line parameters, and fix CamelCase names:
pChannel => ch
chanId => id
The enumeration needs to have a blank line after it.
Signed-off-by: Benjamin Romer
---
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/drivers/staging/unisys/common-
Remove the typedef from ULTRA_CONTROLVM_PARAMETERS_HEADER, and use struct
spar_controlvm_parameters_header instead. Fix CamelCase names in the structure,
and update references to fixed names in other files and the comments.
TotalLength => total_length
HeaderLength => header_length
ConnectionOffset
Get rid of the typedef and use struct diag_channel_protocol_header instead. Fix
CamelCase member names and update references and comments.
DiagLock => diag_lock
IsChannelInitialized => channel_initialized
Reserved => reserved
SubsystemSeverityFilter => subsystem_severity_filter
Signed-off-by: Ben
Delete struct PciConfigHdr, struct ScsiId, struct WWID, struct
VirtDiskInfo, enum CONTROLVM_ACTION, and enum ULTRA_TOOL_ACTIONS.
Signed-off-by: Benjamin Romer
---
.../include/channels/controlvmchannel.h| 63 --
1 file changed, 63 deletions(-)
diff --git
a/driver
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
---
.../unisys/common-spar/include/channels/control
Remove the typedef for CHANNEL_SERVERSTATE and use enum
channel_serverstate instead.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/
Get rid of the typedef for ULTRA_COMPONENT_TYPES and use enum
spar_component_types instead.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/diagchannel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys/common-sp
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
---
.../unisys/common-spar/include/channe
Remove the typedef from ULTRA_IO_CHANNEL_PROTOCOL and use the name struct
spar_io_channel_protocol instead. Fix CamelCase member names:
ChannelHeader => channel_header
cmdQ => cmd_q
rspQ => rsp_q
zoneGuid => zone_uuid
ClientString => client_string
Update all references to changed names.
Signed-o
Switch everywhere that CHANNEL_HEADER, pCHANNEL_HEADER, or
ULTRA_CHANNEL_PROTOCOL was used, to struct channel_header.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/channels/channel.c | 10 +++--
drivers/staging/unisys/channels/chanstub.c | 4 +-
drivers/staging/unisy
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
---
.../common-spar/include
Fix the CamelCase name in this struct:
UniqueNum => unique_num
Signed-off-by: Benjamin Romer
---
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/include/channels/iochannel.h
b
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: Benjam
This macro isn't being used either, so delete it.
Signed-off-by: Benjamin Romer
---
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
b/drivers/st
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
---
.../unisys/common-spar/include/channels/contro
The following macros and functions are unused, and should be deleted:
NUMSIGNALS
IO_CHANNEL_SIZE
QSLOTSFROMBYTES
QSIZEFROMBYTES
SignalQInit
INIT_CLIENTSTRING
ULTRA_IO_CHANNEL_SERVER_READY
ULTRA_IO_CHANNEL_SERVER_NOTREADY
ULTRA_VHBA_init_channel
ULTRA_VHBA_set_max
ULTRA_VNIC_init_channel
Signed-of
Remove the unused logCtx parameter and fix CamelCase parameter name:
pChannel => ch
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++--
drivers/staging/unisys/uislib/uislib.c | 2 +-
2 files changed, 3 insertions(+
Get rid of the typedef for CONTROLVM_PACKET_DEVICE_CREATE, instead using
struct controlvm_packet_device_create. Fix CamelCase names and update
all references to changed names. Clean up comments.
busNo => bus_no
devNo => dev_no
channelAddr => channel_addr
channelBytes => channel_bytes
dataTypeGuid
This patch removes the typedef from CONTROLVM_MESSAGE_HEADER, using the
struct controlvm_message_header name directly instead. It fixes
CamelCase names and updates all references to changed names:
MessageSize => message_size
SegmentIndex => segment_index
CompletionStatus => completion_status
respo
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
---
.../common-spar/include/channels/vbuschannel.h |
The && belongs at the end of the previous line, not the start of the
next one.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channe
Nobody is using this macro, so remove it entirely.
Signed-off-by: Benjamin Romer
---
.../staging/unisys/common-spar/include/channels/controlvmchannel.h | 5 -
1 file changed, 5 deletions(-)
diff --git
a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
b/drivers/sta
Get rid of the typedef and use struct diag_efi_time instead. Fix CamelCase
member names and update references to changed names.
Year => year
Month => month
Day => day
Hour => hour
Minute => minute
Second => second
Pad1 => pad1
Nanosecond => nanosecond
TimeZone => timezone
Daylight => daylight
Pad2
Fix CamelCase names:
ULTRA_MEMORY_COUNT_Ki => ULTRA_MEMORY_COUNT_KI
ULTRA_MEMORY_PAGE_Ki => ULTRA_MEMORY_PAGE_KI
Signed-off-by: Benjamin Romer
---
.gitignore| 4
.../staging/unisys/common-spar/include/channels/controlframework.h
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
---
drivers/staging/unisys/channels/channel.c | 16 -
.../unisys/common-spar/include/channels/ch
There's no need for that extra space in the typecast in
vbuschannel_itoa(), so just delete it.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/unisys/common-spar/incl
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
---
.../unisys/common-spar/include/channels/controlvmchannel.h
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
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 5 ++---
drivers/staging/unisys/virtpci/virtpci.c
Remove all the extraneous spaces in typecasts in
ULTRA_CHANNELCLI_STRING().
Signed-off-by: Benjamin Romer
---
.../staging/unisys/common-spar/include/channels/channel.h | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/c
This macro isn't being used so take it out.
Signed-off-by: Benjamin Romer
---
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/iochannel.h
b/drivers/staging
Rename visor_signal_remove() to spar_signal_remove() and fix CamelCase
parameter names:
pChannel => ch
Queue => queue
pSignal => sig
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/channels/channel.c | 11 +--
drivers/staging/unisys/channels/chanstub.c
Rename the macro to SPAR_CHANNEL_CLIENT_CHK_TRANSITION, and rename
CamelCase parameters to:
chanId => id
logCtx => log
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/channel.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/driver
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
---
.../unisys/common-spar/include/channels/channel.h | 22 ++
Get rid of the typedef on DIAG_CHANNEL_EVENT, and use struct diag_channel_event
instead. Update comments and fix CamelCase member names:
EventId => event_id
Severity => severity
ModuleName => module_name
LineNumber => line_number
Timestamp => timestamp
PartitionNumber => partition_number
VirtualPr
Fix all the spaces between typecasts and their targets in iochannel.h.
Signed-off-by: Benjamin Romer
---
.../common-spar/include/channels/iochannel.h | 26 +++---
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/chan
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
---
.../unisys/common-spar/include/channels/controlvmchannel.h| 8
drivers/staging
Remove the typedef from GUEST_DEVICES and switch to struct
guest_devices. Fix CamelCase names and update all references to renamed
members.
VideoChannel => video_channel
KeyboardChannel => keyboard_channel
NetworkChannel => network_channel
StorageChannel => storage_channel
ConsoleChannel => consol
Fix CamelCase names:
Domain => domain
Bus => bus
Slot => slot
Func => func
Reserved => reserved
Signed-off-by: Benjamin Romer
---
.../unisys/common-spar/include/channels/controlvmchannel.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
a/drivers/staging/unisys
Remove the unused logCtx parameter and fix the CamelCase name:
pChannel => ch
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 4 ++--
drivers/staging/unisys/uislib/uislib.c | 2 +-
2 files changed, 3 insertions(+), 3 d
Fix CamelCase names:
Signature => signature
LegacySignature => legacy_signature
HeaderSize => header_size
Size => size
Features => features
Type => chtype
PartitionHandle => partition_handle
Handle => handle
oChannelSpace => ch_space_offset
VersionId => version_id
PartitionIndex => partition_index
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
---
.../include/channels/controlvmchannel.h| 24 +
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 Rome
Remove the typedef and rename to struct spar_vbus_headerinfo. Fix CamelCase
member names:
structBytes => struct_bytes
deviceInfoStructBytes => device_info_struct_bytes
devInfoCount => dev_info_count
chpInfoByteOffset => chp_info_offset
busInfoByteOffset => bus_info_offset
devInfoByteOffset => dev_
"intrrupt" should be "interrupt" in the comments in controlvmchannel.h.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/drivers/staging/unisys/common-spar/include/channel
Get rid of extra blank lines in iochannel.h
Signed-off-by: Benjamin Romer
---
.../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/drivers/staging/unisys/co
Fix CamelCase names:
VersionId => version
Type => chtype
Size => size
oSignalBase => sig_base_offset
FeatureFlags => features
NumSignalsSent => num_sent
NumOverflows => num_overflows
SignalSize => signal_size
MaxSignalSlots => max_slots
MaxSignals => max_signals
Head => head
NumSignalsReceived => n
Nobody is using this one either...
Signed-off-by: Benjamin Romer
---
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/staging/unisys/common-spar/incl
Rename SignalRemoveAll to spar_signal_remove_all(), and fix CamelCase
names:
pChannel => ch
Queue => queue
pSignal => sig
signalCount => count
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/channels/channel.c| 16
.../unisys/common-spar/include/channel
Fix CamelCase names:
ErrorCode => error_code
Valid => valid
SegmentNumber => segment_number
SenseKey => sense_key
Reserved => reserved
IncorrectLength => incorrect_length
EndOfMedia => end_of_media
FileMark => file_mark
Information => information
AdditionalSenseLength => additional_sense_length
Co
Fix the CamelCase parameter in this macro:
Address => address
Signed-off-by: Benjamin Romer
---
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/include/channels/iochannel.h
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
---
drivers/staging/unisys/common-spar/include/channels/iochannel.h | 8 +---
drivers/staging/unisys/virthba/virthba.
Fix CamelCase name:
PathName_Last_N_Nodes => pathname_last_n_nodes
Signed-off-by: Benjamin Romer
---
.../unisys/common-spar/include/channels/channel.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/unisys/common-spar/include/channel
Get rid of the typedef and use enum ultra_chipset_feature instead, and
update all references to the enumeration.
Signed-off-by: Benjamin Romer
---
.../staging/unisys/common-spar/include/channels/controlvmchannel.h | 6 +++---
drivers/staging/unisys/visorchipset/visorchipset_main.c |
Rename the function ULTRA_check_channel_client() to
spar_check_channel_client(), and fix CamelCase parameter names:
pChannel => ch
expectedTypeGuid => expected_uuid
channelName => chname
expectedMinBytes => expected_min_bytes
expectedVersionId => expected_version
expectedSignature => expected_sign
1 - 100 of 131 matches
Mail list logo