* [PATCH] Staging: rtl8712: Add blank line after declarations
@ 2015-02-23 11:32 Yeliz Taneroglu
2015-02-23 11:37 ` [Outreachy kernel] " Daniel Baluta
0 siblings, 1 reply; 2+ messages in thread
From: Yeliz Taneroglu @ 2015-02-23 11:32 UTC (permalink / raw)
To: outreachy-kernel; +Cc: Yeliz Taneroglu
The following patch fixes the checkpatch.pl warning:
drivers/staging/rtl8712/drv_types.h WARNING: Missing a blank line after declarations
Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
---
drivers/staging/rtl8712/drv_types.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h
index 3d0a98b..2522b59 100644
--- a/drivers/staging/rtl8712/drv_types.h
+++ b/drivers/staging/rtl8712/drv_types.h
@@ -129,6 +129,7 @@ struct dvobj_priv {
struct _adapter *padapter;
u32 nr_endpoint;
u8 ishighspeed;
+
uint(*inirp_init)(struct _adapter *adapter);
uint(*inirp_deinit)(struct _adapter *adapter);
struct usb_device *pusbdev;
@@ -165,7 +166,9 @@ struct _adapter {
struct task_struct *cmdThread;
pid_t evtThread;
struct task_struct *xmitThread;
+
pid_t recvThread;
+
uint(*dvobj_init)(struct _adapter *adapter);
void (*dvobj_deinit)(struct _adapter *adapter);
struct net_device *pnetdev;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Outreachy kernel] [PATCH] Staging: rtl8712: Add blank line after declarations
2015-02-23 11:32 [PATCH] Staging: rtl8712: Add blank line after declarations Yeliz Taneroglu
@ 2015-02-23 11:37 ` Daniel Baluta
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Baluta @ 2015-02-23 11:37 UTC (permalink / raw)
To: Yeliz Taneroglu, Joe Perches; +Cc: outreachy-kernel
Hi Yeliz,
On Mon, Feb 23, 2015 at 1:32 PM, Yeliz Taneroglu
<yeliztaneroglu@gmail.com> wrote:
> The following patch fixes the checkpatch.pl warning:
> drivers/staging/rtl8712/drv_types.h WARNING: Missing a blank line after declarations
>
> Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
> ---
> drivers/staging/rtl8712/drv_types.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h
> index 3d0a98b..2522b59 100644
> --- a/drivers/staging/rtl8712/drv_types.h
> +++ b/drivers/staging/rtl8712/drv_types.h
> @@ -129,6 +129,7 @@ struct dvobj_priv {
> struct _adapter *padapter;
> u32 nr_endpoint;
> u8 ishighspeed;
> +
> uint(*inirp_init)(struct _adapter *adapter);
> uint(*inirp_deinit)(struct _adapter *adapter);
> struct usb_device *pusbdev;
> @@ -165,7 +166,9 @@ struct _adapter {
> struct task_struct *cmdThread;
> pid_t evtThread;
> struct task_struct *xmitThread;
> +
> pid_t recvThread;
> +
> uint(*dvobj_init)(struct _adapter *adapter);
> void (*dvobj_deinit)(struct _adapter *adapter);
> struct net_device *pnetdev;
This are *all* false positives.
e.g:
uint(*inirp_init)(struct _adapter *adapter);
Declares a pointer to a function which has one parameter
of type struct _adapter * and returns an uint.
Perhaps, we could fix checkpatch.pl to stop reporting this as warnings.
thanks,
Daniel.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-23 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23 11:32 [PATCH] Staging: rtl8712: Add blank line after declarations Yeliz Taneroglu
2015-02-23 11:37 ` [Outreachy kernel] " Daniel Baluta
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.