Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp991147ybm; Wed, 22 May 2019 15:20:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaaLhG8hxHs1j7+Uewmb10w0EkjYHS5pG0OOwsk7EVCEPq4DgOaetH8HEti9702KRtGRKR X-Received: by 2002:a63:1d05:: with SMTP id d5mr92107727pgd.157.1558563641347; Wed, 22 May 2019 15:20:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558563641; cv=none; d=google.com; s=arc-20160816; b=xGWMzkGZKGqNSUjDRorBKzDWXdSAYmllRQQ3UfT+nNh4FAUghi27x5j9oB92hJ8YFD JKBuH5fOCWqo3W/YGsGdnLMDg9+iaiUrM7HBxyvLGyJ0u/GHRNTspjzGiDPzWQaaJ8wj j8RzOvo8CLN5wUyIDicdNYKL0Gx19KvcQEAH02ve5beJhtQDGuN+Mw4V5kEWEjuQ7l9S JKyMyzO2P2H1sMk8uv1ZrKgXxYJ9zlYlRbw8Q8/327GTsKVB+oAzQjmMjy7JykIsKOc6 QfssRH7Ryx1b+AwhLxXpHznpx5mDCSnZiVaaBEBoAPOctKuhgju482LUndPuTBCW2GdU 3tUQ== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=Jd0RSCXoP1EdL1cjt/xgeuNaQX2V7Ph/JBkgB7uNH0g=; b=ZYpH/zmmsMCF5R6mVaFwPbAvF9VJugwLWPxGYRvSQN8ZW2EbLABQ4RY71ARgpde6b9 vLzGe+du79rysTPdmwH2kwtN0UmIb52Wta+g1+bv8onlRUIObQkeAWlUx7uanvQPtOYL 8Xc5/g2w+mmvKhCnyPBSpdYn26E2bNgHc4/3TzzAtFsPyu7PWpm0+IYSPwfoyi1r9FfX jw+zx6nUYEOg9HXtHuuinowPg9pR5/asHhoGd/835l33e9NJ6EGT22YNjM4pga+f5dle 1VlgHmBZNBkWze3s0udVeHTPZWvP6tSxVYqjmktgzOtVKyWKelaVC6Lux66O/GobYT80 QcgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b="GXLavN/7"; 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=NONE dis=NONE) header.from=chrisdown.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q203si25980998pgq.384.2019.05.22.15.20.26; Wed, 22 May 2019 15:20:41 -0700 (PDT) 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=@chrisdown.name header.s=google header.b="GXLavN/7"; 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=NONE dis=NONE) header.from=chrisdown.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728502AbfEVWSI (ORCPT + 99 others); Wed, 22 May 2019 18:18:08 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42054 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727899AbfEVWSI (ORCPT ); Wed, 22 May 2019 18:18:08 -0400 Received: by mail-pg1-f194.google.com with SMTP id e17so1859091pgo.9 for ; Wed, 22 May 2019 15:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :in-reply-to:user-agent; bh=Jd0RSCXoP1EdL1cjt/xgeuNaQX2V7Ph/JBkgB7uNH0g=; b=GXLavN/7grE6LNJqyGhvPPesKBk185WFjgJna7ETOIJBaq1hY/O3DZYH9mqYTRPG6J GdFKCMBa8+OJJ7SXTg/NgAmRQpnKKVfSSiZLmo2keKmw0ot67menzPS8qFUMaPrsgUDO GNub7HFs2rNTz94sRTH62HK1i3T4MLXdmoCYI= 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:mime-version :content-disposition:in-reply-to:user-agent; bh=Jd0RSCXoP1EdL1cjt/xgeuNaQX2V7Ph/JBkgB7uNH0g=; b=etYOGF3PZX2lZZ7m1//Usl8rE+9POhSF7fERskw9NccNX+FbPFvhQFYcBerKUFmzAU hU6T2v9O70OFOtCwR3IeeYzNy4TYFGdhOyblHC8ClUJKSUy6SbYkJWq70fsdI1HaUJGD 1rGr3QMvLHADcvgenRShG5mPm8muFp0iHsu/HBwOUDuNapPfXjrzCStUX085gFiGdRIv sZhZAHb8Bmvq2J7GwMSzpgTsy8IwnRqJNzMLYDjPgUbnhylQUpKAI9GXn7fphz3R/NvC Up3V3tRDlm3jeBjxhQZFCpo5ydeZSJXi/9lTE4VHazzEZnl2PMaiPS+ZGxQoSxWYgLcX upcQ== X-Gm-Message-State: APjAAAUw2X9LvDhbCaIaQnWcANcPuyv/W/9KNLynlzNTey8Y9/h7t/rY pf155NQtPkhNkibBIT9cMUFfyQ== X-Received: by 2002:a63:6f0b:: with SMTP id k11mr92068194pgc.342.1558563487623; Wed, 22 May 2019 15:18:07 -0700 (PDT) Received: from localhost ([2620:10d:c091:500::e733]) by smtp.gmail.com with ESMTPSA id l7sm28232045pfl.9.2019.05.22.15.18.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 22 May 2019 15:18:06 -0700 (PDT) Date: Wed, 22 May 2019 18:18:05 -0400 From: Chris Down To: deepa.kernel@gmail.com Cc: akpm@linux-foundation.org, arnd@arndb.de, axboe@kernel.dk, dave@stgolabs.net, dbueso@suse.de, e@80x24.org, jbaron@akamai.com, linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, oleg@redhat.com, omar.kilani@gmail.com, stable@vger.kernel.org, tglx@linutronix.de, viro@zeniv.linux.org.uk, linux-mm@kvack.org Subject: Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask() Message-ID: <20190522221805.GA30062@chrisdown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190522032144.10995-1-deepa.kernel@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Cc: linux-mm, since this broke mmots tree and has been applied there This patch is missing a definition for signal_detected in io_cqring_wait, which breaks the build. diff --git fs/io_uring.c fs/io_uring.c index b785c8d7efc4..b34311675d2d 100644 --- fs/io_uring.c +++ fs/io_uring.c @@ -2182,7 +2182,7 @@ static int io_cqring_wait(struct io_ring_ctx *ctx, int min_events, { struct io_cq_ring *ring = ctx->cq_ring; sigset_t ksigmask, sigsaved; - int ret; + int ret, signal_detected; if (io_cqring_events(ring) >= min_events) return 0;