[RFCv2 3/3] staging: ion: limit pool size

2014-10-23 Thread Gioh Kim
This patch limits pool size by page unit. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/Kconfig |4 drivers/staging/android/ion/ion_page_pool.c | 26 -- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/staging/android/i

[RFCv2 2/3] staging: ion: debugfs to shrink pool

2014-10-23 Thread Gioh Kim
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

[RFCv2 0/3] enable pool shrinking in page unit

2014-10-23 Thread Gioh Kim
page unit. 2. Patch 2/3: enable debugfs to shrink page directly This patch enables debugfs to specify shrink amount. 3. Patch 3/3: limit pool size This patch specifies pool size limit. This patchset is based on linux-next-20141023. Gioh Kim (3): staging: ion: shrink page-pool by page unit

[RFCv2 1/3] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Gioh Kim
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

Re: [PATCH] staging: android: binder: move to the "real" part of the kernel

2014-10-23 Thread Dan Carpenter
On Tue, Oct 21, 2014 at 08:10:32PM -0700, Rom Lemarchand wrote: > We would also like to make kernel-t...@android.com the maintainer of > the whole android directory. Mailing lists can't be a maintainer, but you could add it as a private list in the MAINTAINERS file. regards, dan carpenter __

Re: [PATCH v3 1/2] staging: skein: Adds CryptoAPI Support

2014-10-23 Thread Dan Carpenter
First of all this patch does too many things at once. Collapsing files and deleting them needs to be done in separate patches from adding them. There is the "one thing per patch" and each one of those is a separate thing. On Thu, Oct 23, 2014 at 05:12:10PM -0500, Eric Rost wrote: > +int skein256_

[PATCH v4 3/3] staging: skein: Inlines rotl_64

2014-10-23 Thread Eric Rost
Inlines the macro definition rotl_64 to avoid bugs. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 9f10af9..769bcb4 100644

[PATCH v4 2/3] staging: skein: Adds Loadable Module Support

2014-10-23 Thread Eric Rost
Adds loadable module support for the Skein Hashing Algorithm. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 19 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/staging/skein/Kconfig

[PATCH v4 1/3] staging: skein: Adds CryptoAPI Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI support for skein256, skein512, and skein1024 algorithms. Also collapses threefish algorithm into skein.o and removes Kconfig option for Threefish. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +- drivers/staging/skein/Makefile| 13 +- drivers/

[PATCH v4 0/3] staging: skein: Adds CryptoAPI and Module Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI and Loadable Module support to the Skein Hash Algorithm. Also inlines the rotl_64 macro. Eric Rost (3): staging: skein: Adds CryptoAPI Support staging: skein: Adds Loadable Module Support staging: skein: Inlines rotl_64 drivers/staging/skein/Kconfig | 24 +- drivers

my subject

2014-10-23 Thread Sokhna Deng
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

