Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1080608ybl; Tue, 3 Dec 2019 01:07:32 -0800 (PST) X-Google-Smtp-Source: APXvYqyjAbO35pXIwMDKcU6y4LWulN8SrNstU/KdJx2hnDzug4XDzCltgODe0RnteIuWl4jsIF5g X-Received: by 2002:a54:4011:: with SMTP id x17mr2681442oie.52.1575364052181; Tue, 03 Dec 2019 01:07:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575364052; cv=none; d=google.com; s=arc-20160816; b=PSALkUKF9ckrN2tV1uTziHQ+cQdHsNXYP02jdhJTHYjrYCVo8M8gq4Iuh/rR7OzmSb ld6oICV+ZjXl8dYQZ3+R1059xFzlqn2Czq9IqNYZIZnuboMbe3myWfsr7yUUlJmkEpL8 3E6a9+/Gy0OZeyAdFFBRjVSsOQaoCLSfy3jJBHBmvSYjKlWKVQioWpeYwKVhS5c54rkd e7OmpwzWvHnhAJ+X6S9pw6e0tXS2mU8cQ9N64/zDCAu+KJ/+IB6Uwq2Z3prIpvd0xDfP SSHLpOkPHgQy/YKWAf7bbby+O6pFTdS9gfERcg9Kw91KPVEz5HcEVuZ7BgX98nleM5NY 0lyA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=8JW+DEVqcV+JNMZCQihDW7VtEpgPR9j50EsxZ5yS9pw=; b=bimfph7yemgZj0J4lg2sVb3SbwacEcgowjHz55LJWb4r/O9M5cM3cM9Qo1LnCgNIlJ rrwyOGRkL+zh0YGe2VThG279lX36UEU9xUlhXNhhb3FZ47jqcxg88c5qJXZigmncAAnn QsHCDVbqZIQGg/j2Jgt3pcDgUIET4uV+n05g/0KYiQZ6HNCRVBUl2Mx/vATVq8wl/AKF 67fXuYJ7zGwK5Pc4ffBf0pnAUbWivg+mjEMbNusJUSSFQpiIcGOcr7VdG8Rtf0AEMt5R sguXFunSSbprsJH5utJ42SWRnR8cq0dmwUGZpfJ4z6NENfX3wUmBEXZeFCnYAnrL0FQT C3kw== 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 o3si991171oie.9.2019.12.03.01.07.19; Tue, 03 Dec 2019 01:07:32 -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 S1726057AbfLCJGu convert rfc822-to-8bit (ORCPT + 99 others); Tue, 3 Dec 2019 04:06:50 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:36875 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbfLCJGu (ORCPT ); Tue, 3 Dec 2019 04:06:50 -0500 Received: by mail-oi1-f195.google.com with SMTP id x195so2600013oix.4; Tue, 03 Dec 2019 01:06:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=99SpjBDj/3zwk9C1FEoFJcHmxVqPzeCRBXa6juwGTEo=; b=TEUHwVtDBshfdDUNHM8pS8IOzahJbWBFwHrmrzXCITlpR5oXGkztp1u2jY26UCg7hk koHU4dlOKtPjEPZVx9JUQNWrkx5VN2SXI/fZbG2gcJhoXSQZzz9WTJyEFfE93X9aWM0b IBfvF2/gtJh/eCKWOevR/Us2m1Yj8RBOMA+GiVvn+1ZW5DhQazWaeqC3EHUFHtofUo6r e0obTx+QUqHk3KqAzPxN4gLFzekg4nCx+Bxw5JepMs46BwMcr1KA9RX/V7gy9bATGApy kxqWF7v35WyFC2mHI7AtbkqScfHPeGN54jL9xYk2r2GG0kmcqsJVkQ+le8nEcrSphfe5 6adg== X-Gm-Message-State: APjAAAXlnNEnVgUyyjscpwg5fc6iKxoh/wdLydNnpCzaiEUgnCPeXAS6 zoPPqgWXT4DfnzbyteHqLbyl7ftO4Nnc+KtMARo= X-Received: by 2002:aca:4e87:: with SMTP id c129mr511543oib.153.1575364009649; Tue, 03 Dec 2019 01:06:49 -0800 (PST) MIME-Version: 1.0 References: <71cf82d5-5986-43b7-cf1c-acba429a89d6@c-s.fr> <3a95d445-1f5c-7750-f0de-ddc427800b3b@kernel.dk> In-Reply-To: <3a95d445-1f5c-7750-f0de-ddc427800b3b@kernel.dk> From: Geert Uytterhoeven Date: Tue, 3 Dec 2019 10:06:37 +0100 Message-ID: Subject: Re: Build failure on latest powerpc/merge (311ae9e159d8 io_uring: fix dead-hung for non-iter fixed rw) To: Jens Axboe Cc: Christophe Leroy , "linuxppc-dev@lists.ozlabs.org" , Pavel Begunkov , stable , LKML , Linux-sh list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jens, On Fri, Nov 29, 2019 at 5:06 PM Jens Axboe wrote: > On 11/29/19 6:53 AM, Christophe Leroy wrote: > > CC fs/io_uring.o > > fs/io_uring.c: In function ‘loop_rw_iter’: > > fs/io_uring.c:1628:21: error: implicit declaration of function ‘kmap’ > > [-Werror=implicit-function-declaration] > > iovec.iov_base = kmap(iter->bvec->bv_page) > > ^ > > fs/io_uring.c:1628:19: warning: assignment makes pointer from integer > > without a cast [-Wint-conversion] > > iovec.iov_base = kmap(iter->bvec->bv_page) > > ^ > > fs/io_uring.c:1643:4: error: implicit declaration of function ‘kunmap’ > > [-Werror=implicit-function-declaration] > > kunmap(iter->bvec->bv_page); > > ^ > > > > > > Reverting commit 311ae9e159d8 ("io_uring: fix dead-hung for non-iter > > fixed rw") clears the failure. > > > > Most likely an #include is missing. > > Huh weird how the build bots didn't catch that. Does the below work? Thanks, this fixes the same issue on SuperH: Tested-by: Geert Uytterhoeven > --- a/fs/io_uring.c > +++ b/fs/io_uring.c > @@ -69,6 +69,7 @@ > #include > #include > #include > +#include > > #define CREATE_TRACE_POINTS > #include Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds