Re: [PATCH] rtl8xxxu: Stop log spam from each successful interrupt

2016-09-18 Thread Jes Sorensen
Kalle Valo writes: > Jes Sorensen writes: > >> Joe Perches writes: >>> I think it'd be nicer to use dev_dbg for all these cases >>> and as well use some new macro that includes the test >>> >>> Something like: >>> >>&g

Re: [PATCH] rtl8xxxu: Stop log spam from each successful interrupt

2016-09-18 Thread Jes Sorensen
Larry Finger writes: > On 09/17/2016 03:59 PM, Jes Sorensen wrote: >> Larry Finger writes: >>> As soon as debugging is turned on, the logs are filled with messages >>> reporting the interrupt status. As this quantity is usually zero, this >>> output is not nee

Re: [PATCH] rtl8xxxu: Stop log spam from each successful interrupt

2016-09-17 Thread Jes Sorensen
Larry Finger writes: > As soon as debugging is turned on, the logs are filled with messages > reporting the interrupt status. As this quantity is usually zero, this > output is not needed. In fact, there will be a report if the status is > not zero, thus the debug line in question could probably b

Re: [PATCH] rtl8xxxu: Stop log spam from each successful interrupt

2016-09-17 Thread Jes Sorensen
Joe Perches writes: > On Sat, 2016-09-17 at 12:09 -0500, Larry Finger wrote: >> As soon as debugging is turned on, the logs are filled with messages >> reporting the interrupt status. As this quantity is usually zero, this >> output is not needed. In fact, there will be a report if the status is >

Re: [PATCH] staging: squash lines for simple wrapper functions

2016-09-12 Thread Jes Sorensen
Masahiro Yamada writes: > Remove unneeded variables and assignments. > > While we are here, clean up the following as well: > - refactor rtl8723a_get_bcn_valid() a bit > - remove unneeded casts in sii164Get{Vendor,Device}ID() > > Signed-off-by: Masahiro Yamada > --- > > drivers/staging/andro

Re: [Outreachy kernel] [PATCH] Staging: rtl8188eu: Remove ternary operator

2016-09-12 Thread Jes Sorensen
On 09/12/16 09:58, Bhumika Goyal wrote: > Relational and logical operators evaluate to either true or false. > Explicit conversion is not needed so remove the ternary operator. > Done using coccinelle: > > @r@ > expression A,B; > symbol true,false; > binary operator b = {==,!=,&&,||,>=,<=,>,<}; >

[PATCH - FYI - do not apply] staging: Remove rtl8723au driver

2016-09-10 Thread Jes . Sorensen
From: Jes Sorensen Hi, I sent Greg the full version of this patch, removing the old rtl8723au driver. I didn't want to spam the list with a 2M+ patch so this is the summary version. Cheers, Jes This driver is superseded by rtl8xxxu and has been marked as scheduled for deletion sinc

Re: [PATCH 0/5] Some cleanup patches for drivers/staging/rtl8723au/core/rtw_mlme.c

2016-09-06 Thread Jes Sorensen
Joe Perches writes: > On Tue, 2016-09-06 at 12:00 -0400, Jes Sorensen wrote: > >> Nothing wrong with these patches, however I intend to post a patch to >> remove this driver soon, so it's kind of a waste of your time to spend >> too many cycles on it. > > It

Re: [PATCH 0/5] Some cleanup patches for drivers/staging/rtl8723au/core/rtw_mlme.c

2016-09-06 Thread Jes Sorensen
Matthias Beyer writes: > This patchset fixes some errors and warnings reported by checkpatch.pl. > > Matthias Beyer (5): > drivers: staging: rtl8723au: core: Fix checkpatch.pl errors > drivers: staging: rtl8723au: core: simplify if-break-else > drivers: staging: rtl8723au: core: Refactor poi

Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-12 Thread Jes Sorensen
sunbing writes: > On Aug 11, 2016, at 23:25, Jes Sorensen wrote: > >> Bing Sun writes: >>> Fixed sparse parse error: >>> Expected constant expression in case statement. >>> >>> Signed-off-by: Bing Sun >>> --- >>> drivers/stagi

Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-11 Thread Jes Sorensen
Bing Sun writes: > Fixed sparse parse error: > Expected constant expression in case statement. > > Signed-off-by: Bing Sun > --- > drivers/staging/rtl8723au/os_dep/os_intfs.c | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/rtl8723au/os_dep/os_

Re: [PATCH] Staging: rtl8723au: rtw_xmit: fixed coding style issues

2016-08-02 Thread Jes Sorensen
Shiva Kerdel writes: > Fixed some coding style issues that were detected as errors. > > Signed-off-by: Shiva Kerdel You have already been told this once by Greg. Describe what you are fixing in the commit message, and don't fix more than one type of bug per commit. Jes > --- > drivers/staging

