aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-10-02staging: unisys: get rid of typedef for EVENT_PCBenjamin Romer1-2/+2
Just switch EVENT_PC over to enum event_pc. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: get rid of typedef for DRIVER_PCBenjamin Romer1-2/+2
Simply switch DRIVER_PC to enum driver_pc. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: remove doubled blank lines in guestlinuxdebug.hBenjamin Romer1-2/+0
Take out those doubled blank lines in guestlinuxdebug.h. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase in bus_device_info_init()Benjamin Romer4-18/+20
Fix CamelCase names: BusDeviceInfo_Init => bus_device_info_init pBusDeviceInfo => bus_device_info_ptr deviceType => dev_type driverName => driver_name verTag => ver_tag Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix copyright symbol in vbushelper.hBenjamin Romer1-1/+1
The copyright character in vbushelper.h isn't UTF-8 - swap it out for a good, old-fashioned (C). Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix line spacing in uniklog.hBenjamin Romer1-2/+0
Take out the doubled blank lines in uniklog.h, too. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: remove excess blank lines in uisthread.hBenjamin Romer1-3/+0
Take out those doubled blank lines in uisthread.h. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix up CamelCase in struct init_chipset_guestpartBenjamin Romer1-2/+2
Fix up CamelCase names: busCount => bus_count switch_count => switch_count Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: clean up CamelCase names in struct add_virt_guestpartBenjamin Romer3-15/+16
Clean up CamelCase names: busNo => bus_no deviceNo => device_no devInstGuid => instance_uuid Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase in struct del_vbus_guestpartBenjamin Romer3-5/+5
Fix up CamelCase names: busNo => bus_no Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase definitions in struct io_msgsBenjamin Romer1-1/+1
Clean up CamelCase names: extPort => ext_port Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase names in del_virt_iopartBenjamin Romer1-2/+2
Clean up CamelCase names: busNo => bus_no devNo => dev_no Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase in del_vdisk_iopartBenjamin Romer1-2/+2
Fix CamelCase names: busNo => bus_no devNo => dev_no Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase names in struct add_vdisk_iopartBenjamin Romer1-2/+2
Fix CamelCase names: busNo => bus_no devNo => dev_no Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: clean up CamelCase in struct add_virt_iopartBenjamin Romer1-6/+6
Clean up CamelCase names: guestHandle => guest_handle recvBusInterruptHandle => recv_bus_irq_handle useG2GCopy => use_g2g_copy Filler => filler busNo => bus_no dev_no => dev_no Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase struct name NetworkPolicyBenjamin Romer1-1/+1
Clean up CamelCase name: NetworkPolicy => network_policy Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: clean up CamelCase in DEDICATED_SWITCH() macroBenjamin Romer1-2/+2
Clean up CamelCase names: pSwitch => s Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase in struct device_infoBenjamin Romer2-26/+26
Clean up CamelCase names: channelAddr => channel_addr channelBytes => channel_bytes channelTypeGuid => channel_uuid devInstGuid => instance_uuid busNo => bus_no devNo => dev_no Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: remove uisqueue_send_int_if_needed()Benjamin Romer1-6/+0
This function is not used anywhere, so remove it. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase in uisqueue_put_cmdrsp_with_lock_clientBenjamin Romer2-8/+8
Clean up CamelCase names: issueInterruptIfEmpty => issue_irq_if_empty interruptHandle => irq_handle Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: Clean up CamelCase in send_int_if_needed()Benjamin Romer1-2/+2
Clean up CamelCase names: issueInterruptIfEmpty => issue_irq_if_empty interruptHandle => irq_handle Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix CamelCase names in struct uisqueue_infoBenjamin Romer1-2/+2
Clean up CamelCase names: Reserved1 => reserved1 Reserved2 => reserved2 Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix camelcase function uisqueue_InterlockedOr()Benjamin Romer3-22/+22
Clean up CamelCase names: uisqueue_InterlockedOr => uisqueue_interlocked_or Target => tgt Set => set Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: remove timskmodutils.hBenjamin Romer5-120/+3
Remove the entire timskmodutils.h file as it had a lot of checkpatch.pl strict warnings and checks, and nearly all of the functions were not used anywhere. The unisys_spar_platform variable was moved to timskmod.h. References to the removed timskmodutils.h were switched to timskmod.h instead. The unused visor_seq_file_new_buffer() and visor_seq_file_done_buffer() functions defined in timskmodutils.h were implemented in visorkmodutils.c, so these were removed as well. This patch will generate a warning about updating MAINTAINERS, but there does not seem to be any need for that. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: fix spacing in timskmod.h macroBenjamin Romer1-1/+1
Adds in some missing spaces in the max macro in timskmod.h. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: remove stray blank line in timskmod.hBenjamin Romer1-1/+0
Just cleaning up the extra blank line from here. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: remove unused locking functions in timskmod.hBenjamin Romer1-88/+0
Delete a block of unused locking functions from timskmod.h. These functions generated a lot of checkpatch warnings and were not being used anyhow. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: remove typedef for PERIODIC_WORKBenjamin Romer2-81/+76
In periodic_work.h, remove the typedef PERIODIC_WORK and replace it with struct periodic_work, and update functions used to manipulate the structure to use the new name. The functions used to manipulate the PERIODIC_WORK type are updated to use the fixed name, corrected for clarity, and changed to not use periodic_work as the parameter's name. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: delete extra blank lines in periodic_work.hBenjamin Romer1-2/+0
Remove the extra blank lines from before the first comment. Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02drivers/staging/unisys: Let all IOMEM related modules depend on HAS_IOMEMChen Gang3-3/+3
UNISYS_UISLIB, UNISYS_VISORCHIPSET, and UNISYS_VISORUTIL need HAS_IOMEM, so depend on it. One of related error (with allmodconfig under um): CC [M] drivers/staging/unisys/uislib/uislib.o In file included from drivers/staging/unisys/uislib/uislib.c:34:0: drivers/staging/unisys/include/uisutils.h: In function ‘dbg_ioremap_cache’: drivers/staging/unisys/include/uisutils.h:88:2: error: implicit declaration of function ‘ioremap_cache’ [-Werror=implicit-function-declaration] new = ioremap_cache(addr, size); ^ drivers/staging/unisys/include/uisutils.h:88:6: warning: assignment makes pointer from integer without a cast [enabled by default] new = ioremap_cache(addr, size); ^ drivers/staging/unisys/include/uisutils.h: In function ‘dbg_ioremap’: drivers/staging/unisys/include/uisutils.h:99:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration] new = ioremap(addr, size); ^ drivers/staging/unisys/include/uisutils.h:99:6: warning: assignment makes pointer from integer without a cast [enabled by default] new = ioremap(addr, size); ^ drivers/staging/unisys/include/uisutils.h: In function ‘dbg_iounmap’: drivers/staging/unisys/include/uisutils.h:108:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(addr); ^ Signed-off-by: Chen Gang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: unisys: common-spar: Fix missing blank line warningMelike Yurtoglu1-0/+2
Fixes "Missing a blank line after declarations" checkpatch.pl warning Signed-off-by: Melike Yurtoglu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02Staging: unisys: Add missing blank lineMahati Chamarthy2-0/+11
This fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: Mahati Chamarthy <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: dgnc: Fix do not add new typedefsEbru Akagunduz8-103/+100
This patch fixes "do not add new typedefs" checkpatch.pl warning in dgnc_types.h Signed-off-by: Ebru Akagunduz <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging: dgnc: Fix no spaces at the start of a line in dpacompat.hYeliz Taneroglu1-1/+1
The following patch the checkpatch.pl warning: drivers/staging/dgnc/dpacompat.h:27 warning: please, no spaces at the start of a line Signed-off-by: Yeliz Taneroglu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02Staging: dgnc: Add missing blank lineMahati Chamarthy1-0/+2
This fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: Mahati Chamarthy <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02Staging: dgnc: Remove unnecessary bracesMahati Chamarthy1-8/+4
This fixes the following checkpatch.pl warnings: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Mahati Chamarthy <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02Staging: dgnc: Remove return in void functionMahati Chamarthy1-3/+0
This fixes the following checkpatch.pl warnings: WARNING: void function return statements are not generally useful Signed-off-by: Mahati Chamarthy <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02staging/lustre/lvfs: fix building without CONFIG_PROC_FSArnd Bergmann1-14/+17
Patch "staging/lustre/lvfs: remove the lvfs layer" moved some code around that was previously only built when CONFIG_PROC_FS was set, which now causes an invalid access to the obd_memory variable: ERROR: "obd_memory" [drivers/staging/lustre/lustre/obdclass/obdclass.ko] undefined! This fixes it by using adding a compile-time check around the access. Signed-off-by: Arnd Bergmann <[email protected]> Fixes: fdedd94509fd ("staging/lustre/lvfs: remove the lvfs layer") Cc: James Simmons <[email protected]> Cc: Mikhail Pershin <[email protected]> Cc: John L. Hammond <[email protected]> Cc: Jian Yu <[email protected]> Cc: Bob Glossman <[email protected]> Cc: Oleg Drokin <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02Staging: bcm: Removed unnecessary else.Heena Sirwani1-2/+2
The following patch fixes the checkpatch.pl warning: WARNING: else is not generally useful after a break or return. Signed-off-by: Heena Sirwani <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02Staging: media: omap24xx: Merge two lines and remove unused variableMahati Chamarthy1-3/+1
This patch merges two lines and removes a variable that becomes unused after merging. Signed-off-by: Mahati Chamarthy <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-02Revert "staging: media: cxd2099: use usleep_range()"Greg Kroah-Hartman1-1/+1
This reverts commit 7b86477c0e5b7b1406f27da519d4df841f306b92. It was broken and broke the build :( Reported-by: kbuild test robot <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Cc: Tapasweni Pathak <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-30staging: r8192ee: Remove staging driverLarry Finger66-50331/+0
A new version of this driver has been merged into the regular wireless tree. The staging version is hereby removed. Signed-off-by: Larry Finger <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-29staging: rtl8821ae: remove driverGreg Kroah-Hartman75-70878/+0
There is now a "real" driver in the wireless tree for this hardware device, so remove the staging driver as it is no longer needed. Reported-by: Larry Finger <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-29staging: et131x: Simplify for loop in et131x_init_send()Mark Einon1-2/+4
The for loop in this function increments two variables and has an unusual starting index of 1 (not 0). Make it look more familiar. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Mark Einon <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-29staging: et131x: Audit and update commentsMark Einon1-307/+21
Many of the functions and variables in the driver have been renamed and are now more understandable, as well as defines added for various constants. Update / remove some comments to reflect this. Also many comments were unnecessary dialogue describing what is evident from the code, or comments were just plain incorrect. Remove these too. Signed-off-by: Mark Einon <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-28staging: rtl8192u: ieee80211: Converted symbol to static.Aybuke Ozdemir1-1/+1
This patch fixes this sparse warning: drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c:60:6: warning: symbol 'ieee80211_ccmp_aes_encrypt' was not declared. Should it be static? Signed-off-by: Aybuke Ozdemir <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-28staging: rtl8192u: Add blank line after variable declarationsGeorgiana Chelu1-0/+2
Fix the following checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: Georgiana Chelu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-28Staging: rtl8192e: Remove unused variableMahati Chamarthy1-2/+0
This patch removes a variable which has never been used. The following Coccinelle semantic patch was used to make this transformation: @@ type T; identifier i; constant C; @@ - T i; <... when != i - i = C; ...> Signed-off-by: Mahati Chamarthy <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-28staging: rtl8192u: Fixed trailing whitespace in copyingEsra Altintas1-5/+5
The following patch fixes the checkpatch.pl error: ERROR: trailing whitespace Signed-off-by: Esra Altintas <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-09-28staging: rtl8192u: remove space before close parenthesis ")"Roxana Blaj1-4/+4
This fixes the checkpatch.pl error: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Roxana Blaj <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>