summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-16staging: cxt1e1: use '%pMF' format to print MAC addressAndy Shevchenko
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-16staging: vt6655: use '%pM' format to print MAC addressAndy Shevchenko
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-16staging: wlags49_h2: use '%pM' format to print MAC addressAndy Shevchenko
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-16staging: rt2860: change plain format of mac address to %pM in *printf()Andy Shevchenko
There are many locations where MAC or BSSID is printed. The plain format is used in such places. *printf() in kernel recognizes %pM, %pMF and %pm format parameters to print out 6-byte array as MAC address. This patch changes plain format to custom %pM which is widely used in kernel. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: west bridge: pnand hal fixesDavid Cross
This patch includes changing some defines, necessary for compilation with the linux-next tree. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: west bridge: cyasgadget, remove file system / vfs callsDavid Cross
This patch remove file system specific (fat_get_block) and vfs calls from the cyasgadget driver. The current implementation expects user space to write the file (open, seek to end, 1 byte write), followed by a call to clear the dirty pages from the the page cache. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14Staging: west bridge: block driver api fixDavid Cross
This patch contains an update for cyasblkdev_queue.c which is needed for the kernel update from 2.6.35 to 2.6.36. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14Staging: west bridge: Kconfig fixDavid Cross
This patch fixes the currently broken Kconfig for west bridge by introducing a dependency on a valid HAL Layer for the driver build. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14Staging: comedi: fix macro coding style issue in adl_pci9111.cMaurice Dawson
This is a patch that fixes up, macros with multiple statements should be enclosed in a do - while loop, coding style issue in the adl_pci9111.c file found by the checkpatch.pl tool Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14Staging: batman-adv: check kmalloc() return valueVasiliy Kulikov
kmalloc() may fail, if so drop current packet. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> [sven.eckelmann@gmx.de: Removed new introduced deadlock] Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14Staging: batman-adv: removing redundant assignment of skb->devMarek Lindner
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14Staging: batman-adv: Add rcu TODOSven Eckelmann
Paul E. McKenney informed us that rcu is misused by leaking pointers to rcu related elements outside read-side protected critical sections. He also recommended that it should be checked against the rcu checklist. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14Staging: batman-adv: Remove currently unused gw_* datastructuresSven Eckelmann
gw_list_lock, gw_list and curr_gw are currently unused members of struct bat_priv. They will be readded when gateway support is really implemented. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14Staging: batman-adv: Always synchronize rcu's on module shutdownLinus Lüssing
During the module shutdown procedure in batman_exit(), a rcu callback is being scheduled (batman_exit -> hardif_remove_interfaces -> hardif_remove_interfae -> call_rcu). However, when the kernel unloads the module, the rcu callback might not have been executed yet, resulting in a "unable to handle kernel paging request" in __rcu_process_callback afterwards, causing the kernel to freeze. The synchronize_net and synchronize_rcu in mesh_free are currently called before the call_rcu in hardif_remove_interface and have no real effect on it. Therefore, we should always flush all rcu callback functions scheduled during the shutdown procedure using synchronize_net. The call to synchronize_rcu can be omitted because synchronize_net already calls it. Signed-off-by: Linus Lüssing <linus.luessing@web.de> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: iio: sca3000 convert byte order of ring buffer dataManuel Stahl
Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: iio: sca3000 fix sca3000_[show,store]_ring_bpseManuel Stahl
Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: iio: ak8975: Add ak8975 magnetometer sensorAndrew Chew
This is for the Asahi Kasei AK8975 3-axis magnetometer. It resides within the magnetometer section of the IIO subsystem, and implements the raw magn_x,y,z_raw attributes, as well as magn_x,y,z_scale attributes for converting to Gauss. Changed to use the magn_x,y,z_scale attributes, and made those attributes give the scale factor to conert to Gauss. Also applied more fixes from feedback. Keeping mode as an unsigned long. I'm going to add proper power management at some point anyway, which would deprecate this attribute. Signed-off-by: Andrew Chew <achew@nvidia.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: iio: Change GAIN macros to SCALE.Andrew Chew
Per email exchange with Jonathan Cameron, GAIN should instead be SCALE, to be consistent with documentation. Resending, since this goes with the 2/2 patch. Signed-off-by: Andrew Chew <achew@nvidia.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: hv: Convert vmbus driver interface function pointer table to constantHaiyang Zhang
Convert vmbus driver interface function pointer table to constant The vmbus interface functions are assigned to a constant - vmbus_ops. Because the vmbus interface function pointer table is converted to a constant variable -- vmbus_ops, the function GetChannelInterface(), VmbusGetChannelInterface() and pointer GetChannelInterface are no longer in use. The deprecated function's work is done by the initialization of the newly added constant variable vmbus_ops. I created the new constant variable vmbus_ops and removed the deprecated function pointer GetChannelInterface in one patch. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix remaining checkpatch errors.Jason Cooper
Remaining errors are due to the use of typedefs. They should dissappear once the typedefs get cleaned up. Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: trailing whitespace."Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: spaces required around that ..."Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: spaces prohibited around that ':' ..."Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: space required before that ..."Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: space required after that ..."Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: space required after that close brace"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: space prohibited before ...close square bracket"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: space prohibited after that ..."Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: need consistent spacing around '*'"Jason Cooper
This patch fixes the real errors. The rest are caused by typedefs which will be fixed in a later patch. Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix 'ERROR: "(foo*)" should be "(foo *)"'Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: Macros w/ mult. statements ... do - while loop"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: Macros w/ complex values ... parenthesis"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: do not initialise statics to 0 or NULL"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: do not initialise globals to 0 or NULL"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: while should follow close brace '}'"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: that open brace { ... prev line"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: trailing statements should be on next line"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: do not use assignment in if condition"Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: return is not a function, paren..."Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix "ERROR: open brace '{' following function dec..."Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: fix 'ERROR: "foo * bar" should be "foo *bar"'Jason Cooper
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: Fix URLs for firmware files.Henry Ptasinski
Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: use '%pM' format to print MAC addressAndy Shevchenko
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Nohee Ko <noheek@broadcom.com> Cc: linux-wireless@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: Add contact info to TODO list.Henry Ptasinski
Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-14staging: brcm80211: Fix some initialisation failure pathsBen Hutchings
Initialise wl_info::tasklet early so that it's safe to tasklet_kill() it in wl_free(). Remove assertions from wl_free() that may not be true in case of initialisation failure. Call wl_release_fw() in case of failure after wl_request_fw(). Don't rely on wl_firmware::fw_cnt in wl_release_fw(). Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-09Staging: fix Makefile so broadcom driver will actually build.Greg Kroah-Hartman
It would be nice if people tested their patches before sending them to me... Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Brett Rudley <brudley@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-09Staging: Add initial release of brcm80211 - Broadcom 802.11n wireless LAN ↵Henry Ptasinski
driver. Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Cc: Brett Rudley <brudley@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-09Staging: vt6656: use ARRAY_SIZE macro in channel.cNikitas Angelinas
Replace (sizeof(ChannelRuleTab) / sizeof(ChannelRuleTab[0])) with ARRAY_SIZE(ChannelRuleTab) in drivers/staging/vt6656/channel.c Signed-off-by: Nikitas Angelinas <nikitasangelinas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-09Staging: comedi: fix space coding style issue in adl_pci9111.cMaurice Dawson
This is a patch to the adl_pci9111.c file that fixes up multiple please, no space for starting a line warnings, found by the checkpatch.pl tool Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-09staging: ath6kl: Eliminating the symlink to 2.0 header filesVipin Mehta
Moving the AR6002 hw 2.0 specific register definitions files from the hw.0 directory to a new directory, 'hw' within hw2.0. Signed-off-by: Vipin Mehta <vmehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>