Re: [PATCH 0955/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Jes Sorensen
Baole Ni writes: > I find that the developers often just specified the numeric value > when calling a macro which is defined with a parameter for access permission. > As we know, these numeric value for access permission have had the > corresponding macro, > and that using macro can improve the ro

Re: [PATCH 2/3] staging/rtl8192e: use s8 instead of char

2016-07-22 Thread Jes Sorensen
Stefan Lippers-Hollmann writes: > Hi > > On 2016-07-20, Arnd Bergmann wrote: >> On Wednesday, July 20, 2016 11:33:43 AM CEST Jes Sorensen wrote: >> > Arnd Bergmann writes: >> > > On Wednesday, July 20, 2016 7:25:19 AM CEST Jes Sorensen wrote: >> >

Re: [PATCH 3/3] staging/rtl8192e: avoid comparing unsigned type >= 0

2016-07-20 Thread Jes Sorensen
ion to clarify the types and simplify > the check while removing the warning. > > Signed-off-by: Arnd Bergmann > --- > drivers/staging/rtl8192e/rtl819x_Qos.h| 3 --- > drivers/staging/rtl8192e/rtl819x_TSProc.c | 5 + > 2 files changed, 5 insertions(+), 3 deletions(-) Lo

Re: [PATCH 2/3] staging/rtl8192e: use s8 instead of char

2016-07-20 Thread Jes Sorensen
Arnd Bergmann writes: > On Wednesday, July 20, 2016 7:25:19 AM CEST Jes Sorensen wrote: >> Arnd Bergmann writes: >> Well it really all depends on how much time I have and how much others >> step up and help contribute to the code. For rtl8xxxu my plans are as >> f

Re: [PATCH] staging: rtl8723au: hal: check BT_Active and BT_State with correct bit pattern

2016-07-20 Thread Jes Sorensen
Colin King writes: > From: Colin Ian King > > BT_Active and BT_State are being masked with 0x00ff so it the subsequent > comparisons with 0x are therefore a buggy check. Instead, check them > against 0x00ff. > > Unfortunately I couldn't find a datasheet or hardware to see if 0xff

Re: [PATCH 2/3] staging/rtl8192e: use s8 instead of char

2016-07-20 Thread Jes Sorensen
Arnd Bergmann writes: > On Tuesday, July 19, 2016 12:05:00 PM CEST Jes Sorensen wrote: >> Arnd Bergmann writes: >> I think that would be better, albeit not a big issue. > > Ok, and since Kalle applied the first patch to his tree, I'm now sending > a series of three

Re: [PATCH 2/3] staging/rtl8192e: use s8 instead of char

2016-07-19 Thread Jes Sorensen
Arnd Bergmann writes: > On Tuesday, July 19, 2016 11:46:04 AM CEST Jes Sorensen wrote: >> > diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c >> > b/drivers/staging/rtl8192e/rtl819x_TSProc.c >> > index 2c8a526773ed..e0a2fe5e6148 100644 >> > --- a/dr

Re: [PATCH 3/3] staging/rtl8192u: use s8 instead of char

2016-07-19 Thread Jes Sorensen
; 3 files changed, 11 insertions(+), 11 deletions(-) Looks good to me Acked-by: Jes Sorensen ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 2/3] staging/rtl8192e: use s8 instead of char

