Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3165133ybf; Tue, 3 Mar 2020 00:30:57 -0800 (PST) X-Google-Smtp-Source: ADFU+vu/7htrEehcFFR8o/Z8DBReQ3Z35kFzfPeokWx5nquH7vHW4m0XN6Ntc32/lxDyerzOgioY X-Received: by 2002:a05:6830:9a:: with SMTP id a26mr2547337oto.273.1583224257409; Tue, 03 Mar 2020 00:30:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583224257; cv=none; d=google.com; s=arc-20160816; b=O5WpYoSMIOvuHRzF2Ad0q4r0SWigQ26KkR/zGa3HzZng3oODKtZ7Z/tv9rjQ5w22JP ea+lsF/SMoH0hAUsYSPDZVqsjPZ5z8h2gSGAXMspOkv+sFRVM4hHRTaGrFo2ae9zGZN+ 2zuWX3/3YrbCJ6vTfyEZEdbrJtoP6WMadWM8ykANvr4yxKzhlVjLshrHAOEf04A4xmR/ kpa5Mp6nSo+g1DBod9Kc+ebrvlFBBiRCgIa5IKmeGiX2i0GfwmN42w+LN/ocOr6uclnN q/orAQa6GEOXj5KsjBt2BtOGiJBptX951pn8h8kxZoz5pe3Qnv07hJvUbAWKn3IEh8q2 PYXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=h4ruGY2nJN2kQafQZoWHDywcmUr610gieiwnUzz/+hI=; b=Pihp7FyMCJ6AN5cMcPInFFi2Wj3Pxg9egSrFYip7h29bb5AcHXIK+4lCwEE7CxBzFs NT7TznBmayFjpd/WrPPWoBEhKGB3ysxzOObSAqSHXdb0BmOWG9wQ4H2iCUM7EoAUunqw ZhcfOM7oaZdyGVQmhCkPBXJLhQvhDe+psJU2JOVVJxW1+39xC7gmIXbl5drXxR8SNqBC b7PK+MvxpvYfGjwkQ4HK2kWUZ/DEt9ufPe1C453+OIQkTm4XMZhAQ2UMcyVqvii9sPuq kTImyu2K9mDHUHxM11zLkijZGS3OZYK2MtzNmXqRPjEOgKeSN3RPNFXFHxbgrKtrC0Jn MYwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13si4454516otm.104.2020.03.03.00.30.45; Tue, 03 Mar 2020 00:30:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727741AbgCCIaT (ORCPT + 99 others); Tue, 3 Mar 2020 03:30:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:57648 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725440AbgCCIaT (ORCPT ); Tue, 3 Mar 2020 03:30:19 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id ADABEB1FB; Tue, 3 Mar 2020 08:30:17 +0000 (UTC) Subject: Re: [PATCH] xen: Use 'unsigned int' instead of 'unsigned' To: Yan Yankovskyi Cc: Boris Ostrovsky , Juergen Gross , Stefano Stabellini , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20200229223035.GA28145@kbp1-lhp-F74019> <20200302221826.GA18206@kbp1-lhp-F74019> From: Jan Beulich Message-ID: <38739aa0-200e-fd46-ea38-c30a6aa69561@suse.com> Date: Tue, 3 Mar 2020 09:30:17 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200302221826.GA18206@kbp1-lhp-F74019> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02.03.2020 23:18, Yan Yankovskyi wrote: > On Mon, Mar 2, 2020 at 10:11 Jan Beulich wrote: >> ... evtchn_port_t here and elsewhere. > > There are some interfaces with signed int as a type for port, e.g. in > include/xen/events.h. > Should I create additional patch to resolve inconsistency with evtchn > interface? > Or you suggest combining these changes into the existing patch? Signed <-> unsigned conversions would perhaps better go into a separate patch. But note I'm not the maintainer of this code. > Also as I understand 'evtchn' and 'port' are essentially the same > entities from perspective of local domain, related to each other roughly > like connection and file descriptor pair. What do you think about > renaming all 'evtchn' arguments and variables to 'port'? > It will eliminate inconsistencies in the code, for example > in include/xen/interface/event_channel.h and include/xen/events.h. I'd welcome this, but the maintainers will have the final say. Jan