Haiyang Zhang [Fri, 23 Jul 2010 21:24:42 +0000 (21:24 +0000)]
staging: hv: Fix Kconfig dependency of hv_blkvsc
LBDAF is not available nor necessary on 64BIT kernel. This patch
fixed the dependency for hv_blkvsc module on 64BIT kernel.
Thanks vrataj2 [vrataj2@comcast.net] for reporting this problem.
Reported-by: vrataj2 <vrataj2@comcast.net>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Matthias Brugger [Fri, 23 Jul 2010 20:28:56 +0000 (22:28 +0200)]
Staging: IIO: typo in Documentation/overview.txt
Signed-off-by: Matthias Brugger <mensch0815@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Edgardo Hames [Sat, 24 Jul 2010 15:50:15 +0000 (12:50 -0300)]
Staging: wlan-ng: fix style in cfg80211.c
Fixed several errors reported by checkpatch.
Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
H Hartley Sweeten [Fri, 23 Jul 2010 18:49:25 +0000 (11:49 -0700)]
Staging: dt3155: make local functions static
The functions adjust_4MB and allocate_buffers are only called locally in
dt3155_isr.c and should be static.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
H Hartley Sweeten [Fri, 23 Jul 2010 18:38:41 +0000 (11:38 -0700)]
Staging: dt3155: make module_{init/exit} functions static
The module_init() and module_exit() functions should be static and marked
with __init and __exit.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:34 +0000 (20:25 -0500)]
staging: tidspbridge: Remove unused macros
This patch removes a couple of macros that are not
being used
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:33 +0000 (20:25 -0500)]
staging: tidspbridge: Change macros to static inline functions
This patch changes preprocesing macros to static inline
funcions. Also the function is_equal_uuid (IS_EQUAL_UUID) now uses the
memcmp function.
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:32 +0000 (20:25 -0500)]
staging: tidspbridge: Remove macros used as cast
This patch removes those macros that are used to
perform casts
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:31 +0000 (20:25 -0500)]
staging: tidspbridge: Remove unused magic number
This patch removes an unused magic number from the cod_manager
structure.
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:30 +0000 (20:25 -0500)]
staging: tidspbridge: Remove redundant macro from cod.c
This patch removes a redundant macro from cod.c simply used
to verify that a field was not NULL
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:29 +0000 (20:25 -0500)]
staging: tidspbridge: Change macros to static inline functions used in cload
This patch changes the macros to static inline function used
in cload as well adds two definition of const to avoid using magic
numbers
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:28 +0000 (20:25 -0500)]
staging: tidspbridge: Change macros to static inline functions in io_sm
This patch change to macros to static inline functions, these
macros are used to perform write/read operations in shared memory
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:27 +0000 (20:25 -0500)]
staging: tidspbridge: Remove redundant macros in io_sm.c
This patch removes 4 redundant macros used to perform
read/write operations in shared memory region from io_sm.c.
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Armando Uribe [Fri, 23 Jul 2010 01:25:26 +0000 (20:25 -0500)]
staging: tidspbridge: Remove Redundant wrappers
This patch removes redundant wrappers from io_sm.c file
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman [Thu, 22 Jul 2010 22:14:04 +0000 (15:14 -0700)]
Staging: hv: remove DPRINT_EXIT macro
No need for it, use the built-in kernel function tracing instead
if you really need something like this.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman [Thu, 22 Jul 2010 22:00:18 +0000 (15:00 -0700)]
Staging: hv: remove DPRINT_ENTER macro
We have ftrace to look at function traces if its really
needed. Don't roll custom macros for this.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Randy Dunlap [Tue, 20 Jul 2010 00:23:10 +0000 (17:23 -0700)]
Staging: dt3155: don't use default init_module/cleanup_module function names
Fromy: Randy Dunlap <randy.dunlap@oracle.com>
Fix the dt3155 driver to use module_init()/module_exit() instead of
default init_module() and cleanup_module() function names.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Scott Smedley <ss@aao.gov.au>
Cc: Marek Lindner <lindner_marek@yahoo.de>
Cc: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Javier Martinez Canillas [Tue, 20 Jul 2010 04:56:54 +0000 (00:56 -0400)]
Staging: wlags49_h2: remove unused function prototype
With today linux-next I got a compile error in staging/wlags49_h2 driver
due an unused function prototype that use a data type (event_callback_args_t)
that doesn't exist anymore in the pcmcia code.
Current patch solves the issue removing the function prototype.
Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Joe Perches [Mon, 12 Jul 2010 20:50:10 +0000 (13:50 -0700)]
Staging: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Uwe Kleine-König [Mon, 12 Jul 2010 15:15:46 +0000 (17:15 +0200)]
Staging: fix typos concerning "address"
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Menon, Nishanth [Thu, 22 Jul 2010 21:03:50 +0000 (16:03 -0500)]
staging: tidspbridge: remove dbdefs.h
Remove yet another custom definition header
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Menon, Nishanth [Thu, 22 Jul 2010 21:03:49 +0000 (16:03 -0500)]
staging: tidspbridge: remove OUT define
Remove OUT modifier which makes no sense for linux kernel
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Menon, Nishanth [Thu, 22 Jul 2010 21:03:48 +0000 (16:03 -0500)]
staging: tidspbridge: remove OPTIONAL
OPTIONAL modifier makes no sense in linux kernel
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Menon, Nishanth [Thu, 22 Jul 2010 21:03:47 +0000 (16:03 -0500)]
staging: tidspbridge: remove IN modifier
IN modifier does not exist. remove it
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Menon, Nishanth [Thu, 22 Jul 2010 21:03:46 +0000 (16:03 -0500)]
staging: tidspbridge: replace CONST with c standard const
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Menon, Nishanth [Thu, 22 Jul 2010 21:03:45 +0000 (16:03 -0500)]
staging: tidspbridge: remove GlobalTypes.h
Remove custom globaltypes.h header
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Joe Eloff [Thu, 22 Jul 2010 20:00:47 +0000 (22:00 +0200)]
Staging: dt3155: Fixed all printk warnings found by checkpatch.pl
Added all KERN_ levels in printk found by checkpatch.pl
Signed-off-by: Joe Eloff <kagen101@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Joe Eloff [Thu, 22 Jul 2010 19:59:10 +0000 (21:59 +0200)]
Staging: dt3155: Change include to linux header
Changed <asm/uaccess.h> to <linux/uaccess.h>
Signed-off-by: Joe Eloff <kagen101@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andy Shevchenko [Thu, 22 Jul 2010 16:57:11 +0000 (19:57 +0300)]
staging: wlan-ng: remove own bin2hex converter
In kernel we have hex_asc_hi and hex_asc_lo macroses to do the job.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andy Shevchenko [Thu, 22 Jul 2010 16:57:10 +0000 (19:57 +0300)]
staging: wlags49_h2: remove custom hex_to_bin() method
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andy Shevchenko [Thu, 22 Jul 2010 16:57:07 +0000 (19:57 +0300)]
staging: otus: remove unused methods
This is rebased version of the patch [1] which was mysteriously not
pushed anywhere but acked.
Here are two methods to convert hex value to binary format. These
certain methods aren't used anywhere in kernel.
[1] http://lkml.org/lkml/2010/2/18/267
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Edgardo Hames [Thu, 22 Jul 2010 01:31:56 +0000 (22:31 -0300)]
Staging: wlan-ng: removed typedef from prism2fw.c
Removed multiple typedef and fixed long lines.
Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Edgardo Hames [Thu, 22 Jul 2010 01:31:55 +0000 (22:31 -0300)]
Staging: wlan-ng: fix style in p80211netdev.c
Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Neil Munro [Sun, 18 Jul 2010 22:09:37 +0000 (23:09 +0100)]
Staging: RT2860: Cleaned all bar one in chlist.h
I have cleaned all errors and all bar one warning in chlist.h. The
remaining warning is a line over 80 characters warning. Breaking it
doesnt look all that easy.
Signed-off-by: Neil Munro <neilmunro@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Kulikov Vasiliy [Fri, 16 Jul 2010 16:13:51 +0000 (20:13 +0400)]
staging: hv: check kzalloc() result
If kzalloc() fails free allocated resources and exit.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Wu Zhangjin [Sat, 17 Jul 2010 19:16:28 +0000 (03:16 +0800)]
staging: sm7xx: Fixup of the section mismatch
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ossama Othman [Mon, 19 Jul 2010 08:32:39 +0000 (09:32 +0100)]
memrar: Updated maintainer contact information
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ossama Othman [Mon, 19 Jul 2010 08:32:26 +0000 (09:32 +0100)]
memrar: Address kernel oops during resource cleanup
Some delayed initialization is performed in this driver. Make sure
resources that are used during driver clean-up (e.g. during driver's
release() function) are fully initialized before first use. This is
particularly important for the case when the delayed initialization
isn't completed, leaving behind a partially initialized driver.
Such a scenario can occur when RAR is not available on the platform,
and the driver is release()d.
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Sven Eckelmann [Tue, 20 Jul 2010 22:25:22 +0000 (00:25 +0200)]
Staging: batman-adv: Update TODO with new points from review
David S. Miller provided some new ideas and found problems in his review
20100719.212625.
255369607.davem@davemloft.net. These issues must be
resolved before it can be merged into net.
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Randy Dunlap [Tue, 20 Jul 2010 22:25:21 +0000 (00:25 +0200)]
Staging: batman-adv: don't use default init_module/cleanup_module function names
Fix two staging drivers to use module_init()/module_exit()
instead of default init_module() and cleanup_module() function names
so that there are no name conflicts when both are built-in.
drivers/staging/dt3155/built-in.o: In function `cleanup_module':
(.text+0xc0): multiple definition of `cleanup_module'
drivers/staging/batman-adv/built-in.o:(.text+0x330): first defined here
drivers/staging/dt3155/built-in.o: In function `init_module':
(.text+0xe60): multiple definition of `init_module'
drivers/staging/batman-adv/built-in.o:(.text+0x400): first defined here
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
[sven.eckelmann@gmx.de: Mark module init and exit functions as static]
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Sven Eckelmann [Tue, 20 Jul 2010 22:25:20 +0000 (00:25 +0200)]
Staging: batman-adv: Don't increment stats of foreign device
The receive hook for batman-adv ethernet frames tried to get the last
device which processed the skb before us. It only used that information
to update the rx_bytes and rx_packets stat of that foreign device which
already has updated it using its own receive functions.
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Shubhrajyoti D [Sat, 17 Jul 2010 13:02:52 +0000 (18:32 +0530)]
Staging: iio: add digital compass hmc5843 driver
Adding support for the Honeywell HMC5843. The interface to the device is
i2c
TODO:
Adding the documentation
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Kulikov Vasiliy [Wed, 14 Jul 2010 18:05:17 +0000 (22:05 +0400)]
staging: comedi: formatting of pointers in printk()
Use %p instead of %08x in printk().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Kulikov Vasiliy [Wed, 14 Jul 2010 18:05:58 +0000 (22:05 +0400)]
staging: msm: formatting of pointers in printk()
Use %p instead of %08x in printk().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: David Brown <davidb@codeaurora.org>
Acked-by: Daniel Walker <dwalker@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Pavan Savoy [Thu, 22 Jul 2010 10:32:07 +0000 (05:32 -0500)]
Staging: ti-st: give proto drivers context
protocol drivers such as BT, FM and GPS when registering
to ST now provide their own private data which they expect
when their functions namely registration completed & receive
are called.
Also upon tty_close, set protos_registered count to 0, although
all protocols are marked un-registered.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Pavan Savoy [Thu, 22 Jul 2010 10:32:06 +0000 (05:32 -0500)]
Staging: ti-st: cleanup code comments
cleanup the code commenting in the headers/structures,
also cleanup few inline commenting in the function
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Pavan Savoy [Thu, 22 Jul 2010 10:32:05 +0000 (05:32 -0500)]
Staging: ti-st: smarten, reduce logs
Replace looping on the data buffers and printk-ing by
print_hex_dump.
Also replace most of the pr_info by pr_debug to reduce logging at
default loglevels (7 in our case..)
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Pavan Savoy [Wed, 14 Jul 2010 13:21:12 +0000 (08:21 -0500)]
Staging: ti-st: make use of linux err codes
remove custom error code definitions from the header and
make use of the agreed upon linux error codes.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andy Shevchenko [Thu, 22 Jul 2010 16:57:09 +0000 (19:57 +0300)]
staging: rtl8192su: don't use own isxdigit() method
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:04:58 +0000 (19:04 +0200)]
staging: rtl8192su: added ioctl[SIOCSIWPMKSA] implementation
errors like:
ioctl[SIOCSIWPMKSA]: Invalid argument
should now be gone.
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:04:46 +0000 (19:04 +0200)]
staging: rtl8192su: merge changes in rtl819x_HTProc.c; still incomplete
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:04:36 +0000 (19:04 +0200)]
staging: rtl8192su: merge changes into ieee80211_rx_ADDBARsp()
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:04:24 +0000 (19:04 +0200)]
staging: rtl8192su: merge updated ieee80211_crypto_ops()
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:04:10 +0000 (19:04 +0200)]
staging: rtl8192su: merge changes in ieee80211_tkip_data()
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:04:00 +0000 (19:04 +0200)]
staging: rtl8192su: merge changes in ieee80211_authentication_req()
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:03:49 +0000 (19:03 +0200)]
staging: rtl8192su: cleanup in ieee80211_softmac.c
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:03:38 +0000 (19:03 +0200)]
staging: rtl819su: merge changes in softmac_ps_mgmt_xmit()
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:03:27 +0000 (19:03 +0200)]
staging: rtl819su: update MgntQuery_MgntFrameTxRate()
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:03:15 +0000 (19:03 +0200)]
staging: rtl819su: update probe_rq_parse()
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:02:59 +0000 (19:02 +0200)]
staging: rtl819su: ieee80211_associate_procedure_wq() update
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Thu, 15 Jul 2010 17:02:31 +0000 (19:02 +0200)]
staging: rtl8192su: remove a section mismatch warning
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:47:53 +0000 (14:47 +0200)]
staging: rtl8192su: merge changes in r8192U_wx.c
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:47:40 +0000 (14:47 +0200)]
staging: rtl8192su: update TODO
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:47:27 +0000 (14:47 +0200)]
staging: rtl8192su: various updates
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:47:15 +0000 (14:47 +0200)]
staging: rtl819esu: cleanup; r8192S_Efuse.c, r8192S_Efuse.h
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:47:04 +0000 (14:47 +0200)]
staging: rtl8192su: updated r8192SU_HWImg.c, r8192SU_HWImg.h
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:46:48 +0000 (14:46 +0200)]
staging: rtl8192su: remove some unused code, cleanup
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:46:35 +0000 (14:46 +0200)]
staging: rtl8192su: more code cleanup
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:46:22 +0000 (14:46 +0200)]
staging: rtl8192su: code cleanup
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:46:09 +0000 (14:46 +0200)]
staging: rtl8192su: cleanup in ieee80211_tx.c, ieee80211_wx.c
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:45:57 +0000 (14:45 +0200)]
staging: rtl8192su: clean ieee80211_crypt.c
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:45:44 +0000 (14:45 +0200)]
staging: rtl8192su: clean dot11d.[c|h]
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:45:32 +0000 (14:45 +0200)]
staging: rtl8192su: some work on dm_check_edca_turbo()
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:45:17 +0000 (14:45 +0200)]
staging: rtl8192su: update r8192U.h
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:44:34 +0000 (14:44 +0200)]
staging: rtl8192su: r8192U.h, clean header
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:44:18 +0000 (14:44 +0200)]
staging: rtl8192su: r8192S_phy.c, remove unused code; 2nd part
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:44:00 +0000 (14:44 +0200)]
staging: rtl8192su: r8192S_phy.c, remove unused code
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:43:44 +0000 (14:43 +0200)]
staging: rtl819ssu: clean r8192S_hw.h
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:43:26 +0000 (14:43 +0200)]
staging: rtl8192su: update to r8192S_Efuse.c, r8192xU_cmdpkt.c
cosmetics, various updates to reflect realteks upstream changes.
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:43:08 +0000 (14:43 +0200)]
staging: rtl8192su: cosmetics in r8192S_Efuse.c
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:42:43 +0000 (14:42 +0200)]
staging: rtl8192su: update rtl819x_set_channel_map()
This function is now on par with the latest realtek drivers.
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Florian Schilhabel [Wed, 14 Jul 2010 12:42:25 +0000 (14:42 +0200)]
staging: rtl8192su: fix a compiler warning
fix for:
drivers/staging/rtl8192su/r8192U_core.c: In function ‘rtl8192SU_MacConfigAfterFwDownload’:
drivers/staging/rtl8192su/r8192U_core.c:4403:24: warning: comparison between ‘rtl819xUsb_loopback_e’ and ‘enum _RTL8192SUSB_LOOPBACK’
drivers/staging/rtl8192su/r8192U_core.c:4405:30: warning: comparison between ‘rtl819xUsb_loopback_e’ and ‘enum _RTL8192SUSB_LOOPBACK’
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Mark [Tue, 13 Jul 2010 16:24:17 +0000 (17:24 +0100)]
Staging: comedi: Cleanup style issues in adl_pci9111.c
This patch fixes some coding style issues in adl_pci9111.c from checkpatch.pl
Signed-off-by: Mark Rankilor <reodge@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 22:28:25 +0000 (19:28 -0300)]
staging: vt6656: code cleanup in device_netdev_ops' device_xmit()
Lindented, cleared checkpatch findings and simplified error handling.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 21:28:49 +0000 (18:28 -0300)]
staging: vt6656: replaced MAX_PACKET_LEN with ETH_FRAME_LEN
Replaced custom macro with one from include/linux/if_ether.h.
Also removed MAX_LOOKAHEAD_SIZE as it is not used elsewhere.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 21:17:08 +0000 (18:17 -0300)]
staging: vt6656: replaced MIN_PACKET_LEN with ETH_ZLEN
Removed custom macro with one from include/linux/if_ether.h.
Also removed MIN_DATA_LEN as it is not used elsewhere.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 19:45:58 +0000 (16:45 -0300)]
staging: vt6656: replaced MAX_DATA_LEN with ETH_DATA_LEN
Removed custom macro with one from include/linux/if_ether.h.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 19:28:32 +0000 (16:28 -0300)]
staging: vt6656: replaced U_CRC_LEN with ETH_FCS_LEN
Removed custom macro with one from include/linux/if_ether.h.
FCS is an Ethernet field that holds the CRC value.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 17:24:48 +0000 (14:24 -0300)]
staging: vt6656: removed Calcu_LinkQual definition
Removed an always defined macro, perhaps used to patch the driver
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 17:11:27 +0000 (14:11 -0300)]
staging: vt6656: removed WPA_SM_Transtatus definition
Removed an always defined macro, perhaps used to patch the driver
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 17:03:02 +0000 (14:03 -0300)]
staging: vt6656: removed update_BssList definition
Removed an always defined macro, perhaps used to patch the driver
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 16:55:43 +0000 (13:55 -0300)]
staging: vt6656: removed Adhoc_STA definition
Removed an always defined macro, perhaps used to patch the driver
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 16:47:47 +0000 (13:47 -0300)]
staging: vt6656: removed Safe_Close definition
Removed an always defined macro, perhaps used to patch the driver
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 16:10:27 +0000 (13:10 -0300)]
staging: vt6656: code cleanup in vt6656 DMA TX
Lindented, removed unused variables and cleared checkpatch warnings.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 15:40:01 +0000 (12:40 -0300)]
staging: vt6656: code cleanup in vt6656_probe()
Lindented, cleared checkpatch warnings and removed legacy comments.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andres More [Mon, 12 Jul 2010 15:12:25 +0000 (12:12 -0300)]
staging: vt6656: removed '#if 1'/'#if 0' definitions
Removed code guarded by always false definitions.
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jonathan Cameron [Sun, 11 Jul 2010 15:39:19 +0000 (16:39 +0100)]
staging: iio: lis3l02dq: use iio_sw_ring_helper_state and funcs
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jonathan Cameron [Sun, 11 Jul 2010 15:39:18 +0000 (16:39 +0100)]
staging: iio: Add iio_sw_ring_helper_state and functions to cover common case.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jonathan Cameron [Sun, 11 Jul 2010 15:39:17 +0000 (16:39 +0100)]
staging: iio: Make extensive use of iio_sw_ring_preenable
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Barry Song [Sun, 11 Jul 2010 15:39:16 +0000 (16:39 +0100)]
staging: iio: Add a bits per element element to ring_generic allowing a general ring_sw_preenable_function.
Signed-off-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>