From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, Florian Fainelli <f.fainelli@gmail.com>
Subject: [PATCH net-next 2/6] net: bcmgenet: add missing blank line after declaration
Date: Tue, 22 Jul 2014 10:55:14 -0700 [thread overview]
Message-ID: <1406051718-15883-3-git-send-email-f.fainelli@gmail.com> (raw)
In-Reply-To: <1406051718-15883-1-git-send-email-f.fainelli@gmail.com>
checkpatch flagged a bunch of problems in bcmgenet.h with: WARNING:
Missing a blank line after declarations, fix them.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/ethernet/broadcom/genet/bcmgenet.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.h b/drivers/net/ethernet/broadcom/genet/bcmgenet.h
index 2ef8673943de..73acc7c9b6df 100644
--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.h
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.h
@@ -438,6 +438,7 @@ struct bcmgenet_mib_counters {
struct enet_cb {
struct sk_buff *skb;
void __iomem *bd_addr;
+
DEFINE_DMA_UNMAP_ADDR(dma_addr);
DEFINE_DMA_UNMAP_LEN(dma_len);
};
@@ -503,6 +504,7 @@ struct bcmgenet_tx_ring {
unsigned int prod_index; /* Tx ring producer index SW copy */
unsigned int cb_ptr; /* Tx ring initial CB ptr */
unsigned int end_ptr; /* Tx ring end CB ptr */
+
void (*int_enable)(struct bcmgenet_priv *priv,
struct bcmgenet_tx_ring *);
void (*int_disable)(struct bcmgenet_priv *priv,
--
1.9.1
next prev parent reply other threads:[~2014-07-22 17:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-22 17:55 [PATCH net-next 0/6] net: bcmgenet: checkpatch fixes Florian Fainelli
2014-07-22 17:55 ` [PATCH net-next 1/6] net: bcmgenet: remove FSF mail address Florian Fainelli
2014-07-22 17:55 ` Florian Fainelli [this message]
2014-07-23 4:35 ` [PATCH net-next 2/6] net: bcmgenet: add missing blank line after declaration Joe Perches
2014-07-22 17:55 ` [PATCH net-next 3/6] net: bcmgenet: re-align multiple lines correctly Florian Fainelli
2014-07-23 4:41 ` Joe Perches
2014-07-22 17:55 ` [PATCH net-next 4/6] net: bcmgenet: add and remove missing blank lines Florian Fainelli
2014-07-22 17:55 ` [PATCH net-next 5/6] net: bcmgenet: add missing braces to some if statements Florian Fainelli
2014-07-22 17:55 ` [PATCH net-next 6/6] net: bcmgenet: use kcalloc instead of kzalloc Florian Fainelli
2014-07-22 17:57 ` [PATCH net-next 0/6] net: bcmgenet: checkpatch fixes Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1406051718-15883-3-git-send-email-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).