Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2100322pxu; Sun, 6 Dec 2020 19:13:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzO/aeTisjSgeDEMmnHYvuHTYVHWjpGDp2KjrAjShvwpzJ5+gh5LyUvYGWiccJaW6yUp/Wh X-Received: by 2002:a50:fd18:: with SMTP id i24mr18411122eds.146.1607310803770; Sun, 06 Dec 2020 19:13:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607310803; cv=none; d=google.com; s=arc-20160816; b=Se9zzl94BkReUFgIJSDca7XekfRybuhrxEFMgr9ebxx2d3CqbANUpTZCUW9sYiGzlM P6psQwevsI0FxjfGjeWPtNEmwksgNvbwSiFvrP0Q1ZcRUOtWzUmD3aASc8KZeSEUgn13 KPdIYV1phdr2j5jYLs904nr+yHsg1NsLm06SP26sSfpSYSr2YDqQ8aIWV1bshG2HjUR8 n0GzpEXKWCCPGSVwk5adeK18qwY9fYzN8a3HvKbnFdKo3rQgdXv+o5mPZdzn/jwlQGXV Hq6sgi0Eptx/RNfnj4X8vJR80GogoAH0Sk7EElx91o/wUQekN9R0KNpZ8COnZHt65NHT t5Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=UMbfErY68uEiIZN5UAETjIdEUlE51DtO133146TASes=; b=hYQtUs45Ioqcmv657aidqRbQq+PA6r6dM8qW7ldN9LO5NEGhLer/C9diF8qxBvXdIn sbx4gA2Dt+ArJeR7Ga+lXWBNvw1HYx/AgTGuRjD7DuSf8tc2+dWQK12EJ+F4WyQzNt4M OwM+pYC2uVu/fM/IHlq5F7U7rXuHn9MhnDBVyOQ4RqGvf87Q5RNdQrdH4ZFR78Y5gYn9 nzZ9I6asG+kTuuC1/kH0No/RSA/hPGgM5zCI0tUrtQY4q8i8335Exp67y22PTfgmkV9Q Vwas+nlPSVbdLOIDaYs9YMlMLYHBme02502vpuKZYILgI3HKXuV9J1MXgK4PYOn8gV/d bkHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=jxmi+mSG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l20si7650463edw.0.2020.12.06.19.12.59; Sun, 06 Dec 2020 19:13:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=jxmi+mSG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728703AbgLGDKg (ORCPT + 99 others); Sun, 6 Dec 2020 22:10:36 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:39345 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726482AbgLGDKf (ORCPT ); Sun, 6 Dec 2020 22:10:35 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Cq7b36XfXz9sVs; Mon, 7 Dec 2020 14:09:51 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1607310593; bh=5bh4tlGoUL+1XncBIhF/LpWGb65TQqPGNgtGe+PXrV0=; h=Date:From:To:Cc:Subject:From; b=jxmi+mSGmjZITruorZ0kkMOF9O5pg0Vvo2xrLAVm2Q9Z9gAvfF0FvvoZVENeEgEWt MSFoC7P7inCFz83TsGqzyss4t6MIlGxTjYyiHiWRNckA1LMREDPasGybn6KwsxQfw8 z4J5Gawg1XRLDfDfo8j40i4qoUHUQO7peDRBtoJ1mo6CUKTq69ioIFCDPwIObRnaGU XbjhtiwZq93as04l1exa+SSFQihZ9z0rkPhi1IVyELPTBhhBFcfROAEOXDOxWLPfuO RBezhvI3oAIf/io4Gd2xO731hs3iyXcjR0u9zZTXp/FiQwpZq67gk7eZpVjV9V2OsF DUt8YOH9t5+Sw== Date: Mon, 7 Dec 2020 14:09:51 +1100 From: Stephen Rothwell To: Jens Axboe , Daniel Borkmann , Alexei Starovoitov , Networking Cc: David Miller , Jakub Kicinski , Florent Revest , Florent Revest , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the block tree Message-ID: <20201207140951.4c04f26f@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/5kRkZNS/rNEXgq/a/ECeDM6"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/5kRkZNS/rNEXgq/a/ECeDM6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the block tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/io_uring.c: In function 'io_shutdown': fs/io_uring.c:3782:9: error: too many arguments to function 'sock_from_file' 3782 | sock =3D sock_from_file(req->file, &ret); | ^~~~~~~~~~~~~~ In file included from fs/io_uring.c:63: include/linux/net.h:243:16: note: declared here 243 | struct socket *sock_from_file(struct file *file); | ^~~~~~~~~~~~~~ Caused by commit 36f4fa6886a8 ("io_uring: add support for shutdown(2)") interacting with commit dba4a9256bb4 ("net: Remove the err argument from sock_from_file") from the bpf-next tree. I have applied the following merge fix patch. From: Stephen Rothwell Date: Mon, 7 Dec 2020 14:04:10 +1100 Subject: [PATCH] fixup for "net: Remove the err argument from sock_from_fil= e" Signed-off-by: Stephen Rothwell --- fs/io_uring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/io_uring.c b/fs/io_uring.c index cd997264dbab..91d08408f1fe 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -3779,9 +3779,9 @@ static int io_shutdown(struct io_kiocb *req, bool for= ce_nonblock) if (force_nonblock) return -EAGAIN; =20 - sock =3D sock_from_file(req->file, &ret); + sock =3D sock_from_file(req->file); if (unlikely(!sock)) - return ret; + return -ENOTSOCK; =20 ret =3D __sys_shutdown_sock(sock, req->shutdown.how); io_req_complete(req, ret); --=20 2.29.2 --=20 Cheers, Stephen Rothwell --Sig_/5kRkZNS/rNEXgq/a/ECeDM6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl/NnP8ACgkQAVBC80lX 0Gy0WQf9GaIM5CBSqUjd7N8Mw2U6mjQytrpDmJxXIlAEOic/wBwRrwkQBzjYm4Bh qW68SyvoswdL/oYgw3N07QXs3Ktf7P0f3Ul5w70ugh0rHVMW6Q7E7dnuwtxRPCI6 qKKyBe0yXMHj/jJLSP6L4ki+N5ltUdULO3V22XrqPGbYt0xBs1BSXn3nYlQEHn8L MwX8O69VO260FJHPz6+7MglxFW7df2WaRBsprGqfUHMY6QDVcENafpIu9wWyinRH lhyCL09pO0l4S21N6JXbJCUbXdY4bDS3EC+fgd3t5FpIzCkCy8XGwlywTmVBc/ow 2VKP4fiZVOEsoxpbeHA6Bl41dZYeHw== =ds5/ -----END PGP SIGNATURE----- --Sig_/5kRkZNS/rNEXgq/a/ECeDM6--