From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751351AbdFEPas (ORCPT ); Mon, 5 Jun 2017 11:30:48 -0400 Received: from mail-pg0-f45.google.com ([74.125.83.45]:33529 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751162AbdFEPaq (ORCPT ); Mon, 5 Jun 2017 11:30:46 -0400 Date: Mon, 5 Jun 2017 08:30:38 -0700 From: Stephen Hemminger To: Steven Rostedt Cc: Andy Shevchenko , Stephen Hemminger , Jork Loeser , Haiyang Zhang , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Ingo Molnar , Andy Lutomirski , "H. Peter Anvin" , devel@linuxdriverproject.org, Vitaly Kuznetsov , Thomas Gleixner Subject: Re: [PATCH v4 02/10] x86/hyper-v: stash the max number of virtual/logical processor Message-ID: <20170605083038.753a27e5@xeon-e3> In-Reply-To: <20170605112427.7994a3af@gandalf.local.home> References: <20170524120405.19079-1-vkuznets@redhat.com> <20170524120405.19079-3-vkuznets@redhat.com> <20170605112427.7994a3af@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 5 Jun 2017 11:24:27 -0400 Steven Rostedt wrote: > On Sat, 27 May 2017 20:43:58 +0300 > Andy Shevchenko wrote: > > > On Wed, May 24, 2017 at 3:03 PM, Vitaly Kuznetsov wrote: > > > Max virtual processor will be needed for 'extended' hypercalls supporting > > > more than 64 vCPUs. While on it, unify on 'Hyper-V' in mshyperv.c as we > > > currently have a mix, report acquired misc features as well. > > > > > > Signed-off-by: Vitaly Kuznetsov > > > Acked-by: K. Y. Srinivasan > > > Tested-by: Simon Xiao > > > Tested-by: Srikanth Myakam > > > > > + u32 max_vp_index; > > > + u32 max_lp_index; > > > > > + pr_info("Hyper-V: max %d virtual processors, %d logical processors\n", > > > + ms_hyperv.max_vp_index, ms_hyperv.max_lp_index); > > > > And surprisingly no-one from the above list did not get a warning?! Gcc 6.3 does not warn when %d is used on unsigned values. > Begs to question how many other warnings are they ignoring? None.