2016-07-19 Thread Jes Sorensen
Arnd Bergmann writes: > Compiling the rtlwifi drivers for ARM with gcc -Wextra warns about lots of > incorrect code that results from 'char' being unsigned here, e.g. > > staging/rtl8192e/rtl8192e/r8192E_phy.c:1072:36: error: comparison is always > false due to limited range of data type [-Werror

Re: [PATCH 0/2] *** r8723au: Replace semaphore lock with mutex ***

2016-06-08 Thread Jes Sorensen
Binoy Jayan writes: > Hi, > > These are a set of patches which removes semaphores from: > > drivers/staging/rtl8723au > > These are part of a bigger effort to eliminate all semaphores > from the linux kernel. > > They build correctly (individually and as a whole). > NB: I have not tested this as

Re: [PATCH 0/5] add bus driver for Unisys s-Par paravirtualized devices to arch/x86

2016-05-18 Thread Jes Sorensen
Greg KH writes: > On Tue, May 17, 2016 at 07:49:53PM -0400, Jes Sorensen wrote: >> > Ok, but still no need to put it under arch/ anything, it should go in >> > drivers/ like all other drivers and busses are, no matter what the arch >> > it happens to run on is. >

Re: [PATCH 0/5] add bus driver for Unisys s-Par paravirtualized devices to arch/x86

2016-05-17 Thread Jes Sorensen
Greg KH writes: > On Tue, May 17, 2016 at 10:01:55AM -0400, Jes Sorensen wrote: >> Greg KH writes: >> > On Tue, May 17, 2016 at 03:27:56AM -0400, David Kershner wrote: >> >> This patchset moves the visorbus driver >> >> (fromdrivers/staging/unisys/visor

Re: [PATCH 0/5] add bus driver for Unisys s-Par paravirtualized devices to arch/x86

2016-05-17 Thread Jes Sorensen
Greg KH writes: > On Tue, May 17, 2016 at 03:27:56AM -0400, David Kershner wrote: >> This patchset moves the visorbus driver (fromdrivers/staging/unisys/visorbus) >> and its dependent headers files (from drivers/staging/unisys/include) >> out of staging into the main kernel tree. >> >> The visorb

Re: [PATCH v2] staging: r8723au: This patch tries to fix some byte order issues that is found by sparse check.

2016-04-28 Thread Jes Sorensen
Jandy Gou writes: > make C=1 M=drivers/staging/rtl8723au/ > > drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:96:38: warning: cast to > restricted __le16 > drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:100:27: warning: cast to > restricted __le32 > > Signed-off-by: Jandy Gou > --- > drivers/sta

[PATCH 0/1] staging: rtl8723au: Mark it deprecated

2016-04-15 Thread Jes . Sorensen
From: Jes Sorensen Hi, I think it is time to get rid of the vendor rtl8723au driver. I haven't heard any complaints about rtl8xxxu not being able to support the rtl8723au as well as the old driver. To give users a little time to migrate and raise their voices, lets start by marki

[PATCH 1/1] staging: rtl8723au: Add warning about this driver being deprecated

2016-04-15 Thread Jes . Sorensen
From: Jes Sorensen This driver is deprecated and superseded by rtl8xxxu. It will be removed in a future kernel release. Add a warning to Kconfig and at device init time to notify users and allow them time to switch over. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/Kconfig

Re: [PATCH] Staging: rtl8723au: Remove unused functions

2016-03-29 Thread Jes Sorensen
tw_wlan_util.c | 10 -- > drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 2 -- > 2 files changed, 12 deletions(-) Acked-by: Jes Sorensen ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] Staging: rtl8723au: Remove function rtw_enqueue_{recvbuf23a/recvbuf23a_to_head}

2016-03-29 Thread Jes Sorensen
tl8723au/core/rtw_recv.c| 25 - > drivers/staging/rtl8723au/include/rtw_recv.h | 2 -- > 2 files changed, 27 deletions(-) Looks reasonable to me. Acked-by: Jes Sorensen Jes > diff --git a/drivers/staging/rtl8723au/core/rtw_recv.c > b/drivers/stagi

Re: [PATCH] staging: r8723au: This patch tries to fix some byte order issues that is found by sparse check.

2016-03-19 Thread Jes Sorensen
Jandy Gou writes: > make C=1 M=drivers/staging/rtl8723au/ > > drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:96:38: warning: cast to > restricted __le16 > drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:100:27: warning: cast to > restricted __le32 > > Signed-off-by: Jandy Gou > --- > drivers/staging/

Re: [PATCH] staging: refresh TODO for rtl8723au

2016-03-19 Thread Jes Sorensen
Xose Vazquez Perez writes: > People should not waste time and energy working on this staging driver. > A replacement(rtl8xxxu) using the kernel wireless stack already was merged > in the 4.3 kernel. > > Cc: Jes Sorensen > Cc: Larry Finger > Cc: Kalle Valo > Cc: Greg Kr

Re: [PATCH] staging: r8723au: This patch tries to fix some byte order issues that is found by sparse check.

2016-03-19 Thread Jes Sorensen
Julian Calaby writes: > Hi Jandy, > > On Thu, Mar 17, 2016 at 7:03 PM, Jandy Gou > wrote: >> make C=1 M=drivers/staging/rtl8723au/ >> >> drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:96:38: warning: cast to >> restricted __le16 >> drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:100:27: warning: cast

Re: [PATCH] staging: refresh TODO for rtl8723au

2016-03-18 Thread Jes Sorensen
Joe Perches writes: > On Fri, 2016-03-18 at 13:42 -0400, Jes Sorensen wrote: >> Xose Vazquez Perez writes: >> > People should not waste time and energy working on this staging driver. >> > A replacement(rtl8xxxu) using the kernel wireless stack already was me

Re: [PATCH 5/6] staging: unisys: visorbus: Cleanup gotos in visordriver_probe_device

2016-03-09 Thread Jes Sorensen
David Kershner writes: > Visordriver_probe_device gotos were messy, clean them up. > > Signed-off-by: David Kershner > Signed-off-by: Timothy Sell > --- > drivers/staging/unisys/visorbus/visorbus_main.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/drive

Re: [PATCH] drivers: staging: rtl8723au: remove unneeded null test

2016-03-04 Thread Jes Sorensen
ariable bound on line 1620 cannot be NULL > > Signed-off-by: Cihangir Akturk > --- > drivers/staging/rtl8723au/core/rtw_mlme.c | 13 ++--- > 1 file changed, 2 insertions(+), 11 deletions(-) Looks fine to me Acked-by: Jes Sorensen _

Re: [PATCH] staging: rtl8723au: use list_first_entry*

2016-02-22 Thread Jes Sorensen
-- > 2 files changed, 22 insertions(+), 53 deletions(-) This looks fine to me. When these changes gets large, it may be better to break them down into multiple patches as it's easier to debug if there is a bug somewhere. Acked-by: Jes Sorensen > > diff --git a/drivers/sta

Re: [PATCH v5 0/3] staging: rtl8723au: use list_for_each_entry*() and cleaning

2016-02-18 Thread Jes Sorensen
Geliang Tang writes: > On Wed, Feb 17, 2016 at 12:28:33PM -0500, Jes Sorensen wrote: >> kbuild test robot writes: >> > All errors (new ones prefixed by >>): >> > >> >drivers/staging/rtl8723au/core/rtw_recv.c: In function >> > 'rtw_fr

Re: [PATCH v4 1/3] staging: rtl8723au: use list_for_each_entry*()

2016-02-17 Thread Jes Sorensen
kbuild test robot writes: > Hi Geliang, > > [auto build test ERROR on staging/staging-testing] > [also build test ERROR on v4.5-rc4 next-20160217] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: > https://github.com/0day-ci/lin

Re: [PATCH v3 3/3] staging: rtl8723au: whitespace and blank line cleaning

2016-02-15 Thread Jes Sorensen
Julian Calaby writes: > Hi Geliang, > > On Sun, Feb 7, 2016 at 2:30 PM, Geliang Tang wrote: >> This patch cleans whitespaces and blank lines surrounding >> list_for_each_entry*(). > > It does a lot more than this, including: > - Removing some unnecessary brackets > - Whitespace changes well awa

Re: [PATCH v3 2/3] staging: rtl8723au: core: rtw_recv: remove useless codes

2016-02-15 Thread Jes Sorensen
ing in v1. > --- > drivers/staging/rtl8723au/core/rtw_recv.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) I assume this requires patch 1/3 applied first? Acked-by: Jes Sorensen > > diff --git a/drivers/staging/rtl8723au/core/rtw_recv.c > b/drivers/staging/rtl87

