Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp229625rwb; Mon, 26 Sep 2022 17:51:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6vBU7WOVyT7gIvmtVHNW6zZzWrByt+lEgAkjH/VYwYofh6qgCF532edLjQ1aTZuj5aP26u X-Received: by 2002:a17:903:2005:b0:178:3a78:80f5 with SMTP id s5-20020a170903200500b001783a7880f5mr25025102pla.174.1664239861748; Mon, 26 Sep 2022 17:51:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664239861; cv=none; d=google.com; s=arc-20160816; b=mx6MOGxj1eg7qVQ8LoazA0YKEQj++4UMVdILLcGq9Xt2sef53r+zpDy38MvwgxBZlu ytWkZfiM9qtqa7YvClis1OrTWdhtP1O9uancDvzJ7NN033ajIQcrJ8iF1igV1ygH3XXS Xcp/zIbwr3h8md2ZVdKsBvBdddWOsnjIuWA0bsaixKBwt6vwbV6eMNeQmBvgtzpK+QOF mQKPVLQr+VGtJv/DG2wh9MoL6DwxRCzMz/Mz8b8oNXRr7+iKOGUYFU9pGJLEBKW3ouzt VE6LXxk1rdcNMAUMCUoddvdPrJ+wDJzF258cfk1bpHXAAE8OHoKqQ3KfXNQntghxnl+L 4gxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QK6s3qWgSzcfpcdtH25aSluRGCB5Dal9WKGY9WgXnoY=; b=l7t6bZg1WwWEPmy9PZg9WC6ASb/Snq7qRNHmpB5fzmK2aaFhyO5Gse7ZH2qVIzbcqf fOxv/6L/G19bfyYCa/Wz9Uadjs89lAfSd/qryRgMABFTqUVegW2CunwEMzf1Fg4/ejEk NKzZuYaIUJxxUC5ivN+CQDbq4zhc4V3dMMyox2vROGmeht6DpT/VOceb465KjZqEV52D WoLzsegnSh8SXI0V2YHPAjJSBn/B7vR36d5dcZvVsWGoiNREjgDPYsiqwy64WHfXxP5i Lh57YPy7H+m8ip4TUiuN8BH0TaEmyIlqSzeuOwfUcSd2r3IZsBzeL457X/d9D2iYRn/5 L07A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A+LoIsFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d22-20020a63d716000000b0043bd845f9a8si188315pgg.610.2022.09.26.17.50.50; Mon, 26 Sep 2022 17:51:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A+LoIsFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229982AbiI0AkH (ORCPT + 99 others); Mon, 26 Sep 2022 20:40:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbiI0AkB (ORCPT ); Mon, 26 Sep 2022 20:40:01 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB1B71A23D; Mon, 26 Sep 2022 17:39:59 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id c81so10276675oif.3; Mon, 26 Sep 2022 17:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=QK6s3qWgSzcfpcdtH25aSluRGCB5Dal9WKGY9WgXnoY=; b=A+LoIsFX52NYi2E4snRfYJDUCYS7ukrKgEjVAWhG2E4ltzMpil6FOgQ10ECOR/VAsE EALHMGcluPmiGF/5Ca0kHxGatmwgjXx/t+/8aNwG5eaU6TJmTCmX0u1Zudo8MrPmLaok Ope7nOj9/sjvVk1Ge4OP1wr1CTQhez6nPAmRY/TFdFLlVQEE6Xit3FvlYf5cShRHPJ5W Qhvt0Z5oZp/0zEWw778pIa/YuPkpaIFwI1KuD503lCBILScTwguySu0defhTYWpddep+ sTZUXQQ3J/EPL8xgjStFh1yjC9Kx6akqkPIjrCVbGvWAs62YRzC5PfqUNfptj/3l97ci /xQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=QK6s3qWgSzcfpcdtH25aSluRGCB5Dal9WKGY9WgXnoY=; b=b74Gcsz18k0XzPJf/dxuyyFuMaW4zxJqDIAg50KNX9tLICKDlnzADQekSV37h+aZ1p Gzh5FOegoBdlXqioRtVO99ygLAWnUsU6mJDQGdLDEAbCpQBHMtQZVgb5e6cjZfpOBKlj oiMrt01sV97w6APivC2gBlcsohWGvHcUfrkSnHNDOSPBrcOedkzYD5v3pYm0gRJxzMqg p3Phk75aO2iT5GF1eAMxDud4aKEQGyY4ZQulNd8q+PZaFTelaSQB0ORTiWb1a5PhNC7y D8KYR3INYeg/6w99FLb95YFn6TieWU2nh81ohAWzChS/jHsKzRImlfQgt9vWfxaY2zrv YQdQ== X-Gm-Message-State: ACrzQf0EnPzXgK743BSoUmGAejTx1w+wAGsh2viXEhcTEXMN7rUIHlZ2 T+akLbVojNYIH6MmleJw/Vtgxjy+tXQ= X-Received: by 2002:a05:6808:1c07:b0:34f:5d29:f597 with SMTP id ch7-20020a0568081c0700b0034f5d29f597mr645843oib.275.1664239197402; Mon, 26 Sep 2022 17:39:57 -0700 (PDT) Received: from localhost ([12.97.180.36]) by smtp.gmail.com with ESMTPSA id y123-20020a4a4581000000b00472874bc2ffsm55719ooa.28.2022.09.26.17.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 17:39:57 -0700 (PDT) Date: Mon, 26 Sep 2022 17:37:46 -0700 From: Yury Norov To: broonie@kernel.org Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the bitmap tree Message-ID: References: <20220926235348.1269963-1-broonie@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220926235348.1269963-1-broonie@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 27, 2022 at 12:53:48AM +0100, broonie@kernel.org wrote: > Hi all, > > After merging the bitmap tree, today's linux-next build (x86 > allmodconfig) failed like this: Hmm, this weird. I checked the next-20220923, and the drivers' code mentioned in the log differs from what I see, and looks correct. bitmap_weight() definition hasn't been changed in bitmap-for-next patches. Allmodconfig build looks good to me. Check what I see in next-20220923 below. Thanks, Yury > /tmp/next/build/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c:492:3: note: in expansion of macro 'dev_err' > 492 | dev_err(rvu->dev, "%s: No space in id bitmap (%lu)\n", > | ^~~~~~~ > /tmp/next/build/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c:492:51: note: format string is defined here > 492 | dev_err(rvu->dev, "%s: No space in id bitmap (%lu)\n", > | ~~^ > | | > | long unsigned int > | %u dev_err(rvu->dev, "%s: No space in id bitmap (%d)\n", __func__, bitmap_weight(table->id_bmap, table->tot_ids)); > /tmp/next/build/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c:525:22: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Werror=format=] > 525 | dev_info(rvu->dev, "%s: No space in exact cam table, weight=%lu\n", __func__, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dev_info(rvu->dev, "%s: No space in exact cam table, weight=%u\n", __func__, bitmap_weight(table->cam_table.bmap, table->cam_table.depth));jj > /tmp/next/build/drivers/gpu/drm/i915/gt/intel_sseu.c:867:39: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Werror=format=] > 867 | seq_printf(m, " %s Geometry DSS: %lu\n", type, > | ~~^ > | | > | long unsigned int > | %u > 868 | bitmap_weight(sseu->geometry_subslice_mask.xehp, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | unsigned int > 869 | XEHP_BITMAP_BITS(sseu->geometry_subslice_mask))); seq_printf(m, " %s Geometry DSS: %u\n", type, bitmap_weight(sseu->geometry_subslice_mask.xehp, XEHP_BITMAP_BITS(sseu->geometry_subslice_mask))); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /tmp/next/build/drivers/gpu/drm/i915/gt/intel_sseu.c:870:38: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Werror=format=] > 870 | seq_printf(m, " %s Compute DSS: %lu\n", type, > | ~~^ > | | > | long unsigned int > | %u > 871 | bitmap_weight(sseu->compute_subslice_mask.xehp, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | unsigned int > 872 | XEHP_BITMAP_BITS(sseu->compute_subslice_mask))); bitmap_weight(sseu->compute_subslice_mask.xehp, XEHP_BITMAP_BITS(sseu->compute_subslice_mask))); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > These look like they have probably been there for a while but I've used > a slightly different compiler version to Stephen so they're showing up > now once the bitmap tree is merged. I will have a proper look tomorrow > hopefully but for now I've dropped the bitmap tree as it's getting very > late and it is likely I'll not finish the -next run today at all.