Need business leads?

2015-06-14 Thread Donald
Hope you are doing well! Our email marketing can generate tons of new customers for your business. We would like to be your marketing partners and help your business reach the new level. We can increase your business sales 2-4 times than now. Please contact us if you would require more

[PATCH 1/2] staging: rtl8188eu: don't define issue_asocrsp() in non-AP mode

2015-06-14 Thread Luca Ceresoli
If CONFIG_88EU_AP_MODE is undefined, issue_asocrsp() is never referenced. Fixes warning: drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:891:13: warning: ‘issue_asocrsp’ defined but not used [-Wunused-function] Signed-off-by: Luca Ceresoli l...@lucaceresoli.net Fixes: 782eddd748d9 (staging:

[PATCH 2/2] staging: rtl8188eu: don't define OnAuth() in non-AP mode

2015-06-14 Thread Luca Ceresoli
If CONFIG_88EU_AP_MODE is undefined, OnAuth() is never referenced. Fixes warning: drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2725:21: warning: ‘OnAuth’ defined but not used [-Wunused-function] Signed-off-by: Luca Ceresoli l...@lucaceresoli.net Fixes: 68345dd7bc26 (staging: rtl8188eu:

[PATCH 7/7] Staging: rts5208: helper function to manage delink states

2015-06-14 Thread Fabio Falzoi
Use a helper function to manage delink states Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com --- drivers/staging/rts5208/rtsx_chip.c | 141 ++-- 1 file changed, 72 insertions(+), 69 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_chip.c

[PATCH 6/7] Staging: rts5208: helper function to manage 1lun and 2lun modes

2015-06-14 Thread Fabio Falzoi
Use a helper function to manage lun modes when SUPPORT_OCP is defined Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com --- drivers/staging/rts5208/rtsx_chip.c | 97 - 1 file changed, 53 insertions(+), 44 deletions(-) diff --git

[PATCH 3/7] Staging: rts5208: helper function to manage ss

2015-06-14 Thread Fabio Falzoi
Use a helper function to manage ss_counter Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com --- drivers/staging/rts5208/rtsx_chip.c | 66 ++--- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_chip.c

[PATCH 2/7] Staging: rts5208: helper function to manage power off

2015-06-14 Thread Fabio Falzoi
Use a helper function to check if power off is needed. Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com --- drivers/staging/rts5208/rtsx_chip.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_chip.c

[PATCH 1/7] Staging: rts5208: helper function to manage sd erase status

2015-06-14 Thread Fabio Falzoi
Use a helper function to manage SD erase status when SUPPORT_SD_LOCK is defined Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com --- drivers/staging/rts5208/rtsx_chip.c | 38 - 1 file changed, 21 insertions(+), 17 deletions(-) diff --git

[PATCH 4/7] Staging: rts5208: helper function to manage aspm

2015-06-14 Thread Fabio Falzoi
Use a helper function to manage aspm mode Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com --- drivers/staging/rts5208/rtsx_chip.c | 51 ++--- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_chip.c

[PATCH 5/7] Staging: rts5208: helper function to manage idle

2015-06-14 Thread Fabio Falzoi
Use a helper function to manage idle state Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com --- drivers/staging/rts5208/rtsx_chip.c | 45 - 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_chip.c

[PATCH 0/7] Staging: rts5208: rtsx_polling_func function clean up

2015-06-14 Thread Fabio Falzoi
rtsx_polling_func is a big function that manage a lot of independent tasks. This patch aims to refactor the code using a series of helper functions, to make it more readable. Plus, the following checkpatch warning is corrected: * PARENTHESIS_ALIGNMENT at row 1246 Fabio Falzoi (7): Staging:

Re: [PATCH] staging: comedi: replace ENOSYS by proper error codes

2015-06-14 Thread Ian Abbott
On 12/06/15 21:20, julien.de...@gmail.com wrote: From: Julien Dehee julien.de...@gmail.com comedi/comedi_fops.c use ENODEV following open manual comedi/drivers.c use ENOTTY following ioctl manual drivers/serial2002.c use ENOTTY following ioctl manual Signed-off-by: Julien

[PATCH] android/ion: fixing one coding style problem.

2015-06-14 Thread Tan Nguyen
Added one line after variable declaration. Signed-off-by: Tan Nguyen tan@gmail.com --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 6f48112..e44f5e6 100644 ---

Re: [BUG ?] staging: rtl8723au: condition with no effect

2015-06-14 Thread Nicholas Mc Guire
On Sat, 13 Jun 2015, Jes Sorensen wrote: Nicholas Mc Guire hof...@osadl.org writes: scanning for trivial bug-patters with coccinelle spatches returned: ./drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:1395 WARNING: condition with no effect (if branch == else)

Re: [BUG ?] staging: rtl8723au: condition with no effect

2015-06-14 Thread Jes Sorensen
Nicholas Mc Guire der.h...@hofr.at writes: On Sat, 13 Jun 2015, Jes Sorensen wrote: Nicholas Mc Guire hof...@osadl.org writes: scanning for trivial bug-patters with coccinelle spatches returned: ./drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:1395 WARNING: condition with no effect

Re: [PATCH] android/ion: fixing one coding style problem.

2015-06-14 Thread Greg KH
On Sun, Jun 14, 2015 at 02:53:21PM +0700, Tan Nguyen wrote: Added one line after variable declaration. Signed-off-by: Tan Nguyen tan@gmail.com --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion.c

Re: [PATCH] Staging: sm750fb: fix checkpatch.pl indentation warnings

2015-06-14 Thread Markus Böhme
This patch fixes indentation issues by replacing spaces by tabs at the start of line Signed-off-by: Niranjan Dighe ndi...@visteon.com diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index b2bf7e6..c73b74a 100644 ---

[PATCH 2/2] staging: rtl8723au: include/rtl8723a_hal.h: use __leXX types in fw header struct

2015-06-14 Thread Daniele Alessandrelli
This patch makes field in struct rt_8723a_firmware_hdr use endianness-aware types (__leXX), thus fixing the following sparse warnings: CHECK drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:263:37: warning: cast to restricted __le16

[PATCH 1/2] staging: rtl8723au: include/rtl8723a_hal.h: fix Rsvd1 size in fw header struct

2015-06-14 Thread Daniele Alessandrelli
The size of field Rsvd1 in struct rt_8723a_firmware_hdr should be u8 otherwise we exceeds the boundaries of LONG WORD 0. This patch fixes the issue. Signed-off-by: Daniele Alessandrelli daniele.alessandre...@gmail.com --- drivers/staging/rtl8723au/include/rtl8723a_hal.h | 2 +- 1 file changed, 1

[PATCH 0/2] staging: rtl8723au: include/rtl8723a_hal.h: fix firmware header struct

2015-06-14 Thread Daniele Alessandrelli
Apparently, there is some error in struct rt_8723a_firmware_hdr. Indeed, according to the comments in the code, the first 6 fields should be confined in the first 8 bytes, but they actually occupy 9 bytes. Moreover, the total size of the struct is 33 bytes, while function

[PATCH] Staging: sm750fb: Fix checkpatch.pl warnings

2015-06-14 Thread Dighe, Niranjan (N.)
From: Niranjan Dighe ndi...@visteon.com This patch removes spaces at the start of the line and replaces it by tabs Signed-off-by: Niranjan Dighe ndi...@visteon.com diff --git a/drivers/staging/sm750fb/ddk750_dvi.h b/drivers/staging/sm750fb/ddk750_dvi.h index 50bcec2..cbd87c1 100644 ---

[PATCH] Staging: sm750fb: fix checkpatch.pl indentation warnings

2015-06-14 Thread Dighe, Niranjan (N.)
From: Niranjan Dighe ndi...@visteon.com This patch fixes indentation issues by replacing spaces by tabs at the start of line Signed-off-by: Niranjan Dighe ndi...@visteon.com diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index b2bf7e6..c73b74a 100644

Re: [PATCH] staging: wilc1000: remove warnings reported by checkpatch.pl.

2015-06-14 Thread Dean . lee
On 2015년 06월 12일 23:34, Greg KH wrote: On Fri, Jun 12, 2015 at 06:51:56PM +0900, Dean Lee wrote: Remove the following warnings in the wilc_log.h: - unnecessary whitespace before a quoted newline - line over 80 characters - single statement macros should not use a do {} while (0) loop. Those

Re: [PATCH] staging: wilc1000: change WILC_Char to s8

2015-06-14 Thread Dean . lee
On 2015년 06월 13일 00:28, Greg KH wrote: On Fri, Jun 12, 2015 at 02:39:08PM +0900, Dean Lee wrote: change own data type(WILC_Char) to common data type(s8) Why not just 'char'? And you are using these in strings, so why not u8? thanks, greg k-h i research some documents for change to common

[PATCH] staging: rtl8192u: ieee80211: Fix incorrect type in assignment

2015-06-14 Thread Gaston Gonzalez
Added le16_to_cpu() conversion fixing the following warning in assignment detected by sparse: drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2157:30: warning: invalid assignment: += drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2157:30:left side has type unsigned long

[PATCH 11/16] staging: rtl8192e: Remove WIRELESS_EXT checks

2015-06-14 Thread Mateusz Kulikowski
Current WIRELESS_EXT version is at least 22. Resolve ifdefs and delete dead code. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 12 1 file changed, 12 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH 14/16] staging: rtl8192e: Remove unused rtllib_device members

2015-06-14 Thread Mateusz Kulikowski
Delete several members of rtllib_device including their initializers if needed. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 6 -- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 1 - drivers/staging/rtl8192e/rtllib.h

Re: [PATCH] staging: wilc1000: update TODO list

2015-06-14 Thread Dean . lee
On 2015년 06월 12일 20:07, Sudip Mukherjee wrote: On Fri, Jun 12, 2015 at 07:23:11PM +0900, Dean Lee wrote: remove complete OS wrapper functions. just a minor thing. It will be easy if you send your patches in series instead of separate patches. your patch remove oswrapper type file is

Re: [PATCH v3] staging: wilc1000: remove oswrapper type file

2015-06-14 Thread Dean . lee
On 2015년 06월 13일 00:26, Greg KH wrote: On Fri, Jun 12, 2015 at 07:21:11PM +0900, Dean Lee wrote: remove OS Wrapper function(wilc_oswrapper.h) is in our plan. i removed OS Wrapper function and it's done. and i found wilc_type.h file is does not used it. so i deleted them and modify #include

[PATCH 07/16] staging: rtl8192e: Remove dequeue_mgmt() and rtllib_resume_tx()

2015-06-14 Thread Mateusz Kulikowski
Both functions are never used. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_softmac.c | 39 --- 1 file changed, 39 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c

[PATCH 03/16] staging: rtl8192e: Remove rt_hi_throughput::ChnkOp

2015-06-14 Thread Mateusz Kulikowski
Field was initialized and never used. This patch also removes chnl_op enum that was only referenced by ChnkOp init code. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_HT.h | 8 drivers/staging/rtl8192e/rtl819x_HTProc.c | 1 - 2

[PATCH 02/16] staging: rtl8192e: Remove unused code in rtllib.h

2015-06-14 Thread Mateusz Kulikowski
Delete macros, structure members and declarations etc. that are not referenced anywhere in code. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 448 -- 1 file changed, 448 deletions(-) diff --git

[PATCH 04/16] staging: rtl8192e: Remove ENABLE_LOCK_DEBUG reference

2015-06-14 Thread Mateusz Kulikowski
ENABLE_LOCK_DEBUG macro was never set, so condition that used it can be resolved manually. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH 13/16] staging: rtl8192e: Remove rt_pwr_save_ctrl members

