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


Groups > linux.kernel > #1523761

Re: [BUG] X86: Removing inline decl on arch/x86/include/asm/desc.h.

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [BUG] X86: Removing inline decl on arch/x86/include/asm/desc.h.
Date Wed, 16 Nov 2016 20:20:01 +0100
Message-ID <sEdUt-70N-7@gated-at.bofh.it> (permalink)
References <sEdUt-70N-9@gated-at.bofh.it>
X-Original-To Corcodel Marian <asd@marian1000.go.ro>
User-Agent Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
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 12
Organization linux.* mail to news gateway
X-Original-Cc netdev@vger.kernel.org, Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>, Realtek linux nic maintainers <nic_swsd@realtek.com>, x86@kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Wed, 16 Nov 2016 20:16:25 +0100 (CET)
X-Original-Message-ID <alpine.DEB.2.20.1611162005320.3697@nanos>
X-Original-References <1479239164-7721-1-git-send-email-asd@marian1000.go.ro>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1523761

Show key headers only | View raw


On Tue, 15 Nov 2016, Corcodel Marian wrote:
>  Inline declarations suppress warning message from compiler but
>  most of these functions was declared static and is not used local on file.

Huch? This is a header file and the functions are marked inline on purpose.

Can you please explain what you are trying to achieve and why you think
that this is a good idea?

Thanks,

	tglx

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


Thread

Re: [BUG] X86: Removing inline decl on  arch/x86/include/asm/desc.h. Thomas Gleixner <tglx@linutronix.de> - 2016-11-16 20:20 +0100
  Re: [BUG] X86: Removing inline decl on arch/x86/include/asm/desc.h. Eric Dumazet <eric.dumazet@gmail.com> - 2016-11-16 21:20 +0100

csiph-web