Re: [PATCH v3 1/3] staging: rtl8723au: use list_for_each_entry*()

2016-02-15 Thread Jes Sorensen
Geliang Tang writes: > Use list_for_each_entry*() instead of list_for_each*() to simplify > the code. > > Signed-off-by: Geliang Tang > --- > Changes in v3: > - split it into three patches. > Changes in v2: > - drop the coding style fixing in v1. > --- > drivers/staging/rtl8723au/core/rtw_ap.c

Re: [PATCH v2] staging: rtl8723au: use list_for_each_entry*()

2016-02-02 Thread Jes Sorensen
Geliang Tang writes: > Use list_for_each_entry*() instead of list_for_each*() to simplify > the code. > > Signed-off-by: Geliang Tang > --- > Changes in v2: > - drop the coding style fixing in v1. > --- > drivers/staging/rtl8723au/core/rtw_ap.c | 92 > ++- > drive

Re: [PATCH 3/3] Staging: rtl8723au: core: rtw_ieee80211: Fixed space and brace coding style issue.

2016-02-01 Thread Jes Sorensen
Joe Perches writes: > On Mon, 2016-02-01 at 07:29 -0500, Jes Sorensen wrote: >> Joe Perches writes: > [] >> > so this could be transformed into something like: >> > >> > int rtw_get_bit_value_from_ieee_value23a(u8 val) >> > { >>

Re: [PATCH 3/3] Staging: rtl8723au: core: rtw_ieee80211: Fixed space and brace coding style issue.

2016-02-01 Thread Jes Sorensen
Joe Perches writes: > On Sun, 2016-01-31 at 09:36 -0500, Jes Sorensen wrote: >> Rakhi Sharma writes: >> > Fixed the space and brace coding style error. >> > ERROR: space required before that '=' >> > ERROR: that open brace { should be on the previou

Re: [PATCH] staging: rtl8723au: use list_for_each_entry*()

2016-01-31 Thread Jes Sorensen
Geliang Tang writes: > Use list_for_each_entry*() instead of list_for_each*() to simplify > the code. Fix coding style by the way. > > Signed-off-by: Geliang Tang > --- > drivers/staging/rtl8723au/core/rtw_ap.c | 166 > -- > drivers/staging/rtl8723au/core/rtw_mlme.

Re: [PATCH 3/3] Staging: rtl8723au: core: rtw_ieee80211: Fixed space and brace coding style issue.

2016-01-31 Thread Jes Sorensen
Rakhi Sharma writes: > Fixed the space and brace coding style error. > ERROR: space required before that '=' > ERROR: that open brace { should be on the previous line. > > Signed-off-by: Rakhi Sharma > --- > drivers/staging/rtl8723au/core/rtw_ieee80211.c | 4 ++-- > 1 file changed, 2 insertions(

Re: [PATCH v2] staging: rtl8723au: Fixes unnecessary return warning

2016-01-31 Thread Jes Sorensen
Bhaktipriya Shridhar writes: > This patch fixes checkpatch.pl warning in rtw_mlme_ext.c file. > WARNING: void function return statements are not generally useful > > Signed-off-by: Bhaktipriya Shridhar > --- > Changes in v2: >- Removed the unnecessary blank lines. > drivers/staging/rtl8723a

Re: [PATCH] staging: rtl8723au: Fixes unnecessary return warning

2016-01-31 Thread Jes Sorensen
Julian Calaby writes: > Hi Bhaktipriya, > > On Sat, Jan 30, 2016 at 5:00 AM, Jes Sorensen wrote: >> Bhaktipriya Shridhar writes: >> If you insist on pushing this rather unncessary change, please do it >> properly, and remove the blank line before the return stateme

Re: [PATCH] staging: rtl8723au: Fixes unnecessary return warning

2016-01-29 Thread Jes Sorensen
Bhaktipriya Shridhar writes: > This patch fixes checkpatch.pl warning in rtw_mlme_ext.c file. > WARNING: void function return statements are not generally useful > > Signed-off-by: Bhaktipriya Shridhar > --- > drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 10 -- > 1 file changed, 10 de

Re: [RFC PATCH] staging: rtl8723au: fix byte order problems

2016-01-05 Thread Jes Sorensen
Julian Calaby writes: > Hi Sven, > > On Tue, Jan 5, 2016 at 2:29 AM, Sven Dziadek wrote: >> diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c >> b/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c >> index 1662c03c..57f5941 100644 >> --- a/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c >> +++ b

Re: [PATCH] staging: rtl8723au: use %pM and %ph formatting

2016-01-05 Thread Jes Sorensen
> .../staging/rtl8723au/hal/rtl8723a_bt-coexist.c| 24 > drivers/staging/rtl8723au/hal/usb_halinit.c| 6 ++-- > 3 files changed, 15 insertions(+), 47 deletions(-) Looks fine to me. Acked-by: Jes Sorensen _

Re: [RFC PATCH] staging: rtl8723au: fix byte order problems

2016-01-04 Thread Jes Sorensen
Sven Dziadek writes: > Remove byte order conversions. > Conversion is already done in usb_ops_linux.c when accessing usb port. > The deleted lines convert to little-endian and then call FillH2CCmd to > convert back. Additionally, they are applied to wrong types and > process wrong parts of variabl

Re: [PATCH] staging: rtl8723au: core: rtw_wlan_util: fix misleading indentation

2015-10-23 Thread Jes Sorensen
; Signed-off-by: Luis de Bethencourt > --- > drivers/staging/rtl8723au/core/rtw_wlan_util.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Jes Sorensen > > diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c > b/drivers/staging/rtl8723au/core/rtw_w

Re: staging/rtl8723au should be removed

2015-10-23 Thread Jes Sorensen
Larry Finger writes: > On 10/23/2015 05:44 AM, Xose Vazquez Perez wrote: >> Hi, >> >> Support for RTL8723AU devices was added to >> wireless-drivers-next.git recently: >> https://marc.info/?l=linux-wireless&m=144541406318463 >> commit: >> https://git.kernel.org/cgit/linux/kernel/git/kvalo/wireless

Re: [PATCH 1/2 v3] drivers: staging: rtl8723au: Changed rssi_cmd to little-endian param

2015-10-10 Thread Jes Sorensen
Jacob Kiefer writes: > From: Jacob Kiefer > > Changed rssi_cmd interface to accept le32 param instead of > unnecessary u8 * conversion. Updated existing calls to rssi_cmd. > This patch pushes responsibility to caller to convert to > le32. This cleans up the code quite a bit. > Also removed magic

Re: [PATCH v2] staging: rtl8723au: Fix resource leak

2015-09-28 Thread Jes Sorensen
Mateusz Kulikowski writes: > Firmware was not released properly if kmemdup fails. > > Addresses-Coverity-Id: 1269118 > Signed-off-by: Mateusz Kulikowski > --- > drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) A

Re: [PATCH] Removed extra spaces, and error from checkpatch.pl

2015-09-26 Thread Jes Sorensen
Pinkesh Badjatiya writes: > Removed trailing spaces. > Fixed some errors from checkpatch.pl verification. > No changes made to actual functional code. > > Signed-off-by: Pinkesh Badjatiya > --- > drivers/staging/rtl8723au/include/rtw_cmd.h | 162 > ++-- > 1 file changed,

[PATCH 3/6] staging: rtl8723au: Fold getTxPowerIndex() into PHY_SetTxPowerLevel8723A()

2015-09-15 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c | 46 ++--- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c b/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c

[PATCH 1/6] staging: rtl8723au: Simplify eeprom content checking

2015-09-15 Thread Jes . Sorensen
From: Jes Sorensen This eliminates the ugly Hal_EEValueCheck() function Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 42 ++- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/drivers/staging/rtl8723au/hal

[PATCH 6/6] staging: rtl8723au: Clean up getPowerBase()

2015-09-15 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c b/drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c index

[PATCH 4/6] staging: rtl8723au: Tidy up SetTxPowerLevel8723A()

2015-09-15 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c | 27 +++-- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c b/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c

[PATCH 0/6] staging: rtl8723au: Clean ups

2015-09-15 Thread Jes . Sorensen
From: Jes Sorensen Hi, Reading through some of the rate setup code, I was forced to clean up some of the components to be able to read it properly. Cheers, Jes Jes Sorensen (6): staging: rtl8723au: Simplify eeprom content checking staging: rtl8723au: Eliminate dummy ccxPowerIndexCheck

[PATCH 5/6] staging: rtl8723au: TurboScanOff is always true

2015-09-15 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c | 32 + 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c b/drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c

[PATCH 2/6] staging: rtl8723au: Eliminate dummy ccxPowerIndexCheck()

2015-09-15 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c b/drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c index 7fa9780..8764538 100644 --- a

Re: [PATCH] staging: rtl8723au: remove unnecessary le32_to_cpu

2015-09-02 Thread Jes Sorensen
Michał Bartoszkiewicz writes: > The values passed to le32_to_cpu are already in the correct byte order. > This fixes four "cast to restricted __le32" sparse warnings. > > Signed-off-by: Michał Bartoszkiewicz > --- > drivers/staging/rtl8723au/core/rtw_security.c | 8 > 1 file changed, 4

Re: [PATCH 11/16] staging: rtl8723au: remove unimplemented function declarations

2015-08-27 Thread Jes Sorensen
Luca Ceresoli writes: > Signed-off-by: Luca Ceresoli > Cc: Greg Kroah-Hartman > Cc: Jes Sorensen > Cc: Larry Finger > --- > drivers/staging/rtl8723au/include/rtw_cmd.h | 2 -- > 1 file changed, 2 deletions(-) Acked-by: Jes Sorensen

Re: [PATCH 2/3] staging/rtl8723au: Use %pM format specifier to print mac address

2015-08-27 Thread Jes Sorensen
- > 1 file changed, 2 insertions(+), 5 deletions(-) Works for me Acked-by: Jes Sorensen ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 7/8] staging: unisys: stop device registration before visorbus registration

2015-08-26 Thread Jes Sorensen
Sudip Mukherjee writes: > On Tue, Aug 25, 2015 at 08:33:55AM -0400, Jes Sorensen wrote: >> Sudip Mukherjee writes: >> > On Tue, Aug 18, 2015 at 03:14:02PM -0400, Benjamin Romer wrote: >> >> In cases where visorbus is compiled directly into the kernel, if >> &g

Re: [PATCH 7/8] staging: unisys: stop device registration before visorbus registration

2015-08-25 Thread Jes Sorensen
Sudip Mukherjee writes: > On Tue, Aug 18, 2015 at 03:14:02PM -0400, Benjamin Romer wrote: >> In cases where visorbus is compiled directly into the kernel, if >> visorbus registration fails for any reason, it is still possible for >> other drivers to call visorbus_register_visor_driver(), which cou

Re: [PATCH] staging: rtl8723au: rtl8723a_hal_init: Improve code readability

2015-08-07 Thread Jes Sorensen
it.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Jes Sorensen ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] staging: rtl8723au: Fix sparse warning: cast to restricted __le16

2015-08-07 Thread Jes Sorensen
Johannes Postma writes: > On 06/08/15 at 08:21am, Jes Sorensen wrote: >> >> Looks OK to me. Probably worth changing the *(usPtr + index) to be >> usPtr[index] as well to make the code easier to read. >> >> Jes >> > > Thank you for reviewing. I

Re: [PATCH] staging: rtl8723au: Fix sparse warning: cast to restricted __le16

2015-08-06 Thread Jes Sorensen
Johannes Postma writes: > usPtr is used as __le16 *, but was defined as u16 *. > This was reported by sparse as: > drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:1850:29: warning: cast to > restricted __le16 > > This patch fixes the type of usPtr. > > Signed-off-by: Johannes Postma > --- > dr

Re: [PATCH] staging: rtl8723au: fix up coding style warnings reported by checkpatch.pl.

2015-08-04 Thread Jes Sorensen
Ting-Chih Hsiao writes: > remove spaces at the start of a line > align enum variable with other parameters > > Signed-off-by: Ting-Chih Hsiao Acked-by: Jes Sorensen > --- > drivers/staging/rtl8723au/hal/odm_RegConfig8723A.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH] staging:rtl8723au:core:rtw_sreset.c:Fix for space related error

2015-07-26 Thread Jes Sorensen
"Joglekar, Tejas (T.)" writes: > From: Joglekar Tejas > > This patch fixes the error given by checkpatch.pl > > Signed-off-by: Joglekar Tejas > --- > drivers/staging/rtl8723au/core/rtw_sreset.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8723au/co

Re: [PATCH] staging: rtl8723au: fix incorrect type in assignment warning

2015-07-22 Thread Jes Sorensen
Steve Pennington writes: > Repaced calls to htons and memcpy with a single call to put_unaligned_be16 You may want an 'l' in replaced, but not a biggie to me. > to fix the following sparse warning: > drivers/staging/rtl8723au/core/rtw_recv.c:1557:21: warning: incorrect type in > assignment (dif

Re: [PATCH] staging: rtl8723au: fix incorrect type in assignment warning

2015-07-21 Thread Jes Sorensen
Steve Pennington writes: > Repaced call to htons with call to cpu_to_be16s to fix the > following sparse warning: > drivers/staging/rtl8723au/core/rtw_recv.c:1557:21: warning: incorrect type in > assignment (different base types) > drivers/staging/rtl8723au/core/rtw_recv.c:1557:21:expected un

Re: [PATCH] staging: unisys: Add s-Par visorhba

2015-07-15 Thread Jes Sorensen
"Kershner, David A" writes: >> -Original Message- >> From: Dan Carpenter [mailto:dan.carpen...@oracle.com] >> Sent: Wednesday, July 15, 2015 8:16 AM >> To: Romer, Benjamin M >> Cc: gre...@linuxfoundation.org; driverdev-devel@linuxdriverproject.org; >> jes.soren...@redhat.com; *S-Par-Mainta

Re: [PATCH 2/3] staging: rtl8723au: fix "incorrect type in assignment"

2015-07-01 Thread Jes Sorensen
Michel von Czettritz writes: > On 07/01/2015 10:31 PM, Jes Sorensen wrote: >> Michel von Czettritz writes: >>> Writing the output of cpu_to_le32 to an u32 or *(u32*) is an implicit >>> cast and results in an sparse warning. >>> >>> Since param and ma

Re: [PATCH 2/3] staging: rtl8723au: fix "incorrect type in assignment"

2015-07-01 Thread Jes Sorensen
Dan Carpenter writes: > On Tue, Jun 30, 2015 at 11:54:02PM +0200, Michel von Czettritz wrote: >> Writing the output of cpu_to_le32 to an u32 or *(u32*) is an implicit >> cast and results in an sparse warning. >> >> Since param and mask won't be changed, the implicit cast can be avoided >> by crea

Re: [PATCH 2/3] staging: rtl8723au: fix "incorrect type in assignment"

2015-07-01 Thread Jes Sorensen
Michel von Czettritz writes: > Writing the output of cpu_to_le32 to an u32 or *(u32*) is an implicit > cast and results in an sparse warning. > > Since param and mask won't be changed, the implicit cast can be avoided > by creating local variables. > > Signed-off-by: Michel von Czettritz > --- >

Re: [PATCH v2 0/2] staging: rtl8723au: core: endianness issues

2015-06-25 Thread Jes Sorensen
David Decotigny writes: > The code shows a couple inconsistencies (described in commit > descriptions) which would not be an issue on little-endian cpus, but > could cause breakage on non-LE cpus. Note: I could not test on real > hardware, these patches created based on sparse reports. > > Hostory

Re: [PATCH] staging:rtl8723au:odm.c:Removing trailing whitespaces

2015-06-22 Thread Jes Sorensen
1 deletion(-) Looks straight forward. Acked-by: Jes Sorensen Jes > diff --git a/drivers/staging/rtl8723au/hal/odm.c > b/drivers/staging/rtl8723au/hal/odm.c > index f354f5e..6b9dbef 100644 > --- a/drivers/staging/rtl8723au/hal/odm.c > +++ b/drivers/staging/rtl8723au/hal/odm.c > @@

Re: [PATCH v2 2/3] staging: unisys: convert pack pragma to __packed

2015-06-19 Thread Jes Sorensen
"Kershner, David A" writes: >> -Original Message- >> From: Dan Carpenter [mailto:dan.carpen...@oracle.com] >> Sent: Friday, June 19, 2015 8:55 AM >> To: Kershner, David A >> Cc: gre...@linuxfoundation.org; jes.soren...@redhat.com; *S-Par- >> Maintainer; driverdev-devel@linuxdriverproject.o

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

2015-06-15 Thread Jes Sorensen
Sudip Mukherjee writes: > On Mon, Jun 15, 2015 at 11:30:41AM +0200, Daniele Alessandrelli wrote: >> On June 15, 2015 7:47:41 AM GMT+02:00, Sudip Mukherjee >> wrote: >> >On Sun, Jun 14, 2015 at 11:26:35PM +0200, Daniele Alessandrelli wrote: >> >> >> - u16 Signature; /* 92C0: test chip; 92C, 88C0:

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

2015-06-15 Thread Jes Sorensen
itions */ > u16 Version;/* FW Version */ > u8 Subversion; /* FW Subversion, default 0x00 */ > - u16 Rsvd1; > + u8 Rsvd1; I had to look through this one a bit

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

2015-06-14 Thread Jes Sorensen
Nicholas Mc Guire writes: > On Sat, 13 Jun 2015, Jes Sorensen wrote: > >> Nicholas Mc Guire writes: >> > scanning for trivial bug-patters with coccinelle spatches returned: >> > ./drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:1395 >> >WARNING: cond

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

2015-06-13 Thread Jes Sorensen
Nicholas Mc Guire 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) > > drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c - line numbers from 4.1-rc7

