Netdev List
 help / color / mirror / Atom feed
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, gospo@redhat.com, sassmann@redhat.com
Subject: Re: [net-next 04/15] i40evf: remove unnecessary log messages
Date: Sun, 08 Jun 2014 10:23:42 -0700	[thread overview]
Message-ID: <1402248222.6328.8.camel@joe-AO725> (raw)
In-Reply-To: <1402238037-20661-5-git-send-email-jeffrey.t.kirsher@intel.com>

On Sun, 2014-06-08 at 07:33 -0700, Jeff Kirsher wrote:
> From: Mitch Williams <mitch.a.williams@intel.com>

A slightly associated trivial note:

One day it'd be nicer to use the same "if (!foo)"
test style everywhere.

> diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
[]
> @@ -662,12 +661,9 @@ i40evf_vlan_filter *i40evf_add_vlan(struct i40evf_adapter *adapter, u16 vlan)
[]
>  		f = kzalloc(sizeof(*f), GFP_ATOMIC);
> -		if (NULL == f) {
> -			dev_info(&adapter->pdev->dev,
> -				 "%s: no memory for new VLAN filter\n",
> -				 __func__);
> +		if (NULL == f)
>  			return NULL;
> -		}
> +

[]

> @@ -1610,11 +1603,9 @@ static void i40evf_adminq_task(struct work_struct *work)
>  
>  	event.msg_size = I40EVF_MAX_AQ_BUF_SIZE;
>  	event.msg_buf = kzalloc(event.msg_size, GFP_KERNEL);
> -	if (!event.msg_buf) {
> -		dev_info(&adapter->pdev->dev, "%s: no memory for ARQ clean\n",
> -				 __func__);
> +	if (!event.msg_buf)
>  		return;
> -	}
> +

  reply	other threads:[~2014-06-08 17:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-08 14:33 [net-next 00/15][pull request] Intel Wired LAN Driver Updates 2014-06-08 Jeff Kirsher
2014-06-08 14:33 ` [net-next 01/15] i40e/i40evf: fix rx descriptor status Jeff Kirsher
2014-06-08 14:33 ` [net-next 02/15] i40e/i40evf: Fix code to accommodate i40e_register.h changes Jeff Kirsher
2014-06-08 14:33 ` [net-next 03/15] i40e/i40evf: Clean up a few things Jeff Kirsher
2014-06-08 14:33 ` [net-next 04/15] i40evf: remove unnecessary log messages Jeff Kirsher
2014-06-08 17:23   ` Joe Perches [this message]
2014-06-08 14:33 ` [net-next 05/15] i40evf: remove bogus comment Jeff Kirsher
2014-06-08 14:33 ` [net-next 06/15] i40evf: clean up log message formatting Jeff Kirsher
2014-06-08 14:33 ` [net-next 07/15] i40evf: use correct format for printing MAC addresses Jeff Kirsher
2014-06-08 14:33 ` [net-next 08/15] i40e: Fix incorrect feature configuration status Jeff Kirsher
2014-06-08 14:33 ` [net-next 09/15] i40e: clear pxe after adminq is rebuilt Jeff Kirsher
2014-06-08 14:33 ` [net-next 10/15] i40e: not all VSIs have rings Jeff Kirsher
2014-06-08 14:33 ` [net-next 11/15] i40e/i40evf: remove chatty reset messages Jeff Kirsher
2014-06-08 17:34   ` Joe Perches
2014-06-08 19:06     ` Williams, Mitch A
2014-06-08 14:33 ` [net-next 12/15] i40e/i40evf: fix TSO accounting Jeff Kirsher
2014-06-08 14:33 ` [net-next 13/15] i40e/i40evf: fix poll weight Jeff Kirsher
2014-06-08 14:33 ` [net-next 14/15] i40e/i40evf: remove deprecated device IDs Jeff Kirsher
2014-06-08 14:33 ` [net-next 15/15] i40e/i40evf: Bump build version Jeff Kirsher
2014-06-08 21:08 ` [net-next 00/15][pull request] Intel Wired LAN Driver Updates 2014-06-08 David Miller

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=1402248222.6328.8.camel@joe-AO725 \
    --to=joe@perches.com \
    --cc=davem@davemloft.net \
    --cc=gospo@redhat.com \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=mitch.a.williams@intel.com \
    --cc=netdev@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox