Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F14B9C433F5 for ; Wed, 9 Mar 2022 02:33:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231455AbiCICeJ (ORCPT ); Tue, 8 Mar 2022 21:34:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231446AbiCICeI (ORCPT ); Tue, 8 Mar 2022 21:34:08 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C110030F40 for ; Tue, 8 Mar 2022 18:33:10 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id o26so750678pgb.8 for ; Tue, 08 Mar 2022 18:33:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=tvi+CbjBZiaWt83v4DDYcOeSUIz7fvyu9NHoATP31MQ=; b=EHu3Vgl6G16UPOPzkJySlDlLsFfXzlh5uKmwP/vkUh55Tapii0hN3/FDBrGZSecMgH Ubq68jw4L9Kw5h5+9ZjEBI4azPkOAS61alAvOM/Y+tVJwb9C1/jWnuWICAlf80Npnokr 7D7atmo5BBTY37TbExAkqA2RxthXeulom6/EwJiHqk+KWA8Omr9KWa6fNmTu22CIsWz0 D+ftNx4mMWq2/x0/XmYW/CQ4mc8GgZXZ1hWSux7CYx4mcQq4f3/qNSdaJNKVKxpmKih9 hZfOwKYVqERYhctPnn7hGSL8BYwqyRo9ATLwSR45S/XqLaZXijMjyxk5CyvEOQ9VEIsR EkNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=tvi+CbjBZiaWt83v4DDYcOeSUIz7fvyu9NHoATP31MQ=; b=1chPNQ1zzb+ITUyqvycdXbuErjQX/2GbK3zU6sini2is2ve/fwhOHEPETYjGjjFgHg 3QVkW1x74EphBu/hIGEYFgvlZGf9Y85XAVZrmrOgBuQT0VZE+ouogKUT6Pvl6rf3JeGH m0e4cBmxJPLdxNLUO/ZCwGh8MhZzMsS83XhjkmK1kNLdNqAYr++ArvshRATQndj5seLr T73kJrgrArTjzli1Cnh1Rjn87Z4hFd6zES+6l7pZHImDnCA4IEZLdrIoO+NpOyAWV+zL ViqVsqrWTfeQWzxzPGE9BVudopRfGksQ8hgNEmfEPpnTNcnQUn2vo+YjY3N95IMGxMAW g+Zw== X-Gm-Message-State: AOAM532NqINRtHifFp56830PIsIFkaFdw5m9BFtGv40P4xnw+gfr1Jv7 vfGxxCB0b0Ko2vR4ksxiw5rWyQ== X-Google-Smtp-Source: ABdhPJx0UxqWu9BRtnm2GIMgJ2kxbnOX7bMhCwWVJJ5KuFPttt/KLmBTAfSEbY5yBquyE115vcpfaQ== X-Received: by 2002:a05:6a00:190f:b0:4f3:a81d:c4c3 with SMTP id y15-20020a056a00190f00b004f3a81dc4c3mr21434773pfi.45.1646793190222; Tue, 08 Mar 2022 18:33:10 -0800 (PST) Received: from [192.168.1.100] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id f4-20020aa782c4000000b004f6f0334a51sm434924pfn.126.2022.03.08.18.33.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Mar 2022 18:33:09 -0800 (PST) Message-ID: Date: Tue, 8 Mar 2022 19:33:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: linux-next: build failure after merge of the block tree Content-Language: en-US To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List References: <20220309131638.26600d10@canb.auug.org.au> From: Jens Axboe In-Reply-To: <20220309131638.26600d10@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On 3/8/22 7:16 PM, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from block/blk-mq-debugfs-zoned.c:7: > block/blk-mq-debugfs.h:24:42: error: 'struct blk_mq_hw_ctx' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] > 24 | struct blk_mq_hw_ctx *hctx); > | ^~~~~~~~~~~~~ > block/blk-mq-debugfs.h:25:44: error: 'struct blk_mq_hw_ctx' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] > 25 | void blk_mq_debugfs_unregister_hctx(struct blk_mq_hw_ctx *hctx); > | ^~~~~~~~~~~~~ > block/blk-mq-debugfs.h:32:47: error: 'struct blk_mq_hw_ctx' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] > 32 | struct blk_mq_hw_ctx *hctx); > | ^~~~~~~~~~~~~ > block/blk-mq-debugfs.h:33:50: error: 'struct blk_mq_hw_ctx' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] > 33 | void blk_mq_debugfs_unregister_sched_hctx(struct blk_mq_hw_ctx *hctx); > | ^~~~~~~~~~~~~ > cc1: all warnings being treated as errors It just needs a forward declaration. I'll fix it up. -- Jens Axboe