Re: [PATCH 5/7] staging: rtl8723au: issue_probersp(): remove unused parameter

2015-06-12 Thread Jes Sorensen
Luca Ceresoli writes: > The is_valid_p2p_probereq is never referenced in the function body. > > Signed-off-by: Luca Ceresoli > Cc: Greg Kroah-Hartman > Cc: Jes Sorensen > Cc: Larry Finger > --- > drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 8 +++- > 1 file

Re: [PATCH 1/1 linux-next] staging: rtl8723au: use swap() in WMMOnAssocRsp23a()

2015-06-10 Thread Jes Sorensen
Fabian Frederick writes: > Use kernel.h macro definition. > > Thanks to Julia Lawall for Coccinelle scripting support. > > Signed-off-by: Fabian Frederick > --- > drivers/staging/rtl8723au/core/rtw_wlan_util.c | 12 +++- > 1 file changed, 3 insertions(+), 9 deletions(-) Please make sure

Re: [PATCH v5 00/13] Continued continued unisys driver update

2015-06-05 Thread Jes Sorensen
Sudip Mukherjee writes: > On Thu, Jun 04, 2015 at 09:22:36AM -0400, Benjamin Romer wrote: >> This patch set contains the remaining changes from our driver cleanup >> efforts. No functional changes have been made, only a rebase so that the >> patches would apply. > Hi, > its not related to your thi

Re: [PATCH v5 09/13] staging: unisys: Remove unneeded fields in diagchannel.h

2015-06-05 Thread Jes Sorensen
Sudip Mukherjee writes: > On Thu, Jun 04, 2015 at 09:22:45AM -0400, Benjamin Romer wrote: >> From: David Kershner >> >> Diagchannel.h is used primarily for the diagnostics channel. The >> diagnostics channel is not being used by linux guests currently, so >> the majority of the file is not neede

Re: [PATCH] staging: rtl8723au: fix sparse warning

2015-05-26 Thread Jes Sorensen
Juston Li writes: > change cast to __le16 to fix the following warning: > drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:1488:20: warning: cast to > restricted __le16 > > Signed-off-by: Juston Li > --- > drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 +- > 1 file changed, 1 insertion(

Re: [PATCH 1/1] drivers: staging: unisys: visorbus: visorchipset.c: private functions should be declared static

2015-05-24 Thread Jes Sorensen
tolga ceylan writes: > On 05/15/2015 09:22 PM, Tolga Ceylan wrote: >> visorchipset_file_init() and visorchipset_file_cleanup() functions >> do not seem to be used from anywhere else and now are declared >> as static. Sparse emitted "not declared" warnings for these two >> functions. >> >> Signed-o

Re: [PATCH] Staging: unisys: fix function declaration format in visorchipset.c

2015-05-18 Thread Jes Sorensen
Wim de With writes: > This is a patch that fixes the function declarations in > visorbus/visorchipset.c by removing newlines after the function return > type This patch doesn't fix things, it makes things worse! If you want to post patches to this, do it properly and check the output first. NAC

Re: [PATCH] staging: rtl8723au : remove goto & return error directly

2015-05-12 Thread Jes Sorensen
"Gujulan Elango, Hari Prasath (H.)" writes: > On Thu, May 07, 2015 at 10:09:59AM -0400, Jes Sorensen wrote: >> "Gujulan Elango, Hari Prasath (H.)" writes: >> > On Thu, May 07, 2015 at 03:19:34PM +0300, Dan Carpenter wrote: >> >> On Thu, Ma

Re: [PATCH] staging: rtl8723au: remove redundant initialization

2015-05-12 Thread Jes Sorensen
t; 1 file changed, 1 insertion(+), 1 deletion(-) Looks fine to me Acked-by: Jes Sorensen ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] staging: rtl8723au : remove goto & return error directly

