From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754958AbcHXRoM (ORCPT ); Wed, 24 Aug 2016 13:44:12 -0400 Received: from smtp.citrix.com ([66.165.176.89]:33342 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754771AbcHXRoF (ORCPT ); Wed, 24 Aug 2016 13:44:05 -0400 X-IronPort-AV: E=Sophos;i="5.28,571,1464652800"; d="scan'208";a="374276210" Subject: Re: [Xen-devel] [PATCH linux v2] xen: change the type of xen_vcpu_id to uint32_t To: Vitaly Kuznetsov , References: <1469783208-16841-1-git-send-email-vkuznets@redhat.com> CC: Juergen Gross , Stefano Stabellini , , Julien Grall , David Vrabel , "Boris Ostrovsky" From: David Vrabel Message-ID: <57BDDCC9.8070908@citrix.com> Date: Wed, 24 Aug 2016 18:43:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <1469783208-16841-1-git-send-email-vkuznets@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/07/16 10:06, Vitaly Kuznetsov wrote: > We pass xen_vcpu_id mapping information to hypercalls which require > uint32_t type so it would be cleaner to have it as uint32_t. The > initializer to -1 can be dropped as we always do the mapping before using > it and we never check the 'not set' value anyway. Applied to for-linus-4.8b, thanks. David