[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170918140934.GA2512@kroah.com>
Date: Mon, 18 Sep 2017 16:09:34 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: srinivas.kandagatla@...aro.org
Cc: linux-kernel@...r.kernel.org,
Masahiro Yamada <yamada.masahiro@...ionext.com>
Subject: Re: [PATCH 3/4] nvmem: remove inline in drivers/nvmem/core.c
On Mon, Sep 11, 2017 at 11:00:13AM +0200, srinivas.kandagatla@...aro.org wrote:
> From: Masahiro Yamada <yamada.masahiro@...ionext.com>
>
> These two functions are defined in .c file, but called just once
> (at least for now). So, the compiler will fold them into their
> callers even without the "inline" markers.
>
> However, this kind of optimization should not be done by hand.
> It is compiler's judge after all.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
> ---
> drivers/nvmem/core.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
This isn't really a bugfix, so should wait for 4.15-rc1.
thanks,
greg k-h
Powered by blists - more mailing lists