From: Joe Perches <joe@perches.com>
To: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: davem@davemloft.net, Mitch Williams <mitch.a.williams@intel.com>,
netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com,
jogreene@redhat.com
Subject: Re: [net-next 12/15] i40evf: make checkpatch happy
Date: Tue, 18 Nov 2014 20:59:45 -0800 [thread overview]
Message-ID: <1416373185.6651.12.camel@perches.com> (raw)
In-Reply-To: <1416370256-16834-13-git-send-email-jeffrey.t.kirsher@intel.com>
On Tue, 2014-11-18 at 20:10 -0800, Jeff Kirsher wrote:
> This patch is the result of running checkpatch on the i40evf driver with
> the --strict option. The vast majority of changes are adding/removing
> blank lines, aligning function parameters, and correcting over-long
> lines.
Hey Mitch, Jeff:
> diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
[]
> @@ -1265,8 +1269,8 @@ int i40evf_init_interrupt_scheme(struct i40evf_adapter *adapter)
> }
>
> dev_info(&adapter->pdev->dev, "Multiqueue %s: Queue pair count = %u",
> - (adapter->num_active_queues > 1) ? "Enabled" :
> - "Disabled", adapter->num_active_queues);
> + (adapter->num_active_queues > 1) ? "Enabled" : "Disabled",
> + adapter->num_active_queues);
You could add a newline to that format one day.
> diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c b/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
[]
> @@ -711,7 +712,6 @@ void i40evf_virtchnl_completion(struct i40evf_adapter *adapter,
> "%s: Unknown event %d from pf\n",
> __func__, vpe->event);
> break;
> -
> }
> return;
> }
> @@ -776,7 +776,7 @@ void i40evf_virtchnl_completion(struct i40evf_adapter *adapter,
> break;
> default:
> dev_warn(&adapter->pdev->dev, "%s: Received unexpected message %d from PF\n",
> - __func__, v_opcode);
> + __func__, v_opcode);
> break;
> } /* switch v_opcode */
> adapter->current_op = I40E_VIRTCHNL_OP_UNKNOWN;
And be consistent with PF vs pf usage too.
next prev parent reply other threads:[~2014-11-19 4:59 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-19 4:10 [net-next 00/15][pull request] Intel Wired LAN Driver Updates 2014-11-18 Jeff Kirsher
2014-11-19 4:10 ` [net-next 01/15] ixgbevf: Update ixgbevf_alloc_rx_buffers to handle clearing of status bits Jeff Kirsher
2014-11-19 4:10 ` [net-next 02/15] ixgbevf: Test Rx status bits directly out of the descriptor Jeff Kirsher
2014-11-19 4:10 ` [net-next 03/15] ixgbevf: Combine the logic for post Rx processing into single function Jeff Kirsher
2014-11-19 4:10 ` [net-next 04/15] ixgbevf: Cleanup variable usage, improve stack performance Jeff Kirsher
2014-11-19 4:10 ` [net-next 05/15] ixgbevf: reorder main loop in ixgbe_clean_rx_irq to allow for do/while/continue Jeff Kirsher
2014-11-19 4:10 ` [net-next 06/15] ixgbevf: Update Rx next to clean in real time Jeff Kirsher
2014-11-19 4:10 ` [net-next 07/15] ixgbevf: Change receive model to use double buffered page based receives Jeff Kirsher
2014-11-19 18:24 ` Alexander Duyck
2014-11-19 23:06 ` Tantilov, Emil S
2014-11-19 4:10 ` [net-next 08/15] ixgbevf: compare total_rx_packets and budget in ixgbevf_clean_rx_irq Jeff Kirsher
2014-11-19 4:10 ` [net-next 09/15] ixgbevf: add netpoll support Jeff Kirsher
2014-11-19 4:10 ` [net-next 10/15] i40e: don't overload fields Jeff Kirsher
2014-11-19 4:10 ` [net-next 11/15] i40evf: update header comments Jeff Kirsher
2014-11-19 4:10 ` [net-next 12/15] i40evf: make checkpatch happy Jeff Kirsher
2014-11-19 4:59 ` Joe Perches [this message]
2014-11-19 9:55 ` Jeff Kirsher
2014-11-19 4:10 ` [net-next 13/15] i40evf: make comparisons consistent Jeff Kirsher
2014-11-19 4:10 ` [net-next 14/15] i40evf: remove unnecessary else Jeff Kirsher
2014-11-19 4:10 ` [net-next 15/15] i40e: trigger SW INT with no ITR wait Jeff Kirsher
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=1416373185.6651.12.camel@perches.com \
--to=joe@perches.com \
--cc=davem@davemloft.net \
--cc=jeffrey.t.kirsher@intel.com \
--cc=jogreene@redhat.com \
--cc=mitch.a.williams@intel.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@redhat.com \
--cc=sassmann@redhat.com \
/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 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.