aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-08-17staging: wilc1000: delete wilc_timer.hGreg Kroah-Hartman2-53/+0
It is no longer needed at all, so remove this header file. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-17staging: wilc1000: remove WILC_TimerStart()Greg Kroah-Hartman5-48/+25
It was a wrapper around mod_timer() so replace it with the real timer call and remove wilc_timer.c as it's now empty. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove WILC_TimerCreate()Greg Kroah-Hartman3-44/+17
It was just a wrapper around setup_timer() and could never fail, so just call the real function, and fix up the function arguments of the callbacks to be proper timer callback functions. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove WILC_TimerDestroy()Greg Kroah-Hartman4-39/+10
It was just a wrapper around del_timer_sync() so call that instead. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove WILC_TimerStop()Greg Kroah-Hartman5-43/+12
It was just a wrapper around del_timer() so call that instead. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove tstrWILC_TimerAttrs typedefGreg Kroah-Hartman5-67/+45
It was not used for anything, so remove it, and the variables in wilc_timer.c that were being passed of its type. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove WILC_TimerHandle typedefGreg Kroah-Hartman7-20/+16
Use the proper structure (struct timer_list) instead, which makes things much more readable. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove WILC_Sleep()Greg Kroah-Hartman6-47/+6
It was just a wrapper around usleep_range() so call that directly instead and remove the now-empty file. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove commented out WILC_Sleep callsGreg Kroah-Hartman2-3/+0
It's not being called, so delete these lines. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vt6655: Replace typedef struct tagSTxDescMalcolm Priestley6-38/+39
Replace with struct vnt_tx_desc with all members the same. volatile is removed from pointers as this generates warning message. Only the first four members of vnt_tx_desc need to be volatile. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vt6655: replace typedef struct tagDEVICE_TD_INFO and structureMalcolm Priestley4-33/+33
Create struct vnt_td_info with members mic_hdr skb buf buf_dma dwReqCount -> req_count byFlags -> flags In struct tagSTxDesc volatile is removed because it will generate a warning (in any case this member is not) and renaming td_info. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vt6655: struct tagDEVICE_TD_INFO remove dwHeaderLengthMalcolm Priestley2-2/+0
dwHeaderLength is assigned a value but that is never used. Remove variable. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vt6655: struct tagDEVICE_TD_INFO resize dwReqCount.Malcolm Priestley3-3/+3
dwReqCount is no bigger than u16 Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vt6655: replaced typedef struct tagTDES1Malcolm Priestley2-12/+10
Create struct vnt_tdes1 that replaces members wReqCount -> req_count byTCR -> tcr byReserved -> reserved Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vt6655: desc.h replace typedef struct tagTDES0Malcolm Priestley3-29/+19
create struct vnt_tdes0 replacing used members byTSR0 -> tsr0 byTSR1 -> tsr1 f1Owner -> owner Narrowing endian differences to inside structure. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: delete wilc_type.hGreg Kroah-Hartman3-36/+2
The .h file isn't needed at all, so just remove it. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove WILC_MemoryFreeGreg Kroah-Hartman2-42/+0
It's no longer needed, so remove the empty wrapper function. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove WILC_FREE_IF_TRUE macroGreg Kroah-Hartman2-33/+10
Just use kfree, as that's all it resolves itself to. Cc: Johnny Kim <[email protected]> Cc: Rachel Kim <[email protected]> Cc: Dean Lee <[email protected]> Cc: Chris Park <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14Staging: sm750fb: Fix "foo* bar" should be "foo *bar" errorsYash Shah4-14/+14
Fix "foo* bar" should be "foo *bar" errors as detected by checkpatch.pl Signed-off-by: Yash Shah <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: rtl8188eu: fix possible NULL dereferenceSudip Mukherjee1-4/+4
dm_odm was being checked for NULL after dereferencing it. Lets check for NULL first before derefenrencing it. Signed-off-by: Sudip Mukherjee <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: clarify the argument typeJohnny Kim2-41/+41
This patch replaces the void pointer type in the host interface functions which process the message from host thread by the real data type, tstrWILC_WFIDrv because the void pointer type as the arguments is not clear and concise. In addition, typecasting to the void pointer type is removed becasue it is not necessary. Signed-off-by: Johnny Kim <[email protected]> Signed-off-by: Tony Cho <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: change void pointer type to real typeJohnny Kim1-1/+1
This patch changes the void pointer member of the tstrHostIFmsg to the real data type because the void pointer type is ambiguous and not readable. Signed-off-by: Johnny Kim <[email protected]> Signed-off-by: Tony Cho <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: replace WILC_WFIDrvHandle by tstrWILC_WFIDrvJohnny Kim5-136/+136
The structure, WILC_WFIDrvHandle is used to save the pointer address for the driver handler which is used throughout the driver but it's not easy to understand what it means. In addition, it doesn't support the 64 bit machine and also causes the warnings for the 64 bit build. This patch replaces the WILC_WFIDrvHandle by the tstrWILC_WFIDrv because the tstrWILC_WFIDrv is real structure to represent the driver handler and reduces the 64 bit compile warnings. Also, typecasting to WILC_WFIDrvHandle is not needed by using tstrWILC_WFIDrv as is. Signed-off-by: Johnny Kim <[email protected]> Signed-off-by: Tony Cho <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove WILC_FREEChaehyun Lim1-5/+0
Remove WILC_FREE that is replaced by kfree. Signed-off-by: Chaehyun Lim <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: use kfree instead of WILC_FREEChaehyun Lim5-86/+86
Use kfree instead of WILC_FREE. Signed-off-by: Chaehyun Lim <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: remove unused memory functionsChaehyun Lim2-78/+0
This patch remove unused memory functions because some macros with this memory function are deleted. Signed-off-by: Chaehyun Lim <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: wilc_memory.h: remove unused defineChaehyun Lim1-51/+0
Remove unused define macro that is never used. Signed-off-by: Chaehyun Lim <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14Staging: gdm72xx: usb_ids: fix a macro coding style errorRaphaël Beamonte1-1/+5
Fix a macro with complex value coding style error. Signed-off-by: Raphaël Beamonte <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: rtl8192e: Fix log spamming in rtl8192_hard_data_xmitMateusz Kulikowski1-2/+2
This patch fixes issue generated by commit ca93dcba3a92 ("staging: rtl8192e: Remove assert() macro") One negation was missed in conversion, therefore asserted message was always printed. For 1MB file downloaded via http, ~500 messages were generated. Signed-off-by: Mateusz Kulikowski <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vme: devices: add spaces around '-'Junsu Shin1-4/+4
This is a patch to the vme_pio2_core.c that adds spaces around '-'. Signed-off-by: Junsu Shin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vme: devices: fix NULL comparison styleJunsu Shin1-2/+2
This is a patch to vme_pio2_core.c that fixes up the NULL comparison style. Signed-off-by: Junsu Shin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vme: devices: remove blank line after open braceJunsu Shin1-2/+0
This is a patch to the vme_pio2_core.c that removes blank line after open brace '{'. Signed-off-by: Junsu Shin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: vme: devices: remove multiple blank linesJunsu Shin1-4/+0
This is a patch to vm2_pio2_core.c that removes multiple blanks lines. Signed-off-by: Junsu Shin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: unisys: make visorbus_dev_groups staticMichał Kępień1-1/+1
visorbus_dev_groups is not referenced outside visorbus_main.c, so it can be declared static. Found using sparse. Signed-off-by: Michał Kępień <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14drivers: staging: unisys: add MODULE_DEVICE_TABLE and temporary MODULE_ALIAS ↵Prarit Bhargava1-0/+9
lines to visornic This patch adds an module alias and a MODULE_DEVICE_TABLE to autoload the visornic driver when an appropriate device is created by the visorbus. Note, the correct way of fixing this is adding functionality to scripts/mod/file2alias.c for the visorbus bus type. Signed-off-by: Prarit Bhargava <[email protected]> Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: rtl8192u: Remove unnecessary externsJoe Perches7-223/+236
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: mt29f_spinand: Remove unnecessary externsJoe Perches1-2/+2
Using 'extern' is not necessary for function prototypes. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: dgnc: Remove unnecessary externsJoe Perches1-8/+8
Using 'extern' is not necessary for function prototypes. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: ft1000: Remove unnecessary externsJoe Perches2-12/+11
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignment Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: wilc1000: Remove unnecessary externsJoe Perches3-18/+18
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: rtl8192e: Remove unnecessary externsJoe Perches6-235/+202
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: rtl8188eu: Remove unnecessary externsJoe Perches3-14/+14
Using 'extern' is not necessary for function prototypes. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: nvec: Remove unnecessary externsJoe Perches1-10/+9
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: fbtft: Remove unnecessary externsJoe Perches1-27/+25
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: octeon: Remove unnecessary externsJoe Perches2-12/+12
Using 'extern' is not necessary for function prototypes. Signed-off-by: Joe Perches <[email protected]> Acked-by: David Daney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: rtl8712: Remove unnecessary externsJoe Perches1-16/+12
Using 'extern' is not necessary for function prototypes. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: xgifb: Remove unnecessary externsJoe Perches2-19/+19
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: lustre: ptlrpc: add missing include directiveIoan-Adrian Ratiu1-0/+2
Without including ptlrpc_internal.h, GCC gives prototype warnings "pack_generic.c:642:5: warning: no previous prototype for ..." and sparse also complains "pack_generic.c:642:5: warning: symbol 'lustre_unpack_req_ptlrpc_body' was not declared. ..." Signed-off-by: Ioan-Adrian Ratiu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: lustre: Do not init global to NULLSwee Hua Law1-1/+1
Remove "= NULL" in global variable Signed-off-by: Swee Hua Law <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2015-08-14staging: lustre: Remove unnecessary externsJoe Perches15-392/+387
Using 'extern' is not necessary for function prototypes. Miscellanea: o Reflow alignments Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>