From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08896C432C0 for ; Tue, 3 Dec 2019 09:08:54 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B6F9E2073C for ; Tue, 3 Dec 2019 09:08:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B6F9E2073C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 47Rx430tVszDqRR for ; Tue, 3 Dec 2019 20:08:51 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.167.195; helo=mail-oi1-f195.google.com; envelope-from=geert.uytterhoeven@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Received: from mail-oi1-f195.google.com (mail-oi1-f195.google.com [209.85.167.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47Rx1p6wQ3zDqRR for ; Tue, 3 Dec 2019 20:06:52 +1100 (AEDT) Received: by mail-oi1-f195.google.com with SMTP id v140so2481212oie.0 for ; Tue, 03 Dec 2019 01:06:52 -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=DRJsxjlZ9iDGSjz72sJKad0CavewjSMeEdrKUfNMj1j4Kzz50U8czRCN3v/CvarbuK ZQ0N/SMf8H2wWeYlkk35RpHB4ezgve1kcrfp4BmR5ySXb+0enUFEsHkpycfuLiWscGGg 1+r4ooFN51Ah3zzInR+zwk8Hc292/GjoyIawBY3Zv/VnNkNyIsIVU2CDL99a6P+ER5/a 8wZ5C6esuTc2cI6XTeEtU8fITMw89Ej56ITDrTMDnMaTCXrY5DhXoA7bqOXeF71Nxc5Q ZZn6bb1y9URYv9km9/snE4Myk4cUr/Ggpo0YUAGjC9YnGJTS2AHaQSrna1Gqn+JM+zjQ rGLw== X-Gm-Message-State: APjAAAWRtCaoexmLd69vAkV670Ew310G9N89iu3NGem7Fv1i9dwg9qsB 7RwGeTz4n5rqhKrtC4iOsZeD4M603xQgz099dgQ= X-Google-Smtp-Source: APXvYqwjoAhTRQ0xt52tIil49EnXS94YzS6iwjxlAYBuKV4vu5fc6aAklzn5FAd1MfYR6UoPe+55WjaSd8AcyJHVit0= 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-sh list , LKML , stable , "linuxppc-dev@lists.ozlabs.org" , Pavel Begunkov Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 =E2=80=98loop_rw_iter=E2=80=99: > > fs/io_uring.c:1628:21: error: implicit declaration of function =E2=80= =98kmap=E2=80=99 > > [-Werror=3Dimplicit-function-declaration] > > iovec.iov_base =3D 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 =3D kmap(iter->bvec->bv_page) > > ^ > > fs/io_uring.c:1643:4: error: implicit declaration of function =E2=80=98= kunmap=E2=80=99 > > [-Werror=3Dimplicit-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 --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds