* [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines.
@ 2015-02-26 7:52 Melike Yurtoglu
2015-02-26 7:52 ` [PATCH 2/3] Staging: rtl8723au: Remove return in void function Melike Yurtoglu
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Melike Yurtoglu @ 2015-02-26 7:52 UTC (permalink / raw)
To: outreachy-kernel; +Cc: Melike Yurtoglu
WARNING: quoted string split across lines
That was found by running checkpatch.
Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
---
drivers/staging/rtl8723au/os_dep/usb_intf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/os_dep/usb_intf.c b/drivers/staging/rtl8723au/os_dep/usb_intf.c
index 05755b8..e8158c2 100644
--- a/drivers/staging/rtl8723au/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8723au/os_dep/usb_intf.c
@@ -130,8 +130,8 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
usb_endpoint_num(pendp_desc);
pdvobjpriv->RtNumInPipes++;
} else if (usb_endpoint_is_int_in(pendp_desc)) {
- DBG_8723A("usb_endpoint_is_int_in = %x, Interval = "
- "%x\n", usb_endpoint_num(pendp_desc),
+ DBG_8723A("usb_endpoint_is_int_in = %x",
+ "Interval =%x\n", usb_endpoint_num(pendp_desc),
pendp_desc->bInterval);
pdvobjpriv->RtInPipe[pdvobjpriv->RtNumInPipes] =
usb_endpoint_num(pendp_desc);
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] Staging: rtl8723au: Remove return in void function
2015-02-26 7:52 [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines Melike Yurtoglu
@ 2015-02-26 7:52 ` Melike Yurtoglu
2015-02-26 9:51 ` [Outreachy kernel] " Daniel Baluta
2015-02-26 7:52 ` [PATCH 3/3] Staging: rtl8723au: Add blank line after declarations Melike Yurtoglu
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Melike Yurtoglu @ 2015-02-26 7:52 UTC (permalink / raw)
To: outreachy-kernel; +Cc: Melike Yurtoglu
WARNING: void function return statements are not generally useful
Remove return in void function. That was found by running checkpatch.
Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
---
drivers/staging/rtl8723au/os_dep/usb_intf.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/os_dep/usb_intf.c b/drivers/staging/rtl8723au/os_dep/usb_intf.c
index e8158c2..07ab571 100644
--- a/drivers/staging/rtl8723au/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8723au/os_dep/usb_intf.c
@@ -599,8 +599,6 @@ static void rtw_disconnect(struct usb_interface *pusb_intf)
RT_TRACE(_module_hci_intfs_c_, _drv_err_, ("-dev_remove()\n"));
DBG_8723A("-r871xu_dev_remove, done\n");
-
- return;
}
static int __init rtw_drv_entry(void)
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] Staging: rtl8723au: Add blank line after declarations
2015-02-26 7:52 [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines Melike Yurtoglu
2015-02-26 7:52 ` [PATCH 2/3] Staging: rtl8723au: Remove return in void function Melike Yurtoglu
@ 2015-02-26 7:52 ` Melike Yurtoglu
2015-02-26 9:04 ` [Outreachy kernel] " Julia Lawall
2015-02-26 9:05 ` [Outreachy kernel] [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines Julia Lawall
2015-02-26 21:04 ` Greg KH
3 siblings, 1 reply; 7+ messages in thread
From: Melike Yurtoglu @ 2015-02-26 7:52 UTC (permalink / raw)
To: outreachy-kernel; +Cc: Melike Yurtoglu
WARNING: "Missing a blank line after declarations"
Add blank line after declarations. That was found by running checkpatch
Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
---
drivers/staging/rtl8723au/os_dep/usb_intf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/rtl8723au/os_dep/usb_intf.c b/drivers/staging/rtl8723au/os_dep/usb_intf.c
index 07ab571..146a830 100644
--- a/drivers/staging/rtl8723au/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8723au/os_dep/usb_intf.c
@@ -237,6 +237,7 @@ void rtl8723a_usb_intf_stop(struct rtw_adapter *padapter)
static void rtw_dev_unload(struct rtw_adapter *padapter)
{
struct submit_ctx *pack_tx_ops = &padapter->xmitpriv.ack_tx_ops;
+
RT_TRACE(_module_hci_intfs_c_, _drv_err_, ("+rtw_dev_unload\n"));
if (padapter->bup) {
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [Outreachy kernel] [PATCH 3/3] Staging: rtl8723au: Add blank line after declarations
2015-02-26 7:52 ` [PATCH 3/3] Staging: rtl8723au: Add blank line after declarations Melike Yurtoglu
@ 2015-02-26 9:04 ` Julia Lawall
0 siblings, 0 replies; 7+ messages in thread
From: Julia Lawall @ 2015-02-26 9:04 UTC (permalink / raw)
To: Melike Yurtoglu; +Cc: outreachy-kernel
On Thu, 26 Feb 2015, Melike Yurtoglu wrote:
> WARNING: "Missing a blank line after declarations"
> Add blank line after declarations. That was found by running checkpatch
>
> Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
> ---
> drivers/staging/rtl8723au/os_dep/usb_intf.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/rtl8723au/os_dep/usb_intf.c b/drivers/staging/rtl8723au/os_dep/usb_intf.c
> index 07ab571..146a830 100644
> --- a/drivers/staging/rtl8723au/os_dep/usb_intf.c
> +++ b/drivers/staging/rtl8723au/os_dep/usb_intf.c
> @@ -237,6 +237,7 @@ void rtl8723a_usb_intf_stop(struct rtw_adapter *padapter)
> static void rtw_dev_unload(struct rtw_adapter *padapter)
> {
> struct submit_ctx *pack_tx_ops = &padapter->xmitpriv.ack_tx_ops;
> +
> RT_TRACE(_module_hci_intfs_c_, _drv_err_, ("+rtw_dev_unload\n"));
>
> if (padapter->bup) {
It's irrelevant to this change, but you could consider getting rit of
RT_TRACE. A use like this at the beginnning or end of a function can just
be dropped. A use in error handling code can be converted to netdev_err,
etc, as appropriate.
julia
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Outreachy kernel] [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines.
2015-02-26 7:52 [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines Melike Yurtoglu
2015-02-26 7:52 ` [PATCH 2/3] Staging: rtl8723au: Remove return in void function Melike Yurtoglu
2015-02-26 7:52 ` [PATCH 3/3] Staging: rtl8723au: Add blank line after declarations Melike Yurtoglu
@ 2015-02-26 9:05 ` Julia Lawall
2015-02-26 21:04 ` Greg KH
3 siblings, 0 replies; 7+ messages in thread
From: Julia Lawall @ 2015-02-26 9:05 UTC (permalink / raw)
To: Melike Yurtoglu; +Cc: outreachy-kernel
On Thu, 26 Feb 2015, Melike Yurtoglu wrote:
> WARNING: quoted string split across lines
> That was found by running checkpatch.
>
> Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
> ---
> drivers/staging/rtl8723au/os_dep/usb_intf.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723au/os_dep/usb_intf.c b/drivers/staging/rtl8723au/os_dep/usb_intf.c
> index 05755b8..e8158c2 100644
> --- a/drivers/staging/rtl8723au/os_dep/usb_intf.c
> +++ b/drivers/staging/rtl8723au/os_dep/usb_intf.c
> @@ -130,8 +130,8 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
> usb_endpoint_num(pendp_desc);
> pdvobjpriv->RtNumInPipes++;
> } else if (usb_endpoint_is_int_in(pendp_desc)) {
> - DBG_8723A("usb_endpoint_is_int_in = %x, Interval = "
> - "%x\n", usb_endpoint_num(pendp_desc),
> + DBG_8723A("usb_endpoint_is_int_in = %x",
> + "Interval =%x\n", usb_endpoint_num(pendp_desc),
DBG_8723A could be replaced by standard kernel printing functions.
julia
> pendp_desc->bInterval);
> pdvobjpriv->RtInPipe[pdvobjpriv->RtNumInPipes] =
> usb_endpoint_num(pendp_desc);
> --
> 1.8.3.2
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424937128-16981-1-git-send-email-aysemelikeyurtoglu%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Outreachy kernel] [PATCH 2/3] Staging: rtl8723au: Remove return in void function
2015-02-26 7:52 ` [PATCH 2/3] Staging: rtl8723au: Remove return in void function Melike Yurtoglu
@ 2015-02-26 9:51 ` Daniel Baluta
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Baluta @ 2015-02-26 9:51 UTC (permalink / raw)
To: Melike Yurtoglu; +Cc: outreachy-kernel
On Thu, Feb 26, 2015 at 9:52 AM, Melike Yurtoglu
<aysemelikeyurtoglu@gmail.com> wrote:
> WARNING: void function return statements are not generally useful
> Remove return in void function. That was found by running checkpatch.
>
> Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Outreachy kernel] [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines.
2015-02-26 7:52 [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines Melike Yurtoglu
` (2 preceding siblings ...)
2015-02-26 9:05 ` [Outreachy kernel] [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines Julia Lawall
@ 2015-02-26 21:04 ` Greg KH
3 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2015-02-26 21:04 UTC (permalink / raw)
To: Melike Yurtoglu; +Cc: outreachy-kernel
On Thu, Feb 26, 2015 at 09:52:06AM +0200, Melike Yurtoglu wrote:
> WARNING: quoted string split across lines
> That was found by running checkpatch.
>
> Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
> ---
> drivers/staging/rtl8723au/os_dep/usb_intf.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723au/os_dep/usb_intf.c b/drivers/staging/rtl8723au/os_dep/usb_intf.c
> index 05755b8..e8158c2 100644
> --- a/drivers/staging/rtl8723au/os_dep/usb_intf.c
> +++ b/drivers/staging/rtl8723au/os_dep/usb_intf.c
> @@ -130,8 +130,8 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
> usb_endpoint_num(pendp_desc);
> pdvobjpriv->RtNumInPipes++;
> } else if (usb_endpoint_is_int_in(pendp_desc)) {
> - DBG_8723A("usb_endpoint_is_int_in = %x, Interval = "
> - "%x\n", usb_endpoint_num(pendp_desc),
> + DBG_8723A("usb_endpoint_is_int_in = %x",
> + "Interval =%x\n", usb_endpoint_num(pendp_desc),
That change does not look correct at all, did you compile this?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-02-26 21:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26 7:52 [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines Melike Yurtoglu
2015-02-26 7:52 ` [PATCH 2/3] Staging: rtl8723au: Remove return in void function Melike Yurtoglu
2015-02-26 9:51 ` [Outreachy kernel] " Daniel Baluta
2015-02-26 7:52 ` [PATCH 3/3] Staging: rtl8723au: Add blank line after declarations Melike Yurtoglu
2015-02-26 9:04 ` [Outreachy kernel] " Julia Lawall
2015-02-26 9:05 ` [Outreachy kernel] [PATCH 1/3] Staging: rtl8723au: Remove warning quoted string split across lines Julia Lawall
2015-02-26 21:04 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.