linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: gaurav1086@gmail.com
Cc: kuba@kernel.org, mkubecek@suse.cz, f.fainelli@gmail.com,
	andrew@lunn.ch, linux@rempel-privat.de, yuehaibing@huawei.com,
	ayal@mellanox.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [net/ethtool] ethnl_set_linkmodes: remove redundant null check
Date: Mon, 03 Aug 2020 15:12:22 -0700 (PDT)	[thread overview]
Message-ID: <20200803.151222.446729320721620447.davem@davemloft.net> (raw)
In-Reply-To: <20200731045908.32466-1-gaurav1086@gmail.com>

From: Gaurav Singh <gaurav1086@gmail.com>
Date: Fri, 31 Jul 2020 00:58:44 -0400

> info cannot be NULL here since its being accessed earlier
> in the function: nlmsg_parse(info->nlhdr...). Remove this
> redundant NULL check.
> 
> Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Applied, thank you.

      parent reply	other threads:[~2020-08-03 22:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-31  4:58 [PATCH] [net/ethtool] ethnl_set_linkmodes: remove redundant null check Gaurav Singh
2020-07-31 13:54 ` Michal Kubecek
2020-08-03 22:12 ` David Miller [this message]

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=20200803.151222.446729320721620447.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=andrew@lunn.ch \
    --cc=ayal@mellanox.com \
    --cc=f.fainelli@gmail.com \
    --cc=gaurav1086@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rempel-privat.de \
    --cc=mkubecek@suse.cz \
    --cc=netdev@vger.kernel.org \
    --cc=yuehaibing@huawei.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;
as well as URLs for NNTP newsgroup(s).