linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix several coding style errors
@ 2019-03-09 18:30 Guilherme Tadashi Maeoka
  2019-03-09 18:30 ` [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition Guilherme Tadashi Maeoka
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Guilherme Tadashi Maeoka @ 2019-03-09 18:30 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Guilherme Tadashi Maeoka

Fix space around operators, pointer definition, constant on the right
side, assignment outside of if condition and else to follow close brace
at staging: rtl8723bs: os_dep.

Guilherme Tadashi Maeoka (5):
  Staging: rtl8723bs: os_dep: Fix assignment in if condition
  Staging: rtl8723bs: os_dep: Fix space required coding style
  Staging: rtl8723bs: os_dep: Fix else to follow close brace
  Staging: rtl8723bs: os_dep: Fix space in pointer definition
  Staging: rtl8723bs: os_dep: Set constant on right side

 .../staging/rtl8723bs/os_dep/osdep_service.c  | 52 +++++++++----------
 1 file changed, 26 insertions(+), 26 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition
  2019-03-09 18:30 [PATCH 0/5] Fix several coding style errors Guilherme Tadashi Maeoka
@ 2019-03-09 18:30 ` Guilherme Tadashi Maeoka
  2019-03-09 18:39   ` Joe Perches
  2019-03-17 11:39   ` Greg KH
  2019-03-09 18:30 ` [PATCH 2/5] Staging: rtl8723bs: os_dep: Fix space required coding style Guilherme Tadashi Maeoka
                   ` (4 subsequent siblings)
  5 siblings, 2 replies; 10+ messages in thread
From: Guilherme Tadashi Maeoka @ 2019-03-09 18:30 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Guilherme Tadashi Maeoka

Fix an assignment in if condition.

Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/osdep_service.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index 73b87da15eb2..c7fdcc6bbae3 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -162,7 +162,9 @@ static int retriveFromFile(char *path, u8 *buf, u32 sz)
 	struct file *fp;
 
 	if (path && buf) {
-		if (0 == (ret =openFile(&fp, path, O_RDONLY, 0))) {
+		ret = openFile(&fp, path, O_RDONLY, 0);
+
+		if (ret == 0) {
 			DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);
 
 			oldfs = get_fs(); set_fs(KERNEL_DS);
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/5] Staging: rtl8723bs: os_dep: Fix space required coding style
  2019-03-09 18:30 [PATCH 0/5] Fix several coding style errors Guilherme Tadashi Maeoka
  2019-03-09 18:30 ` [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition Guilherme Tadashi Maeoka
@ 2019-03-09 18:30 ` Guilherme Tadashi Maeoka
  2019-03-09 18:30 ` [PATCH 3/5] Staging: rtl8723bs: os_dep: Fix else to follow close brace Guilherme Tadashi Maeoka
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Guilherme Tadashi Maeoka @ 2019-03-09 18:30 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Guilherme Tadashi Maeoka

Fix multiple space required coding style.

Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com>
---
 .../staging/rtl8723bs/os_dep/osdep_service.c  | 38 +++++++++----------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index c7fdcc6bbae3..5a58e1d40f7e 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -77,13 +77,13 @@ static int openFile(struct file **fpp, char *path, int flag, int mode)
 {
 	struct file *fp;
 
-	fp =filp_open(path, flag, mode);
+	fp = filp_open(path, flag, mode);
 	if (IS_ERR(fp)) {
 		*fpp = NULL;
 		return PTR_ERR(fp);
 	}
 	else {
-		*fpp =fp;
+		*fpp = fp;
 		return 0;
 	}
 }
@@ -106,10 +106,10 @@ static int readFile(struct file *fp, char *buf, int len)
 	if (!fp->f_op || !fp->f_op->read)
 		return -EPERM;
 
-	while (sum<len) {
-		rlen =fp->f_op->read(fp, (char __force __user *)buf+sum, len-sum, &fp->f_pos);
-		if (rlen>0)
-			sum+=rlen;
+	while (sum < len) {
+		rlen = fp->f_op->read(fp, (char __force __user *)buf+sum, len-sum, &fp->f_pos);
+		if (rlen > 0)
+			sum += rlen;
 		else if (0 != rlen)
 			return rlen;
 		else
@@ -132,14 +132,14 @@ static int isFileReadable(char *path)
 	mm_segment_t oldfs;
 	char buf;
 
-	fp =filp_open(path, O_RDONLY, 0);
+	fp = filp_open(path, O_RDONLY, 0);
 	if (IS_ERR(fp)) {
 		ret = PTR_ERR(fp);
 	}
 	else {
 		oldfs = get_fs(); set_fs(KERNEL_DS);
 
-		if (1!=readFile(fp, &buf, 1))
+		if (1 != readFile(fp, &buf, 1))
 			ret = -EINVAL;
 
 		set_fs(oldfs);
@@ -157,7 +157,7 @@ static int isFileReadable(char *path)
 */
 static int retriveFromFile(char *path, u8 *buf, u32 sz)
 {
-	int ret =-1;
+	int ret = -1;
 	mm_segment_t oldfs;
 	struct file *fp;
 
@@ -165,10 +165,10 @@ static int retriveFromFile(char *path, u8 *buf, u32 sz)
 		ret = openFile(&fp, path, O_RDONLY, 0);
 
 		if (ret == 0) {
-			DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);
+			DBG_871X("%s openFile path:%s fp =%p\n", __func__, path, fp);
 
 			oldfs = get_fs(); set_fs(KERNEL_DS);
-			ret =readFile(fp, buf, sz);
+			ret = readFile(fp, buf, sz);
 			set_fs(oldfs);
 			closeFile(fp);
 
@@ -206,8 +206,8 @@ int rtw_is_file_readable(char *path)
 */
 int rtw_retrive_from_file(char *path, u8 *buf, u32 sz)
 {
-	int ret =retriveFromFile(path, buf, sz);
-	return ret>= 0?ret:0;
+	int ret = retriveFromFile(path, buf, sz);
+	return ret >= 0 ? ret : 0;
 }
 
 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv)
@@ -220,8 +220,8 @@ struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_p
 		goto RETURN;
 
 	pnpi = netdev_priv(pnetdev);
-	pnpi->priv =old_priv;
-	pnpi->sizeof_priv =sizeof_priv;
+	pnpi->priv = old_priv;
+	pnpi->sizeof_priv = sizeof_priv;
 
 RETURN:
 	return pnetdev;
@@ -245,7 +245,7 @@ struct net_device *rtw_alloc_etherdev(int sizeof_priv)
 		goto RETURN;
 	}
 
-	pnpi->sizeof_priv =sizeof_priv;
+	pnpi->sizeof_priv = sizeof_priv;
 RETURN:
 	return pnetdev;
 }
@@ -293,7 +293,7 @@ int rtw_change_ifname(struct adapter *padapter, const char *ifname)
 	else
 		unregister_netdevice(cur_pnetdev);
 
-	rereg_priv->old_pnetdev =cur_pnetdev;
+	rereg_priv->old_pnetdev = cur_pnetdev;
 
 	pnetdev = rtw_init_netdev(padapter);
 	if (!pnetdev)  {
@@ -388,7 +388,7 @@ void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len)
  */
 inline bool rtw_cbuf_full(struct rtw_cbuf *cbuf)
 {
-	return (cbuf->write == cbuf->read-1)? true : false;
+	return (cbuf->write == cbuf->read-1) ? true : false;
 }
 
 /**
@@ -399,7 +399,7 @@ inline bool rtw_cbuf_full(struct rtw_cbuf *cbuf)
  */
 inline bool rtw_cbuf_empty(struct rtw_cbuf *cbuf)
 {
-	return (cbuf->write == cbuf->read)? true : false;
+	return (cbuf->write == cbuf->read) ? true : false;
 }
 
 /**
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/5] Staging: rtl8723bs: os_dep: Fix else to follow close brace
  2019-03-09 18:30 [PATCH 0/5] Fix several coding style errors Guilherme Tadashi Maeoka
  2019-03-09 18:30 ` [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition Guilherme Tadashi Maeoka
  2019-03-09 18:30 ` [PATCH 2/5] Staging: rtl8723bs: os_dep: Fix space required coding style Guilherme Tadashi Maeoka
@ 2019-03-09 18:30 ` Guilherme Tadashi Maeoka
  2019-03-09 18:30 ` [PATCH 4/5] Staging: rtl8723bs: os_dep: Fix space in pointer definition Guilherme Tadashi Maeoka
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Guilherme Tadashi Maeoka @ 2019-03-09 18:30 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Guilherme Tadashi Maeoka

Fix else not following close brace '}'.

Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/osdep_service.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index 5a58e1d40f7e..65921b946ff7 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -81,8 +81,7 @@ static int openFile(struct file **fpp, char *path, int flag, int mode)
 	if (IS_ERR(fp)) {
 		*fpp = NULL;
 		return PTR_ERR(fp);
-	}
-	else {
+	} else {
 		*fpp = fp;
 		return 0;
 	}
@@ -135,8 +134,7 @@ static int isFileReadable(char *path)
 	fp = filp_open(path, O_RDONLY, 0);
 	if (IS_ERR(fp)) {
 		ret = PTR_ERR(fp);
-	}
-	else {
+	} else {
 		oldfs = get_fs(); set_fs(KERNEL_DS);
 
 		if (1 != readFile(fp, &buf, 1))
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/5] Staging: rtl8723bs: os_dep: Fix space in pointer definition
  2019-03-09 18:30 [PATCH 0/5] Fix several coding style errors Guilherme Tadashi Maeoka
                   ` (2 preceding siblings ...)
  2019-03-09 18:30 ` [PATCH 3/5] Staging: rtl8723bs: os_dep: Fix else to follow close brace Guilherme Tadashi Maeoka
@ 2019-03-09 18:30 ` Guilherme Tadashi Maeoka
  2019-03-09 18:30 ` [PATCH 5/5] Staging: rtl8723bs: os_dep: Set constant on right side Guilherme Tadashi Maeoka
  2019-03-17 11:07 ` [PATCH 0/5] Fix several coding style errors Greg KH
  5 siblings, 0 replies; 10+ messages in thread
From: Guilherme Tadashi Maeoka @ 2019-03-09 18:30 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Guilherme Tadashi Maeoka

Pointer definition "foo * bar" should be "foo *bar".

Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/osdep_service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index 65921b946ff7..262b70e88e67 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -248,7 +248,7 @@ struct net_device *rtw_alloc_etherdev(int sizeof_priv)
 	return pnetdev;
 }
 
-void rtw_free_netdev(struct net_device * netdev)
+void rtw_free_netdev(struct net_device *netdev)
 {
 	struct rtw_netdev_priv_indicator *pnpi;
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 5/5] Staging: rtl8723bs: os_dep: Set constant on right side
  2019-03-09 18:30 [PATCH 0/5] Fix several coding style errors Guilherme Tadashi Maeoka
                   ` (3 preceding siblings ...)
  2019-03-09 18:30 ` [PATCH 4/5] Staging: rtl8723bs: os_dep: Fix space in pointer definition Guilherme Tadashi Maeoka
@ 2019-03-09 18:30 ` Guilherme Tadashi Maeoka
  2019-03-17 11:07 ` [PATCH 0/5] Fix several coding style errors Greg KH
  5 siblings, 0 replies; 10+ messages in thread
From: Guilherme Tadashi Maeoka @ 2019-03-09 18:30 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Guilherme Tadashi Maeoka

Place a constant on the right side of the test.

Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com>
---
 drivers/staging/rtl8723bs/os_dep/osdep_service.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index 262b70e88e67..2ad28d903ef8 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -109,7 +109,7 @@ static int readFile(struct file *fp, char *buf, int len)
 		rlen = fp->f_op->read(fp, (char __force __user *)buf+sum, len-sum, &fp->f_pos);
 		if (rlen > 0)
 			sum += rlen;
-		else if (0 != rlen)
+		else if (rlen != 0)
 			return rlen;
 		else
 			break;
@@ -137,7 +137,7 @@ static int isFileReadable(char *path)
 	} else {
 		oldfs = get_fs(); set_fs(KERNEL_DS);
 
-		if (1 != readFile(fp, &buf, 1))
+		if (readFile(fp, &buf, 1) != 1)
 			ret = -EINVAL;
 
 		set_fs(oldfs);
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition
  2019-03-09 18:30 ` [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition Guilherme Tadashi Maeoka
@ 2019-03-09 18:39   ` Joe Perches
  2019-03-09 19:00     ` Guilherme T Maeoka
  2019-03-17 11:39   ` Greg KH
  1 sibling, 1 reply; 10+ messages in thread
From: Joe Perches @ 2019-03-09 18:39 UTC (permalink / raw)
  To: Guilherme Tadashi Maeoka, gregkh; +Cc: devel, linux-kernel

On Sat, 2019-03-09 at 15:30 -0300, Guilherme Tadashi Maeoka wrote:
> Fix an assignment in if condition.
> 
> Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com>
> ---
>  drivers/staging/rtl8723bs/os_dep/osdep_service.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> index 73b87da15eb2..c7fdcc6bbae3 100644
> --- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> +++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> @@ -162,7 +162,9 @@ static int retriveFromFile(char *path, u8 *buf, u32 sz)
>  	struct file *fp;
>  
>  	if (path && buf) {
> -		if (0 == (ret =openFile(&fp, path, O_RDONLY, 0))) {
> +		ret = openFile(&fp, path, O_RDONLY, 0);
> +
> +		if (ret == 0) {
>  			DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);
>  
>  			oldfs = get_fs(); set_fs(KERNEL_DS);

More common kernel style would be to rewrite the function
(and to fix the typo of retrieve) to something like:  

static int retrieveFromFile(char *path, u8 *buf, u32 sz)
{
	int ret;
	mm_segment_t oldfs;
	struct file *fp;

	if (!path || !buf) {
		DBG_871X("%s NULL pointer\n", __func__);
		return -EINVAL;
	}

	ret = openFile(&fp, path, O_RDONLY, 0);
	if (ret) {
		DBG_871X("%s openFile path:%s Fail, ret:%d\n",
			 __func__, path, ret);
		return ret;
	}

	DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);

	oldfs = get_fs();
	set_fs(KERNEL_DS);
	ret = readFile(fp, buf, sz);
	set_fs(oldfs);
	closeFile(fp);

	DBG_871X("%s readFile, ret:%d\n", __func__, ret);

	return ret;
}



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition
  2019-03-09 18:39   ` Joe Perches
@ 2019-03-09 19:00     ` Guilherme T Maeoka
  0 siblings, 0 replies; 10+ messages in thread
From: Guilherme T Maeoka @ 2019-03-09 19:00 UTC (permalink / raw)
  To: Joe Perches; +Cc: gregkh, devel, linux-kernel

Thank you for the review Joe. I'll have that in mind in the next patch.

On 3/9/19, Joe Perches <joe@perches.com> wrote:
> On Sat, 2019-03-09 at 15:30 -0300, Guilherme Tadashi Maeoka wrote:
>> Fix an assignment in if condition.
>>
>> Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com>
>> ---
>>  drivers/staging/rtl8723bs/os_dep/osdep_service.c | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
>> b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
>> index 73b87da15eb2..c7fdcc6bbae3 100644
>> --- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
>> +++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
>> @@ -162,7 +162,9 @@ static int retriveFromFile(char *path, u8 *buf, u32
>> sz)
>>  	struct file *fp;
>>
>>  	if (path && buf) {
>> -		if (0 == (ret =openFile(&fp, path, O_RDONLY, 0))) {
>> +		ret = openFile(&fp, path, O_RDONLY, 0);
>> +
>> +		if (ret == 0) {
>>  			DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);
>>
>>  			oldfs = get_fs(); set_fs(KERNEL_DS);
>
> More common kernel style would be to rewrite the function
> (and to fix the typo of retrieve) to something like:
>
> static int retrieveFromFile(char *path, u8 *buf, u32 sz)
> {
> 	int ret;
> 	mm_segment_t oldfs;
> 	struct file *fp;
>
> 	if (!path || !buf) {
> 		DBG_871X("%s NULL pointer\n", __func__);
> 		return -EINVAL;
> 	}
>
> 	ret = openFile(&fp, path, O_RDONLY, 0);
> 	if (ret) {
> 		DBG_871X("%s openFile path:%s Fail, ret:%d\n",
> 			 __func__, path, ret);
> 		return ret;
> 	}
>
> 	DBG_871X("%s openFile path:%s fp =%p\n", __func__, path , fp);
>
> 	oldfs = get_fs();
> 	set_fs(KERNEL_DS);
> 	ret = readFile(fp, buf, sz);
> 	set_fs(oldfs);
> 	closeFile(fp);
>
> 	DBG_871X("%s readFile, ret:%d\n", __func__, ret);
>
> 	return ret;
> }
>
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/5] Fix several coding style errors
  2019-03-09 18:30 [PATCH 0/5] Fix several coding style errors Guilherme Tadashi Maeoka
                   ` (4 preceding siblings ...)
  2019-03-09 18:30 ` [PATCH 5/5] Staging: rtl8723bs: os_dep: Set constant on right side Guilherme Tadashi Maeoka
@ 2019-03-17 11:07 ` Greg KH
  5 siblings, 0 replies; 10+ messages in thread
From: Greg KH @ 2019-03-17 11:07 UTC (permalink / raw)
  To: Guilherme Tadashi Maeoka; +Cc: devel, linux-kernel

On Sat, Mar 09, 2019 at 03:30:42PM -0300, Guilherme Tadashi Maeoka wrote:
> Fix space around operators, pointer definition, constant on the right
> side, assignment outside of if condition and else to follow close brace
> at staging: rtl8723bs: os_dep.
> 
> Guilherme Tadashi Maeoka (5):
>   Staging: rtl8723bs: os_dep: Fix assignment in if condition
>   Staging: rtl8723bs: os_dep: Fix space required coding style
>   Staging: rtl8723bs: os_dep: Fix else to follow close brace
>   Staging: rtl8723bs: os_dep: Fix space in pointer definition
>   Staging: rtl8723bs: os_dep: Set constant on right side
> 
>  .../staging/rtl8723bs/os_dep/osdep_service.c  | 52 +++++++++----------
>  1 file changed, 26 insertions(+), 26 deletions(-)

The 0/X email should also say the subsystem and driver that the series
modifies.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition
  2019-03-09 18:30 ` [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition Guilherme Tadashi Maeoka
  2019-03-09 18:39   ` Joe Perches
@ 2019-03-17 11:39   ` Greg KH
  1 sibling, 0 replies; 10+ messages in thread
From: Greg KH @ 2019-03-17 11:39 UTC (permalink / raw)
  To: Guilherme Tadashi Maeoka; +Cc: devel, linux-kernel

On Sat, Mar 09, 2019 at 03:30:43PM -0300, Guilherme Tadashi Maeoka wrote:
> Fix an assignment in if condition.
> 
> Signed-off-by: Guilherme Tadashi Maeoka <gui.maeoka@gmail.com>
> ---
>  drivers/staging/rtl8723bs/os_dep/osdep_service.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Not all of these could be applied.  Please rebase your patch series
against my staging-testing branch and resend the remaining patches.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-03-17 11:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-09 18:30 [PATCH 0/5] Fix several coding style errors Guilherme Tadashi Maeoka
2019-03-09 18:30 ` [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition Guilherme Tadashi Maeoka
2019-03-09 18:39   ` Joe Perches
2019-03-09 19:00     ` Guilherme T Maeoka
2019-03-17 11:39   ` Greg KH
2019-03-09 18:30 ` [PATCH 2/5] Staging: rtl8723bs: os_dep: Fix space required coding style Guilherme Tadashi Maeoka
2019-03-09 18:30 ` [PATCH 3/5] Staging: rtl8723bs: os_dep: Fix else to follow close brace Guilherme Tadashi Maeoka
2019-03-09 18:30 ` [PATCH 4/5] Staging: rtl8723bs: os_dep: Fix space in pointer definition Guilherme Tadashi Maeoka
2019-03-09 18:30 ` [PATCH 5/5] Staging: rtl8723bs: os_dep: Set constant on right side Guilherme Tadashi Maeoka
2019-03-17 11:07 ` [PATCH 0/5] Fix several coding style errors Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).