Re: [RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Devendra Naga
On Fri, Oct 24, 2014 at 5:01 AM, Gioh Kim wrote: > > > 2014-10-24 오전 8:16, Gioh Kim 쓴 글: > >> >> >> 2014-10-24 오전 5:36, Devendra Naga 쓴 글: >>> >>> Hello, >>> >>> On Thu, Oct 23, 2014 at 6:22 PM, Gioh Kim wrote: sys_heap = container_of(heap, struct ion_system_heap, heap); @@ -21

Re: [RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Gioh Kim
2014-10-24 오전 8:16, Gioh Kim 쓴 글: 2014-10-24 오전 5:36, Devendra Naga 쓴 글: Hello, On Thu, Oct 23, 2014 at 6:22 PM, Gioh Kim wrote: 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/i

Re: [RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Gioh Kim
2014-10-24 오전 5:36, Devendra Naga 쓴 글: Hello, On Thu, Oct 23, 2014 at 6:22 PM, Gioh Kim wrote: 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 +--

[PATCH v3 1/2] staging: skein: Adds CryptoAPI Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI support for skein256, skein512, and skein1024 algorithms. Also collapses threefish algorithm into skein.o and removes Kconfig option for Threefish. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +- drivers/staging/skein/Makefile| 13 +- drivers/

[PATCH v3 0/2] staging: skein: Adds CryptoAPI and Module Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI and Loadable Module support to the Skein Hashing Algorithm. Eric Rost (2): staging: skein: Adds CryptoAPI Support staging: skein: Adds Loadable Module Support drivers/staging/skein/Kconfig | 24 +- drivers/staging/skein/Makefile| 13 +- drivers/staging/skein/

[PATCH v3 2/2] staging: skein: Adds Loadable Module Support

2014-10-23 Thread Eric Rost
Adds loadable module support for the Skein Hashing Algorithm. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 19 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/staging/skein/Kconfig

Re: [RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Devendra Naga
Hello, On Thu, Oct 23, 2014 at 6:22 PM, Gioh Kim wrote: > 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(+),

RE: [PATCH] staging: comedi: introduce some sample size manipulation functions

2014-10-23 Thread Hartley Sweeten
On Thursday, October 23, 2014 5:48 AM, Ian Abbott wrote: > 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.) > > `comed

Re: [PATCH 1/1] staging - rtl8188eu: Deletion of unnecessary checks before three function calls

2014-10-23 Thread SF Markus Elfring
>From 45970693cad6c12da2d5ac7da3d2bd7a566170d7 Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Thu, 23 Oct 2014 20:55:13 +0200 Subject: [PATCH] staging - rtl8188eu: Deletion of unnecessary checks before three function calls The functions kfree(), rtw_free_netdev() and vfree() test whether th

[PATCH] staging: comedi: me4000: fix firmware downloading

2014-10-23 Thread H Hartley Sweeten
Convert this driver to use comedi_load_firmware() to download the firmware to the board. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/me4000.c | 93 ++--- 1 file changed, 40 insertions(+), 53 deletions(-)

[PATCH 88/91] staging: unisys: fix parameters for SPAR_VBUS_CHANNEL_OK_CLIENT macro

2014-10-23 Thread Benjamin Romer
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 --- .../unisys/common-spar/include/channels/vbuschannel.h | 14 +++--- drivers/staging/unisys/uislib/uislib.

[PATCH 79/91] staging: unisys: refactor TASK_MGMT_TYPES

2014-10-23 Thread Benjamin Romer
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 --- .../staging/unisys/common-spar/include/channels/iochannel.h | 12 +++- drivers/staging/u

[PATCH 33/91] staging: unisys: refactor ultra_segment_state

2014-10-23 Thread Benjamin Romer
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 Ro

[PATCH 11/91] staging: unisys: get rid of UltraLogEvent macro

2014-10-23 Thread Benjamin Romer
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 --- .../unisys/common-spar/include/channels/channel.h | 140 +++-

[PATCH 42/91] staging: unisys: replace typedef ULTRA_EFI_SPAR_INDICATION

2014-10-23 Thread Benjamin Romer
Replace ULTRA_EFI_SPAR_INDICATION with struct efi_spar_indication, and update references to the old type. Signed-off-by: Benjamin Romer --- .../unisys/common-spar/include/channels/controlvmchannel.h| 8 drivers/staging/unisys/visorchipset/visorchipset_main.c | 8 --

[PATCH 50/91] staging: unisys: refactor CONTROLVM_MESSAGE_DEVICE_CREATE

2014-10-23 Thread Benjamin Romer
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 --- .../unisys/common-spar/include/channels/controlvmchannel.h| 8

[PATCH 72/91] staging: unisys: remove unused macro ULTRA_VHBA_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
This macro is not used so remove 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/staging/unisys/

[PATCH 83/91] staging: unisys: fix CamelCase names in net_pkt_rcv

2014-10-23 Thread Benjamin Romer
Fix CamelCase names: UniqueNum => unique_num RcvsDroppedDelta => rcvs_dropped_delta 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/includ

[PATCH 45/91] staging: unisys: refactor ULTRA_CHIPSET_FEATURE enum

2014-10-23 Thread Benjamin Romer
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 |

[PATCH 26/91] staging: unisys: refactor ULTRA_check_channel_client()

2014-10-23 Thread Benjamin Romer
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

[PATCH 84/91] staging: unisys: fix CamelCase in uiscmdrsp_disknotify

2014-10-23 Thread Benjamin Romer
Fix the CamelCase member of this structure: vHba => v_hba Signed-off-by: Benjamin Romer --- drivers/staging/unisys/common-spar/include/channels/iochannel.h | 2 +- drivers/staging/unisys/virthba/virthba.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --gi

[PATCH 80/91] staging: unisys: refactor enum VDISK_MGMT_TYPES

2014-10-23 Thread Benjamin Romer
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.

[PATCH 20/91] staging: unisys: fix CamelCase in PathName_Last_N_Nodes()

2014-10-23 Thread Benjamin Romer
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

[PATCH 55/91] staging: unisys: refactor SPAR_CONTROLVM_CHANNEL_PROTOCOL

2014-10-23 Thread Benjamin Romer
Get rid of the typedef for SPAR_CONTROLVM_CHANNEL_PROTOCOL and replace it with struct spar_controlvm_channel_protocol. Fix CamelCase members of the structure and update all references to changed names. Header => header gpControlVm => gp_control_vm gpPartitionTables => gp_partition_tables gpDiagGue

[PATCH 81/91] staging: unisys: fix CamelCase names in struct sense_data

2014-10-23 Thread Benjamin Romer
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

[PATCH 31/91] staging: unisys: refactor SignalRemoveAll()

2014-10-23 Thread Benjamin Romer
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

[PATCH 57/91] staging: unisys: fix misspelled word in controlvmchannel.h

2014-10-23 Thread Benjamin Romer
"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

[PATCH 69/91] staging: unisys: clean up line spacing in iochannel.h

2014-10-23 Thread Benjamin Romer
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

[PATCH 25/91] staging: unisys: fix CamelCase in struct signal_queue_header

2014-10-23 Thread Benjamin Romer
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

[PATCH 76/91] staging: unisys: remove unused macro SPAR_VSWITCH_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
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

[PATCH 90/91] staging: unisys: refactor ULTRA_VBUS_HEADERINFO

2014-10-23 Thread Benjamin Romer
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_

[PATCH 78/91] staging: unisys: fix CamelCase in ETH_IS_LOCALLY_ADMINISTERED

2014-10-23 Thread Benjamin Romer
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

[PATCH 53/91] staging: unisys: refactor DEVICE_MAP

2014-10-23 Thread Benjamin Romer
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 +

[PATCH 22/91] staging: unisys: refactor ULTRA_channel_client_acquire_os()

2014-10-23 Thread Benjamin Romer
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

[PATCH 75/91] staging: unisys: fix parameters to macro SPAR_VNIC_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
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

[PATCH 40/91] staging: unisys: fix CamelCase names in struct pci_id

2014-10-23 Thread Benjamin Romer
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

[PATCH 17/91] staging: unisys: fix CamelCase names in struct channel_header

2014-10-23 Thread Benjamin Romer
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

[PATCH 70/91] staging: unisys: fix typecast spacing in iochannel.h

2014-10-23 Thread Benjamin Romer
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

[PATCH 43/91] staging: unisys: fix CamelCase names in struct efi_spar_indication

2014-10-23 Thread Benjamin Romer
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

[PATCH 54/91] staging: unisys: refactor GUEST_DEVICES

2014-10-23 Thread Benjamin Romer
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

[PATCH 19/91] staging: unisys: fix ULTRA_SPAR_CHANNEL_CLIENT_CHK_TRANSITION macro

2014-10-23 Thread Benjamin Romer
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

[PATCH 21/91] staging: unisys: fix up ULTRA_CHANNEL_CLIENT_TRANSITION macro

2014-10-23 Thread Benjamin Romer
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 ++

[PATCH 63/91] staging: unisys: refactor DIAG_CHANNEL_EVENT

2014-10-23 Thread Benjamin Romer
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

[PATCH 15/91] staging: unisys: fix spacing in ULTRA_CHANNELCLI_STRING

2014-10-23 Thread Benjamin Romer
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

[PATCH 51/91] staging: unisys: refactor CONTROLVM_MESSAGE_DEVICE_CONFIGURE

2014-10-23 Thread Benjamin Romer
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

[PATCH 18/91] staging: unisys: clean up ULTRA_CHANNEL_SERVER_READY macro

2014-10-23 Thread Benjamin Romer
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

[PATCH 74/91] staging: unisys: remove unused macro ULTRA_VSWITCH_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
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

[PATCH 27/91] staging: unisys: refactor visor_signal_remove()

2014-10-23 Thread Benjamin Romer
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

[PATCH 04/91] staging: unisys: delete extra space character in vbuschannel_itoa()

2014-10-23 Thread Benjamin Romer
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

[PATCH 61/91] staging: unisys: refactor DIAG_EFI_TIME

2014-10-23 Thread Benjamin Romer
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

[PATCH 44/91] staging: unisys: fix CamelCase macro names in controlframework.h

2014-10-23 Thread Benjamin Romer
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

[PATCH 24/91] staging: unisys: remove typedef SIGNAL_QUEUE_HEADER

2014-10-23 Thread Benjamin Romer
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

[PATCH 71/91] staging: unisys: clean up CamelCase parameter in SPAR_VHBA_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
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(+

[PATCH 48/91] staging: unisys: refactor CONTROLVM_PACKET_DEVICE_CREATE

2014-10-23 Thread Benjamin Romer
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

[PATCH 47/91] staging: unisys: refactor CONTROLVM_MESSAGE_HEADER

2014-10-23 Thread Benjamin Romer
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

[PATCH 87/91] staging: unisys: clean up UltraVbusChannelProtocol

2014-10-23 Thread Benjamin Romer
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 |

[PATCH 29/91] staging: unisys: fix symbol placement in spar_channel_client_acquire

2014-10-23 Thread Benjamin Romer
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

[PATCH 35/91] staging: unisys: refactor UltraControlvmChannelProtocolGuid

2014-10-23 Thread Benjamin Romer
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

[PATCH 86/91] staging: unisys: remove unused code from iochannel.h

2014-10-23 Thread Benjamin Romer
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

[PATCH 36/91] staging: unisys: remove ULTRA_CONTROLVM_CHANNEL_OK_SERVER macro

2014-10-23 Thread Benjamin Romer
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

[PATCH 73/91] staging: unisys: remove unused macro ULTRA_VNIC_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
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

[PATCH 82/91] staging: unisys: fix CamelCase name in net_pkt_rcvpost

2014-10-23 Thread Benjamin Romer
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

[PATCH 68/91] staging: unisys: refactor ULTRA_DIAG_CHANNEL_PROTOCOL

2014-10-23 Thread Benjamin Romer
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

[PATCH 30/91] staging: unisys: refactor SignalInit Macro

2014-10-23 Thread Benjamin Romer
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

[PATCH 85/91] staging: unisys: refactor ULTRA_IO_CHANNEL_PROTOCOL

2014-10-23 Thread Benjamin Romer
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

[PATCH 16/91] staging: unisys: remove typedef for CHANNEL_HEADER

2014-10-23 Thread Benjamin Romer
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

[PATCH 91/91] staging: unisys: refactor struct struct ultra_vbus_channel_protocol

2014-10-23 Thread Benjamin Romer
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

[PATCH 62/91] staging: unisys: refactor ULTRA_COMPONENT_TYPES

2014-10-23 Thread Benjamin Romer
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

[PATCH 12/91] staging: unisys: remove typedef for CHANNEL_SERVERSTATE

2014-10-23 Thread Benjamin Romer
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/

[PATCH 56/91] staging: unisys: refactor ULTRA_CONTROLVM_PARAMETERS_HEADER

2014-10-23 Thread Benjamin Romer
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

[PATCH 67/91] staging: unisys: refactor DIAG_CHANNEL_PROTOCOL_HEADER

2014-10-23 Thread Benjamin Romer
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

[PATCH 39/91] staging: unisys: fix CamelCase names in struct irq_info

2014-10-23 Thread Benjamin Romer
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

[PATCH 60/91] staging: unisys: refactor ULTRA_DIAG_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
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 ++-

[PATCH 77/91] staging: unisys: remove typedef from NET_TYPES

2014-10-23 Thread Benjamin Romer
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

[PATCH 08/91] staging: unisys: fix CamelCase channel constants

2014-10-23 Thread Benjamin Romer
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

[PATCH 58/91] staging: unisys: refactor UltraDiagChannelProtocolGuid

2014-10-23 Thread Benjamin Romer
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

[PATCH 89/91] staging: unisys: refactor ULTRA_VBUS_CHANNEL_OK_SERVER

2014-10-23 Thread Benjamin Romer
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

[PATCH 23/91] staging: unisys: refactor ULTRA_channel_client_release_os()

2014-10-23 Thread Benjamin Romer
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

[PATCH 14/91] staging: unisys: fix missing blank line after enum channel_clientstate

2014-10-23 Thread Benjamin Romer
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-

[PATCH 41/91] staging: unisys: remove unused code from controlvmchannel.h

2014-10-23 Thread Benjamin Romer
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

[PATCH 64/91] staging: unisys: remove typedef for DIAG_SEVERITY

2014-10-23 Thread Benjamin Romer
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

[PATCH 32/91] staging: unisys: refactor ULTRA_check_channel_server()

2014-10-23 Thread Benjamin Romer
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 =>

[PATCH 37/91] staging: unisys: fix CamelCase in SPAR_CONTROLVM_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
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

[PATCH 00/91] staging: unisys: clean up include and common-spar

2014-10-23 Thread Benjamin Romer
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

[PATCH 66/91] staging: unisys: remove typedef from DIAG_CAUSE

2014-10-23 Thread Benjamin Romer
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

[PATCH 59/91] staging: unisys: refactor ULTRA_DIAG_CHANNEL_OK_CLIENT

2014-10-23 Thread Benjamin Romer
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

[PATCH 52/91] staging: unisys: remove typedef from CONTROLVM_MESSAGE

2014-10-23 Thread Benjamin Romer
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

[PATCH 49/91] staging: unisys: refactor CONTROLVM_PACKET_DEVICE_CONFIGURE

2014-10-23 Thread Benjamin Romer
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

[PATCH 06/91] staging: unisys: fix CamelCase in ISSUE_IO_VMCALL macros

2014-10-23 Thread Benjamin Romer
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

  1   2   >