From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756303AbcHBHK1 (ORCPT ); Tue, 2 Aug 2016 03:10:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:56409 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751640AbcHBHKF (ORCPT ); Tue, 2 Aug 2016 03:10:05 -0400 Subject: Re: [PATCH linux v2] xen: change the type of xen_vcpu_id to uint32_t To: Vitaly Kuznetsov , xen-devel@lists.xenproject.org References: <1469783208-16841-1-git-send-email-vkuznets@redhat.com> Cc: linux-kernel@vger.kernel.org, Boris Ostrovsky , David Vrabel , Stefano Stabellini , Julien Grall From: Juergen Gross Message-ID: <86d45eaf-14fe-6aba-c409-e1d245be9541@suse.com> Date: Tue, 2 Aug 2016 09:08:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <1469783208-16841-1-git-send-email-vkuznets@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/07/16 11: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. > > Signed-off-by: Vitaly Kuznetsov Reviewed-by: Juergen Gross Thanks, Juergen