Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1192139ybc; Tue, 19 Nov 2019 16:23:21 -0800 (PST) X-Google-Smtp-Source: APXvYqzUyUHW1BCc44NZjZo5a9YrIuegbbbc6zw5irdI1FJbHLFHxnA3bFLL6DrBx+eKAVxbvmmr X-Received: by 2002:a17:906:53cc:: with SMTP id p12mr868916ejo.52.1574209401490; Tue, 19 Nov 2019 16:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574209401; cv=none; d=google.com; s=arc-20160816; b=Ot6182kHqeURzYNs1IV+bqdxVy5+a/pnz1i5mmSWGRdO6fdNZ/MLLfBaDyXwh7hrKb whElXLsZZhwq47E0seKuLVWicyo2/Fk/QXe8NHuEp+ESLZWCabVDJhofJAu619wy7A+r 4esL9WwwmIT4s9OInfw+PxjIoOgwuA4QtBJaH5VCbqZwPw/KhzAmUVByiPv44y+XblMV NDXdr9z8cEF4jn+vnOXi895n09BF81lSfLFS2hGiFfNlfadvda5Nh2EUoX1TOBICHLl/ G2kfyS/uyIFOVD+UZ/WpPmpv7fmrn8kpsNcjyGjQ7MgoesvLewLasxXJSBsqa0qjBcAN HBKA== 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; bh=6kKZG+/QWgG9QI524ABOj/1lUU4Yfilngg7ExfSlvAg=; b=PHKiuGNl2sQummWnGsffd7mfBTV4dNuQpGfnDildW+w5mIQ0ZaVjdpvLVn6DSrYr2+ +UuEYecjdH3SRSyMgHiRj72DnPdXB+6hiI6lrs5RuVr6fCiP0pnhCpDnv5J+hNhRkAS+ h5EWn8eZz9VVwa82VFNGE6M5MX7hOxwH04Q+J+6MvsEBjMJAkGBFQrXZuaL2oViXiy3w +AJ+9w0XCiHy7ss8nKQ7HN6/y7QuYKgW8YsSFzVK1ZVDJ4cOz312GCRSsvJKBKIIKc+0 ZFTBYBM1ftdRnSaFxhKRCyOLss4VJTVFkFgrpZm86FMhcg8jCs1i+xHi5bdxROVyIkzm 9Y9Q== 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 k7si15987550edk.34.2019.11.19.16.22.54; Tue, 19 Nov 2019 16:23:21 -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 S1727417AbfKTAVu (ORCPT + 99 others); Tue, 19 Nov 2019 19:21:50 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:48606 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727202AbfKTAVt (ORCPT ); Tue, 19 Nov 2019 19:21:49 -0500 Received: from [213.220.153.21] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iXDki-0002tu-38; Wed, 20 Nov 2019 00:21:48 +0000 Date: Wed, 20 Nov 2019 01:21:47 +0100 From: Christian Brauner To: Luc Van Oostenryck Cc: linux-kernel@vger.kernel.org, Joel Fernandes Subject: Re: [PATCH] fork: fix pidfd_poll()'s return type Message-ID: <20191120002145.skgtkx2f5dxagx4f@wittgenstein> References: <20191120000722.30605-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191120000722.30605-1-luc.vanoostenryck@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 20, 2019 at 01:07:22AM +0100, Luc Van Oostenryck wrote: > pidfd_poll() is defined as returning 'unsigned int' but the > .poll method is declared as returning '__poll_t', a bitwise type. > > Fix this by using the proper return type and using the EPOLL > constants instead of the POLL ones, as required for __poll_t. > > CC: Joel Fernandes (Google) > CC: Christian Brauner > Signed-off-by: Luc Van Oostenryck Yeah, that makes sense. Thanks. This only misses two tags: Fixes: b53b0b9d9a61 ("pidfd: add polling support") Cc: stable@vger.kernel.org # 5.3 Can you add these two tags to the commit message for v1 and resend with stable@vger.kernel.org Cced, please? Otherwise: Reviewed-by: Christian Brauner