2015-05-07 Thread Jes Sorensen
Joe Perches writes: > On Thu, 2015-05-07 at 10:08 -0400, Jes Sorensen wrote: >> Dan Carpenter writes: >> > On Thu, May 07, 2015 at 08:03:06AM -0400, Jes Sorensen wrote: >> >> NACK! >> > SHOUTING! >> It's normal to write NACK in upper case > &g

Re: [PATCH] staging: rtl8723au : remove goto & return error directly

2015-05-07 Thread Jes Sorensen
"Gujulan Elango, Hari Prasath (H.)" writes: > On Thu, May 07, 2015 at 03:19:34PM +0300, Dan Carpenter wrote: >> On Thu, May 07, 2015 at 08:03:06AM -0400, Jes Sorensen wrote: >> > "Gujulan Elango, Hari Prasath (H.)" writes: >> > > Remove the

Re: [PATCH] staging: rtl8723au : remove goto & return error directly

2015-05-07 Thread Jes Sorensen
Dan Carpenter writes: > On Thu, May 07, 2015 at 08:03:06AM -0400, Jes Sorensen wrote: >> "Gujulan Elango, Hari Prasath (H.)" writes: >> > Remove the goto and return error directly thereby removing a variable >> > >> > Signed-off-by: Hari Prasath

  1   2   3   4   5   6   7   8   >