Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2375118ybf; Mon, 2 Mar 2020 07:25:15 -0800 (PST) X-Google-Smtp-Source: ADFU+vuW1tR6Ujvplqn2+726QA4IRGXW+6e9NWaWuerCVrgyMvUBrL2dAk/qlhZNIsGFeyo7IhFk X-Received: by 2002:a05:6808:1:: with SMTP id u1mr35009oic.74.1583162715107; Mon, 02 Mar 2020 07:25:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583162715; cv=none; d=google.com; s=arc-20160816; b=n6jTZKW8xGm95T5jt4oSzKav+HJxsB3+wgHA+P7qIweBZi4psvw1WbmVa7Vnc/AxGz 2xe8Cajke5j5P9K24T4mrpvqp74b5UXtu2j5W74NDRCzU3e1wb8sqbznlYoGGEaAAYge zpkVRnZaFwoLdhhr7V/vxGsnQiSH+ia1OvtsJpCs0/ft7V3dEvjlbr/D2R8WfwCXjVTI dchlwGueQdHwKYQRxHkjxnnufOs7k+JeMu3cK2ddxvwNnXGY2bxGGYKEYhBP9tsFP998 agIixM5hPPiRmP5XbtUEizrC6gtQnSahGZxYzUhgIFalbWBndGEbpbHyrrmYKmGAVSro s5Sw== 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:dkim-signature; bh=MaY5BjX4U0fw7Jc2pnXPLi9P/wkj0pbZKNkb4xe1iTs=; b=ruCF6txCbzzfFdJDBgIUbn69DoLd2WxigOwqx1NUhF4d0p4UcshN9mxHJFuSgloX60 /ratk1xBGM3JckgJtO60sqbT9rpaOF2fYJO0XUEpanf13ec7jlL1BLlCA+k0BojSRr8y M2FSFldITyYm9WCKPaNDjkpkkqYj2Lra1Mn3jMVevtfMUK2ZaTrUCtaiz1j06KZ8oODj B22hrjJs1J5uhWWGL7YYm2V5q3nAbKLfXN1DM70jQTbbJkiHgRUNPSYseGIrPFPh1B4K qyYRSZA3kWug6rCwgCQDN56tb+xX78WtlFFcgN6I7/NqeG3L4lkM8x+09Zt+0ywFhCTs OIHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bk5FPeMu; 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 k205si6266377oib.64.2020.03.02.07.25.03; Mon, 02 Mar 2020 07:25:15 -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=bk5FPeMu; 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 S1727305AbgCBPXw (ORCPT + 99 others); Mon, 2 Mar 2020 10:23:52 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:33534 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726751AbgCBPXw (ORCPT ); Mon, 2 Mar 2020 10:23:52 -0500 Received: by mail-lj1-f193.google.com with SMTP id f13so3354144ljp.0; Mon, 02 Mar 2020 07:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=MaY5BjX4U0fw7Jc2pnXPLi9P/wkj0pbZKNkb4xe1iTs=; b=bk5FPeMujjrQIxwztnaeLzsDAZ8hSzf0Ur2Sd5Rw1+OOI8XgxcXlq+757qMIi2IAfI nmWvRjOLNdTo33+iN/ChsCkkrQdanwlIaGkYx8eybYWlJWGveRI++Cxj8sLMItESn5FW Aid01MknW03NDPOT0aeQqJ2W6WcMzHp/ynkNO2ZqXvWbkIkLhL0iH9vm5yzFhhJgXXvI Nmf6l9jp6250rlbm9i3TC0VZXV42/oqMink55w8ULqAtaoC3AJ/FoB60CaC7rPA0Ec6Y JHHFePn4gf5db2aVw6txSwhuLb2pDvcBwqz8u8wlkQHiTYtVR75nzBWIGN175nT0LM01 0eMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MaY5BjX4U0fw7Jc2pnXPLi9P/wkj0pbZKNkb4xe1iTs=; b=lNsszS4WJu7Fw7VHBYI3F5uQke8iN9aaG3txDbSTUdipvfkPWjCMQZIbWTF2WhAIXK TBp1YL1mkEngsIRQZ1NEa7btyWNfUWTwLg0wbt9FgxewaZwR6F4vT7x8APmmI2GHLZGw CA05huwFKM9cGDbWpuNLMR6PXnZT7hXKY1d9LYY24MLrJHgBK3JwjGE+rU3/tcQUEO/h anAsAPjhmJ0AdaI8EgaXfLUkPjvCnzWAUrI7LI1n4DVizRnkCS8LlZ/SFW43H4FsBhEg zYxE3GVef5KKdy4dbhX66+hMhLILl9YyS9+uJ6DLvSAMfYDicloKsnz+mwaUHWT4XFgL eqYg== X-Gm-Message-State: ANhLgQ3svJ3J/RzOzBYQVeskrToesslpe1p/w6mJhhBoC4sm4RjW5cpq kYTUsaqMvd4eYI7k2xuizBY36WRdSvI= X-Received: by 2002:a2e:b54a:: with SMTP id a10mr12277954ljn.47.1583162627814; Mon, 02 Mar 2020 07:23:47 -0800 (PST) Received: from [172.31.190.83] ([86.57.146.226]) by smtp.gmail.com with ESMTPSA id z9sm10226873lfq.48.2020.03.02.07.23.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Mar 2020 07:23:47 -0800 (PST) Subject: Re: linux-next: build failure after merge of the keys tree To: Stephen Rothwell , David Howells , Jens Axboe Cc: Linux Next Mailing List , Linux Kernel Mailing List References: <20200302113737.7c3fdee0@canb.auug.org.au> From: Pavel Begunkov Message-ID: <4bbc60e7-ae6e-fc83-4cc1-6229e8dc01ac@gmail.com> Date: Mon, 2 Mar 2020 18:23:46 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200302113737.7c3fdee0@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 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 3/2/2020 3:37 AM, Stephen Rothwell wrote: > Hi all, > > After merging the keys tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: Acked-by: Pavel Begunkov Thanks > fs/io_uring.c: In function 'io_splice_punt': > fs/io_uring.c:2473:6: error: too few arguments to function 'get_pipe_info' > 2473 | if (get_pipe_info(file)) > | ^~~~~~~~~~~~~ > In file included from include/linux/splice.h:12, > from include/linux/skbuff.h:36, > from include/linux/if_ether.h:19, > from include/uapi/linux/ethtool.h:19, > from include/linux/ethtool.h:18, > from include/linux/netdevice.h:37, > from include/net/sock.h:46, > from fs/io_uring.c:64: > include/linux/pipe_fs_i.h:267:25: note: declared here > 267 | struct pipe_inode_info *get_pipe_info(struct file *file, bool for_splice); > | ^~~~~~~~~~~~~ > > Caused by commit > > 549d46d3827d ("pipe: Add general notification queue support") > > interacting with commit > > 52b31bc9aabc ("io_uring: add splice(2) support") > > from the block tree. > > I have added the following merge fix patch. > > From: Stephen Rothwell > Date: Mon, 2 Mar 2020 11:27:27 +1100 > Subject: [PATCH] io_uring: fix up for get_pipe_info() API change > > Signed-off-by: Stephen Rothwell > --- > fs/io_uring.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/io_uring.c b/fs/io_uring.c > index fb8fe0bd5e18..8cdd3870cd4e 100644 > --- a/fs/io_uring.c > +++ b/fs/io_uring.c > @@ -2470,7 +2470,7 @@ static int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) > > static bool io_splice_punt(struct file *file) > { > - if (get_pipe_info(file)) > + if (get_pipe_info(file, true)) > return false; > if (!io_file_supports_async(file)) > return true; > -- Pavel Begunkov