2015-06-14 Thread Mateusz Kulikowski
Following members were removed: - tmpJoinAction - tmpSuppRateBuf - bTmpIbpm As a consequence several unused defines/enums/structs were also removed from rtllib.h Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 36

[PATCH 10/16] staging: rtl8192e: Remove rtllib_device::get_nic_desc_num()

2015-06-14 Thread Mateusz Kulikowski
This function/callback was initialized and never called. rtl8192_get_nic_desc_num() function that was default implementation was also removed. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 17 -

[PATCH 12/16] staging: rtl8192e: Remove rtllib_network::last_associate

2015-06-14 Thread Mateusz Kulikowski
Variable was initialized and never used. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 - drivers/staging/rtl8192e/rtllib_rx.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH 06/16] staging: rtl8192e: Remove rtllib_wake_queue()

2015-06-14 Thread Mateusz Kulikowski
This function was declared but never unused. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 1 - drivers/staging/rtl8192e/rtllib_softmac.c | 41 --- 2 files changed, 42 deletions(-) diff --git

[PATCH 08/16] staging: rtl8192e: Remove rtllib_is_shortslot()

2015-06-14 Thread Mateusz Kulikowski
This function was declared but never unused. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 1 - drivers/staging/rtl8192e/rtllib_softmac.c | 5 - 2 files changed, 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH 05/16] staging: rtl8192e: Remove rtllib_stop_queue()

