Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452955

Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement
Date Mon, 01 Aug 2016 05:40:01 +0200
Message-ID <s1cf7-Qb-9@gated-at.bofh.it> (permalink)
References <s0VQZ-79F-21@gated-at.bofh.it> <s1bCp-gK-5@gated-at.bofh.it>
X-Original-To zyjzyj2000@gmail.com
X-Mailer Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
MIME-Version 1.0
Content-Type Text/Plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Greylist Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 31 Jul 2016 20:32:49 -0700 (PDT)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 14
Organization linux.* mail to news gateway
X-Original-Cc xypron.glpk@gmx.de, Dept-GELinuxNICDev@qlogic.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Sun, 31 Jul 2016 20:32:47 -0700 (PDT)
X-Original-Message-ID <20160731.203247.112564519224260656.davem@davemloft.net>
X-Original-References <1469959657-1342-1-git-send-email-xypron.glpk@gmx.de> <CAD=hENdsPG5u77N0vEnapSPmkJrLsPcXBUJ82s6msVX72sAi1g@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1452955

Show key headers only | View raw


From: zhuyj <zyjzyj2000@gmail.com>
Date: Mon, 1 Aug 2016 10:57:20 +0800

> Sorry.
> An inline function will be inserted into the calling function. Why
> "Assigning NULL to parmeter dcb has no effect outside of the
> inlined function." ?

It doesn't do anything to "dcb" in the calling function, that's not
how inlining works.

The inlined function behaves exactly as if it were called as a
non-inline function from the perspective of side effects visible to
the program.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] net: qlcnic: avoid superfluous assignement Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-07-31 12:10 +0200
  Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement zhuyj <zyjzyj2000@gmail.com> - 2016-08-01 05:00 +0200
    Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement David Miller <davem@davemloft.net> - 2016-08-01 05:40 +0200
  Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement David Miller <davem@davemloft.net> - 2016-08-01 22:50 +0200

csiph-web