Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2723699ybf; Mon, 2 Mar 2020 14:19:02 -0800 (PST) X-Google-Smtp-Source: ADFU+vv1pOhZpUnZXKvHaaMatxWEhjrhcn4mGwb6jv9+xebtlHSyJvzsq6h+W/gFFD+jhpxCLMId X-Received: by 2002:a9d:7c85:: with SMTP id q5mr1063608otn.341.1583187542491; Mon, 02 Mar 2020 14:19:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583187542; cv=none; d=google.com; s=arc-20160816; b=jQ3lVsb3JUGzeu2bIDcTTu8SsZ34CHRsTRBxEfGEPzQwfWsV79waRxVQN+O7ZyKUf8 YMdoW7d+IYA6HeMw3FQoOnj6mVNYq08m1Fig8JLH6K7XzwInpnGrXUg2luIutvDx4KPv Q6hx4pujfCqVnTqBiQVx8OlPP3rR7OwbImeQfYonxwwF0xeocHoCiewPT6uemTE5sd/Z kKVkH0m8ZU1QN3rNU9kwoKICTQfceXDd+33JcSgN8zj5Fsw44DAUVN9klcdFMcp8lpsI zxwO70V6d61+tEy90uvrlypXF1UkCxvLfogFSUZkSS+hwYmWDxLDq9vTzu56tfd3f9A7 MDdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7SzOkQ6sd0S38QbCyvRBb51L6pZuZ/wIs7mZk/AE8Pw=; b=MyFgp3nrU9GiVt9iKzKqRE9hfTg1CBbC7b8C9SVgukLbON0nAzPS5JxvstRytpddXh VInwKu4DkHIy+LrdjDo5Kz9IImjHffnqlVfRYU8K+Z6iB/mnsQctg3VDN82JTnh4FBX8 ogmP6RFeIMUa7d/rALj1AvLomr/e3ZnMFIIuTQmtqa/0VVK8UGGZngLmFWCbvnQ5d/Hw STRKlNBHgYecIfVu08FwVRKhwjhRbJY0pop1gKkvKPETvBTSuojRbpdLmcGAWReREuAt D6xt7GWQNENjwCAS/lGiuRaZr2pSVL/0Jy1m4pIKe+NuyJUZWShNMeb1xlA3bY7HGDiq HXuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kgawhBRi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k19si6726981otr.52.2020.03.02.14.18.42; Mon, 02 Mar 2020 14:19:02 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kgawhBRi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726880AbgCBWSc (ORCPT + 99 others); Mon, 2 Mar 2020 17:18:32 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:33169 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbgCBWSc (ORCPT ); Mon, 2 Mar 2020 17:18:32 -0500 Received: by mail-wm1-f67.google.com with SMTP id a25so927969wmm.0 for ; Mon, 02 Mar 2020 14:18:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7SzOkQ6sd0S38QbCyvRBb51L6pZuZ/wIs7mZk/AE8Pw=; b=kgawhBRi1VrmDrFQgMsBn4QCL75ooMSD9VNmosY5S3toaV/UEeN1KOGOzB9S+PihJ2 VgcendwtfFF8Yuro0+zjcX244T16q40fqWiIgydyr3QsTRB4Ah7hMJfeNJdeikmYMhaf 8OsvnXkbeahCDsIwE0bc/Pf9vIggdDY+JQ9yu4QR6mavsRFL5PFtCafZFAwx+dB3OyWc FE82+w+okkwiBhn5h1tDzh/7lZ4Qxnnvq9RKZ5egWB+mGT4tj4dKLJM/7hIawNB0v3PI VTGgdzqMNReByXDKrZrjhjRIs3NcZJOcDYhejKvLlZCAM9YtiwYJo+mhJxk5HtME0bsJ RwQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7SzOkQ6sd0S38QbCyvRBb51L6pZuZ/wIs7mZk/AE8Pw=; b=o3PsQiXf/1O/0NwaXYJ7v4/ou2JHdI4+9LFgqxLLTiEkdtALSJm2LkITpbeSclOjDG 9259qzz7bZ5EvM3g3Mor7D4HZAGHK17aOWMZTqTQKs0BZpZbN0JYjSNl3/2nukbq5y8S H9qL2TACntoliBxcyJZ0l1E0m35Dcle/5iQrvpN86ZtkoDNrijy+yY35NP5Yzw/uKSPH afF/VmdvrrehoMzeVFSefH0TQkJp/ImuSF42UacoJzQ8zXsBMBXAasPgRq9Ub6Vw2IyI IQSaWMN/+kmVkfBwJ8oB+G+TBlfIuln/163fYXcs4FiOAlQ3U7QPWqcTQWSax3lRiwa2 CSrg== X-Gm-Message-State: ANhLgQ2WY9pOEBvegmS8wAX2iDvb6bv3CZsI+l/qlFQsBfrhk6DaBl68 lGCECfBA29l0PXD//t7bN1s= X-Received: by 2002:a1c:41c3:: with SMTP id o186mr480436wma.27.1583187509682; Mon, 02 Mar 2020 14:18:29 -0800 (PST) Received: from kbp1-lhp-F74019 (a81-14-236-68.net-htp.de. [81.14.236.68]) by smtp.gmail.com with ESMTPSA id g187sm586933wma.5.2020.03.02.14.18.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Mar 2020 14:18:29 -0800 (PST) Date: Tue, 3 Mar 2020 00:18:26 +0200 From: Yan Yankovskyi To: Jan Beulich Cc: Boris Ostrovsky , Juergen Gross , Stefano Stabellini , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xen: Use 'unsigned int' instead of 'unsigned' Message-ID: <20200302221826.GA18206@kbp1-lhp-F74019> References: <20200229223035.GA28145@kbp1-lhp-F74019> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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.