[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 3/3] libxc: do not return a value from xc_cpuid_policy



On Thu, Jun 28, 2018 at 10:07:00AM +0200, Roger Pau Monné wrote:
> On Thu, Jun 28, 2018 at 09:45:06AM +0200, Roger Pau Monné wrote:
> > On Thu, Jun 28, 2018 at 08:31:49AM +0100, Wei Liu wrote:
> > > On Thu, Jun 28, 2018 at 09:29:32AM +0200, Roger Pau Monné wrote:
> > > > On Wed, Jun 27, 2018 at 03:49:30PM +0100, Wei Liu wrote:
> > > > > On Wed, Jun 27, 2018 at 04:32:14PM +0200, Roger Pau Monne wrote:
> > > > > > None of the called functions return any errors, so there's no point 
> > > > > > in
> > > > > > returning an int from xc_cpuid_policy.
> > > > > > 
> > > > > > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> > > > > 
> > > > > What is the plan for this function? I expect it (and its children) to 
> > > > > go
> > > > > away soon?
> > > > 
> > > > This is likely to go away with further cpuid work.
> > > > 
> > > > > You can also delete xch, I think. It is not used.
> > > > 
> > > > Right, I left it because all the xc_cpuid_* take xch as the first
> > > > parameter. If I remove it here I will have to remove it from the
> > > > _intel, _amd, _hvm and _pv helpers.
> > > 
> > > If this and its leaf functions are going away soon-ish I'm fine with
> > > less code churn.
> > 
> > Hm, I'm not removing all of them, so let me add another patch on top
> > of this one to remove the xch parameter.
> 
> Here it is, since the rest of the patches are already Acked I'm just
> appending it here. Let me know if you prefer me to send it to the list
> together with the rest of the series.
> 
> ---8<---
> From c15f795af8311d12222c85454c9d82a12621057a Mon Sep 17 00:00:00 2001
> From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
> Date: Thu, 28 Jun 2018 09:54:48 +0200
> Subject: [PATCH 4/3] libxc: remove xch parameter from xc_cpuid_policy
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> It's not used by the function or any of the helpers called by it.
> 
> Reported-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>


Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.