From: Heinrich Schuchardt <hidden> Date: 2016-07-31 10:07:58
Assigning NULL to parmeter dcb has no effect outside of the
inlined function.
Signed-off-by: Heinrich Schuchardt <redacted>
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h | 1 -
1 file changed, 1 deletion(-)
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." ?
On Sun, Jul 31, 2016 at 6:07 PM, Heinrich Schuchardt [off-list ref] wrote:
quoted hunk
Assigning NULL to parmeter dcb has no effect outside of the
inlined function.
Signed-off-by: Heinrich Schuchardt <redacted>
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h | 1 -
1 file changed, 1 deletion(-)
From: David Miller <davem@davemloft.net> Date: 2016-08-01 03:33:44
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.