2015-06-14 Thread Mateusz Kulikowski
This function was declared but never unused. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 1 - drivers/staging/rtl8192e/rtllib_softmac.c | 12 2 files changed, 13 deletions(-) diff --git

[PATCH 09/16] staging: rtl8192e: Remove rtllib_wx_get_encode_ext()

2015-06-14 Thread Mateusz Kulikowski
This function was declared but never unused. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 3 -- drivers/staging/rtl8192e/rtllib_wx.c | 57 2 files changed, 60 deletions(-) diff --git

[PATCH 01/16] staging: rtl8192e: Remove unused code in rtl819x_HT.h

2015-06-14 Thread Mateusz Kulikowski
Delete unused enums, structures and macros. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_HT.h | 128 -- 1 file changed, 128 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h

[PATCH 00/16] staging: rtl8192e: Remove unused code

2015-06-14 Thread Mateusz Kulikowski
Another cleanup series. Most patches are pretty simple (fragmented a bit to make review easier). Series should apply cleanly into staging-next (5c1043984) and staging-testing (f996bd10). Target tested (802.11N/2.4G/WPA2 network, DHCP, 1MB download, ping). Mateusz Kulikowski (16): staging:

[PATCH 15/16] staging: rtl8192e: Remove softmac_hint11d_wq queue

2015-06-14 Thread Mateusz Kulikowski
This queue is never used, and function handler is empty Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 1 - drivers/staging/rtl8192e/rtllib_softmac.c | 6 -- 2 files changed, 7 deletions(-) diff --git

[PATCH 16/16] staging: rtl8192e: Remove rtllib_device::agregation

2015-06-14 Thread Mateusz Kulikowski
Variable is always true; Resolve condition where it is used (and change indentation of conditional expression). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h | 1 - drivers/staging/rtl8192e/rtllib_rx.c | 52

Re: doubt about sm7xxfb (was: Re: [PATCH v4 0/7] staging: fsl-mc: New functionality to the MC bus driver)

2015-06-14 Thread Sudip Mukherjee
On Sat, Jun 13, 2015 at 09:57:05AM -0700, Joe Perches wrote: It seems ready to me. As far as I can tell, there's just a few niggles that could be done: Something like (too lazy to separate them into multiple patches) Thanks. I will break into patches. Call me lazy for not having it done

Re: [PATCH] Staging: sm750fb: Fix checkpatch.pl warnings

2015-06-14 Thread Sudip Mukherjee
On Sun, Jun 14, 2015 at 05:17:43PM +, Dighe, Niranjan (N.) wrote: From: Niranjan Dighe ndi...@visteon.com This patch removes spaces at the start of the line and replaces it by tabs You are also removing blank lines, adding blank lines, moving a ')' to next line. regards sudip

Re: [PATCH 2/2] staging: rtl8723au: include/rtl8723a_hal.h: use __leXX types in fw header struct

2015-06-14 Thread Sudip Mukherjee
On Sun, Jun 14, 2015 at 11:26:35PM +0200, Daniele Alessandrelli wrote: This patch makes field in struct rt_8723a_firmware_hdr use endianness-aware types (__leXX), thus fixing the following sparse warnings: snip Signed-off-by: Daniele Alessandrelli daniele.alessandre...@gmail.com ---

[PATCH v2] staging: wilc1000: change WILC_Char to char

2015-06-14 Thread Dean Lee
change own data type(WILC_Char) to common data type(char) Signed-off-by: Dean Lee dean@atmel.com --- Change v2: replace data type s8 - char --- drivers/staging/wilc1000/coreconfigurator.c | 24 +++ drivers/staging/wilc1000/coreconfigurator.h | 4 +-

Re: [PATCH] Staging: sm750fb: fix checkpatch.pl indentation warnings

2015-06-14 Thread Dighe, Niranjan (N.)
On Sun, Jun 14, 2015 at 08:45:02PM +0200, Markus Böhme wrote: This patch fixes indentation issues by replacing spaces by tabs at the start of line Signed-off-by: Niranjan Dighe ndi...@visteon.com diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c

Re: [PATCH] staging: wilc1000: change WILC_Char to s8

2015-06-14 Thread Greg KH
On Mon, Jun 15, 2015 at 09:47:04AM +0900, Dean.lee wrote: On 2015년 06월 13일 00:28, Greg KH wrote: On Fri, Jun 12, 2015 at 02:39:08PM +0900, Dean Lee wrote: change own data type(WILC_Char) to common data type(s8) Why not just 'char'? And you are using these in strings, so why not u8?