From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 3/3] x86/HPET: cache MSI message last written Date: Fri, 19 Oct 2012 10:32:56 +0100 Message-ID: References: <5081241402000078000A2837@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5081241402000078000A2837@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 19/10/2012 08:57, "Jan Beulich" wrote: >>> That wouldn't be correct: The function _is_ unused (and there's >>> no issue if it was used afaik), and the __used__ attribute ought >>> to tell the compiler to keep the function around despite not >>> having (visible to it) callers. >> >> Perhaps our __attribute_used__ definition should change, then? > > I don't think so - this has its own value as is. We may want to add > a Linux-like __maybe_unused, though. Could you do that, and add comments to the definitions of __attribute_used__ and __maybe_unused, describing exactly what they are to be used for? Thanks, Keir