aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-10staging: brcm80211: remove BLOCKABLE so no one uses it.Jason Cooper1-2/+0
BLOCKABLE() doesn't do what it's supposed to. Signed-off-by: Jason Cooper <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-10staging: brcm80211: remove kernel_thread() for wl_iscan_thread and ↵Jason Cooper2-24/+24
wl_event_thread. Replace kernel_thread() with kthread_run(). Replace pid with tsk, and exited with kthread_stop()/kthread_should_stop(). event_tsk, and tsk are NULL when their respective threads are not running. Signed-off-by: Jason Cooper <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-10staging: brcm80211: remove kernel_thread() for _iscan_sysioc_thread.Jason Cooper1-23/+20
Replace kernel_thread() with kthread_run, kthread_stop() and kthread_should_stop(). Remove sysioc_pid, sysioc_exit, and DAEMONIZE. sysioc_tsk is NULL when not running. Signed-off-by: Jason Cooper <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-10staging: brcm80211: remove kernel_thread() for _dhd_sysioc_thread.Jason Cooper1-24/+20
Replaced kernel_thread() with kthread_run(), kthread_stop(), and kthread_should_stop(). Also removed all references to sysioc_pid and sysioc_exit. DAEMONIZE removed because not used in dhd_linux.c. sysioc_tsk is NULL when not running. Signed-off-by: Jason Cooper <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-10staging: brcm80211: remove kernel_thread() for dhd_dpc_thread.Jason Cooper1-14/+17
use kthread_run(), kthread_stop(), and kthread_should_stop(). Removes dpc_pid, dpc_exited, and the call to DAEMONIZE. dpc_tsk is NULL when not running. Signed-off-by: Jason Cooper <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-10staging: brcm80211: remove kernel_thread() for dhd_watchdog_thread.Jason Cooper1-12/+17
Replaced kernel_thread() with kthread_run(). Used kthread_should_stop() in place of watchdog_exited completion. Replaced watchdog_pid with struct task_struct. watchdog_tsk is NULL when the task is not running. Signed-off-by: Jason Cooper <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-09staging: brcm80211: remove unnecessary cflag, LINUXnohee ko2-10/+0
remove unnecessary cflag, LINUX Signed-off-by: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-09staging: brcm80211: remove unnecessary cflag, CONFIG_CFG80211nohee ko3-36/+1
remove unnecessary cflag, CONFIG_CFG80211 Signed-off-by: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-09staging: brcm80211: remove unnecessary cflag, BCMWPA2nohee ko2-24/+0
remove unnecessary cflag, BCMWPA2. BCMDRIVER is already not used. Signed-off-by: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-09staging: brcm80211: remove duplicated file, bcmutils.cnohee ko6-1951/+529
Remove duplicated file, bcmutils.c under brcm80211/brcmfmac. brcm80211/util/bcmutils.c will be shared between softmac & fullmac. Makefile, and some other files are also modified accordingly Signed-off-by: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-09staging: tidspbridge: add memory consistency to TODO listArnd Bergmann1-0/+1
This driver uses ioremap on regular memory to get an uncached mapping, which causes problems on ARMv6 and higher due to aliasing with the cached linar kernel mapping. Make sure this gets fixed before the driver graduates from staging. Cc: Felipe Contreras <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-09Staging: brcm80211: make interface name buffer smallerDan Carpenter1-3/+2
In the original code the interface name was IFNAMSIZ + 1, but that caused problems in dhd_ifname2idx() which does: strncmp(dhd->iflist[i]->name, name, IFNAMSIZ) The wl_event_msg_t struct can only store 16 character names as well. And thirdly there is a potential buffer overflow in dhd_op_if() because if->net->name is IFNAMSIZ and we do: strcpy(ifp->net->name, ifp->name); Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-09Staging: phison: fix problem caused by libata changeGreg Kroah-Hartman1-1/+1
The libata core changed this function so it needed to call a different one. See https://bugzilla.kernel.org/show_bug.cgi?id=19872 for details. Reported-by: Heinz Wiesinger <[email protected]> Tested-by: Heinz Wiesinger <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08staging: brcm80211: Purge unused wlc_id_nameBrett Rudley1-8/+0
Purge unused wlc_id_name_entry Signed-off-by: Brett Rudley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08staging: brcm80211: Purge unused packet engineBrett Rudley8-93/+1
We're not using the packet engine anymore - goodbye. Signed-off-by: Brett Rudley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08staging: brcm80211: bug fix- dual band problemnohee ko1-19/+89
Bug fix for dual band problem. In particular it had an issue to connect to 5G band AP. Signed-off-by: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: speakup: serialio: Fixed errors in fileTracey Dent1-2/+2
On line 40 printk() needed an KERN_* facility level, so I gave it INFO. Also, fixed a C99 comment error. Signed-off-by: Tracey Dent <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08staging: brcm80211: Coalesce osl_dma_alloc_consistent between fullmac and ↵Brett Rudley2-23/+14
softmac Combine dma_alloc routine for full and softmac Signed-off-by: Brett Rudley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08staging: brcm80211: Purge unused memlist debuggingBrett Rudley1-9/+0
Purge unused memlist debugging Signed-off-by: Brett Rudley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove BCMATTACHFN macroGreg Kroah-Hartman20-164/+145
It's not doing anything and is a bit silly. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove BCMATTACHDATA macroGreg Kroah-Hartman2-124/+124
It's not even used for anything, not to mention, it is pretty silly. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: brcmfmac: fix some comparison warningsGreg Kroah-Hartman2-7/+7
Use min_t() instead of min() in some places to make the comparison explicit and resolve some compiler warnings. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: sys: fix some comparison warningsGreg Kroah-Hartman2-2/+2
Use min_t() instead of min() in some places to make the comparison explicit and resolve some compiler warnings. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: sys: wlc_ampdu: fix some comparison warningsGreg Kroah-Hartman1-5/+5
Use min_t() instead of min() in some places to make the comparison explicit and resolve some compiler warnings. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: phy: wlc_phy_n: fix some comparison warningsGreg Kroah-Hartman1-7/+7
Use min_t() instead of min() in some places to make the comparison explicit and resolve some compiler warnings. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]
2010-10-08Staging: brcm80211: hnddma.c: fix compiler warningGreg Kroah-Hartman1-2/+2
Change the field types of dma_info_t to make comparing values easier (and correct.) No need to keep rxbufsize as a u16, it can be an unsigned int to make things easier. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove VALID_MASK macroGreg Kroah-Hartman1-1/+0
No one is using it. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove ROUNDUP macroGreg Kroah-Hartman10-31/+30
And use the kernel provided 'roundup' instead. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove ISALIGNED macroGreg Kroah-Hartman8-19/+18
And use the kernel provided IS_ALIGNED one instead. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove unused ALIGN_ADDR() macroGreg Kroah-Hartman1-2/+0
It's not used (and there's a kernel provided one if it's ever needed in the future), so remove it. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove ARRAYSIZE macroGreg Kroah-Hartman11-88/+85
Use the real 'ARRAY_SIZE' definition instead. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove OFFSETOF macroGreg Kroah-Hartman17-63/+60
Use the real 'offsetof' definition instead. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove broken MAX() implementationGreg Kroah-Hartman6-22/+18
Use the kernel-provided version, this one is broken. Note, there are more compiler warnings now, that's due to different types being compared, which shows how the original macro was wrong in at least one way. They need to be fixed up. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove broken MIN() implementationGreg Kroah-Hartman15-81/+76
Use the kernel-provided version, this one is broken. Note, there are more compiler warnings now, that's due to different types being compared, which shows how the original macro was wrong in at least one way. They need to be fixed up. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: util: remove unneeded usage of uintptrGreg Kroah-Hartman4-20/+18
Double casting is pretty pointless, don't do that. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: remove unused typedefs in typedefs.hGreg Kroah-Hartman1-21/+1
uint is already defined somewhere else, so just remove this version of it. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: s/int32/s32/Greg Kroah-Hartman29-631/+624
Use the kernel types, don't invent your own. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: brcm80211: s/uint32/u32/Greg Kroah-Hartman95-2304/+2299
Use the kernel types, don't invent your own. Cc: Brett Rudley <[email protected]> Cc: Henry Ptasinski <[email protected]> Cc: Nohee Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: bcm: silence off by one warningDan Carpenter2-4/+2
"status" is used as an index into the Adapter->PackInfo[] array, which has NO_OF_QUEUES elements. This code actually works OK. The SearchSfid() function always returns a valid index or it returns NO_OF_QUEUES + 1. But it looks sloppy and it makes the static checkers complain. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: bcm: remove unneeded NULL checkDan Carpenter1-5/+0
The error handling here is wrong. If psIntfAdapter were NULL then we would have a NULL dereference in the debug output on the error path. But this function is only called from usbbcm_device_probe() when psIntfAdapter is non-NULL. Since the check isn't needed and I removed it instead of fixing it. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: bcm: return -EFAULT on copy_to_user() errorsDan Carpenter1-1/+2
bcm/InterfaceDld.c had a couple places which returned the number of bytes remaining instead of -EFAULT. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: bcm: dereferencing before checkingDan Carpenter1-6/+5
I moved the check to see if "Adapter" was null in front of the dereference. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: bcm: mocro expansion bugDan Carpenter1-1/+1
The WIMAX_MAX_MTU macro is used in drivers/staging/bcm/CmHost.c like this: if (Adapter->PackInfo[uiSearchRuleIndex].uiMaxBucketSize < WIMAX_MAX_MTU * 8) The multiplication by eight has precedence over the addition so the macro needs parenthesis to work. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: bcm: make major and minor signedDan Carpenter1-2/+2
We assume that major is signed in register_control_device_interface(). Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: bcm: return -EFAULT on copy_to_user() failuresDan Carpenter1-24/+44
There were a number of places in the bcm_char_ioctl() which returned the number of bytes remaining to be copied instead of returning -EFAULT. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: speakup: devsynth: file_operations should be constTracey Dent1-1/+1
Fixed file_operation struct, so that it is const. Signed-off-by: Tracey Dent <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: speakup: keyhelp: Coding style fixTracey Dent1-5/+5
Put { on previous line, on line 34. Checkpatch.pl caught this. Signed-off-by: Tracey Dent <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: speakup: Makefile: Makefile clean upTracey Dent1-1/+1
Replaced <modules>-objs with <modules>-y in Makefile. Signed-off-by: Tracey Dent <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: batman-adv: Makefile: replace the use of <module>-objs with <module>-yTracey Dent1-1/+1
Changed <module>-objs to <module>-y n Makefile. Signed-off-by: Tracey Dent <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-08Staging: bcm: Makefile: replace the use of <module>-objs with <module>-yTracey Dent1-1/+1
Changed <module>-objs to <module>-y in Makefile. Signed-off-by: Tracey Dent <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>