Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp170031lqs; Mon, 4 Mar 2024 20:26:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXB35eZWO00ZzQVt6Bd5zpXr7zuq+312o/R9K0IoIOz91tuFcBtSwtsaRGUY9RpAGO8rw4MnB9YXhSKSW6YkTh+caMgrOk0VU+p+KRvYw== X-Google-Smtp-Source: AGHT+IGvMl5nuuog2LJ9BrdqhvmjsxlRkYSTfiiUePyqXaC0pbq7694COHb9Yd9ZBoMdulwaiEIH X-Received: by 2002:a05:6a21:32a9:b0:19e:cbe9:63b with SMTP id yt41-20020a056a2132a900b0019ecbe9063bmr1217978pzb.3.1709612810436; Mon, 04 Mar 2024 20:26:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709612810; cv=pass; d=google.com; s=arc-20160816; b=clTq7EaDUtF29yBTu+Qt9cEd42ZeKxvoiBL6ny/zWiParKJWcs4aDaPsPx2VDaASvn HIUlGS25Yr+aCdepuZ/+mLY6C9XjqDKKKcUkFkylcMi5YqkQGw8zhPbr2J1yg9zJVLNO JeaiPhz/jy6H2YvyphbpcJXYk+opGszcJDtjjqV7uK6AMKf4dPlppOFUImk8fPKvJpSG 5fHbGAGUX3KnlN/Auyujs0tktaeEXcOZ7LpNP/XhHfuJ9sRKl6BxdUVIshORW1I+XAGr oQQjr9NBSwIhlF4ZhWQVL/wRq8f/i06wmIzpy5qckYLfCiCXPcSsEgCblcgnCOanss8U CsYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=UShGOdlC0yH2lVkxBd6+rii1RiQ+gqN2oJMUTKKrQ/o=; fh=7gyJF+N9T5ndxkBrSu+8rR9SqEMCbrQqTxb6jU9U00I=; b=yUmLIsioO3NRkPwma0bPNJZKTRDcsQereI+kmu6Rajpr8mF76hFwnTqS37CNTOuXaQ LnNTva5RYW4pnDm9x+B2tCC7OTd5uQCtYM0VcYQwMfd9TyYI0WDNtYKGupxGkmhK2DBs DNJmR7onoikLf64AJM+qyW27nvmfFM1TjxOWQlHDEubye++NcIE228DBt4n9uMvYS6Gn tELWklu7C8iJedWTEehg37q8OiEsjd03jWHHPFPjjBb8cCIACUWN7AMtIeKM/7zYr6Xo EtVms55x8Hp3kwAaeXh095RHYTsxJsf/8vxxKxg1PjwC/4lRQAR8hwr0XLdbzZY/Y0nN n99Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="g/U0eumi"; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-91653-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ay20-20020a056a00301400b006e6092a8254si3949299pfb.145.2024.03.04.20.26.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 20:26:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91653-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="g/U0eumi"; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-91653-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91653-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1D318283D8B for ; Tue, 5 Mar 2024 04:26:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 827463D0C5; Tue, 5 Mar 2024 04:26:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="g/U0eumi" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84CA52940D; Tue, 5 Mar 2024 04:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709612802; cv=none; b=ouih7xU73pnf9GBd4AM77f13UnWWobMUtRb6L1F2eS67MFEESFzoC/hDjOdoXUExx0lYGGPvUAA2+oOh7lPawtsWHry0bmOXy/arfSJFhQxtWC8HRnMjlUKIH5tK89MjpGrZcwJEg9PKeVA7B3w/hIBzrP8EsgbnGsd1IBolfnE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709612802; c=relaxed/simple; bh=N9u8SHVw55L7uBQnxShMclZqCtnvf65Mu/kXFlP3mtw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=pR9KHGgYa3M20Hz7+bhWFQDpCFD/tc/sW5jqQ/MBt6QoXeOtBkhHzBmTZCERJucoeGWTVgH8/APsX0wMzHrZb38umd45cq23JHTOodcfLDCgvA8RxMFdm8Ta4gHgC6vOg0XEuzQlLoZTb9Bdcw8THnRMY/buAsZ4cdNyX8wrYmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=g/U0eumi; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1709612795; bh=UShGOdlC0yH2lVkxBd6+rii1RiQ+gqN2oJMUTKKrQ/o=; h=Date:From:To:Cc:Subject:From; b=g/U0eumii7+m1tvWz/S2Vy6tkvNa6Cao5sHJ8TvcFl0tHsX1nBTlpuZmsoHnwyxDQ mfmt+YBi5V37TXAS97bfvBRvrmdKJCrX0LJ81RnVQtrcI9bA7q2dKxb5lbDlDJrzDI 7njBFq640xNs5wyytRPOsWoMMkZGFpNk5GfFQcwrMpthJfGToGgj7liTfDalkMItnj Y3Nu5c8H+hlIvRrCGCOeA9M6ksicEjkXaJTZC264Q4bEaoERJ0DKHK+Dp+pES8xdp0 tRDh3pmjGDKnX0/NPMoxWUzCGQMpYgCQRF7Hj/m/riqgmSXpj/ZDaod3HmWAXcWXNi bzrTtl+fgRZUQ== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4TpjF66pbCz4wcF; Tue, 5 Mar 2024 15:26:34 +1100 (AEDT) Date: Tue, 5 Mar 2024 15:26:34 +1100 From: Stephen Rothwell To: Andrew Morton Cc: Qi Zheng , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the mm tree Message-ID: <20240305152634.014058aa@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/.4=IcelQfVYeu9k8d+ZvOta"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/.4=IcelQfVYeu9k8d+ZvOta Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the mm tree, today's linux-next build (s390 defconfig) failed like this: In file included from include/linux/smp.h:12, from include/linux/lockdep.h:14, from include/linux/spinlock.h:63, from include/linux/mmzone.h:8, from include/linux/gfp.h:7, from include/linux/mm.h:7, from include/linux/pagewalk.h:5, from arch/s390/mm/gmap.c:12: arch/s390/mm/gmap.c: In function 'gmap_free': include/linux/list.h:866:19: error: assignment to 'struct page *' from inco= mpatible pointer type 'struct ptdesc *' [-Werror=3Dincompatible-pointer-typ= es] 866 | n =3D list_next_entry(pos, member); = \ | ^ arch/s390/mm/gmap.c:212:17: note: in expansion of macro 'list_for_each_entr= y_safe' 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:868:18: error: assignment to 'struct ptdesc *' from in= compatible pointer type 'struct page *' [-Werror=3Dincompatible-pointer-typ= es] 868 | pos =3D n, n =3D list_next_entry(n, member)) | ^ arch/s390/mm/gmap.c:212:17: note: in expansion of macro 'list_for_each_entr= y_safe' 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/kernel.h:22, from arch/s390/mm/gmap.c:11: arch/s390/mm/gmap.c:212:72: error: 'struct page' has no member named 'pt_li= st'; did you mean 'pcp_list'? 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | = ^~~~~~~ include/linux/container_of.h:19:33: note: in definition of macro 'container= _of' 19 | void *__mptr =3D (void *)(ptr); = \ | ^~~ include/linux/list.h:645:9: note: in expansion of macro 'list_entry' 645 | list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~ include/linux/list.h:868:27: note: in expansion of macro 'list_next_entry' 868 | pos =3D n, n =3D list_next_entry(n, member)) | ^~~~~~~~~~~~~~~ arch/s390/mm/gmap.c:212:17: note: in expansion of macro 'list_for_each_entr= y_safe' 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/container_of.h:5: arch/s390/mm/gmap.c:212:72: error: 'struct page' has no member named 'pt_li= st'; did you mean 'pcp_list'? 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | = ^~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_ass= ert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_asse= rt' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || = \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_typ= e' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || = \ | ^~~~~~~~~~~ include/linux/list.h:601:9: note: in expansion of macro 'container_of' 601 | container_of(ptr, type, member) | ^~~~~~~~~~~~ include/linux/list.h:645:9: note: in expansion of macro 'list_entry' 645 | list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~ include/linux/list.h:868:27: note: in expansion of macro 'list_next_entry' 868 | pos =3D n, n =3D list_next_entry(n, member)) | ^~~~~~~~~~~~~~~ arch/s390/mm/gmap.c:212:17: note: in expansion of macro 'list_for_each_entr= y_safe' 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ arch/s390/mm/gmap.c:212:72: error: 'struct page' has no member named 'pt_li= st'; did you mean 'pcp_list'? 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | = ^~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_ass= ert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_asse= rt' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || = \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_typ= e' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || = \ | ^~~~~~~~~~~ include/linux/list.h:601:9: note: in expansion of macro 'container_of' 601 | container_of(ptr, type, member) | ^~~~~~~~~~~~ include/linux/list.h:645:9: note: in expansion of macro 'list_entry' 645 | list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~ include/linux/list.h:868:27: note: in expansion of macro 'list_next_entry' 868 | pos =3D n, n =3D list_next_entry(n, member)) | ^~~~~~~~~~~~~~~ arch/s390/mm/gmap.c:212:17: note: in expansion of macro 'list_for_each_entr= y_safe' 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ arch/s390/mm/gmap.c:212:72: error: 'struct page' has no member named 'pt_li= st'; did you mean 'pcp_list'? 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | = ^~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_ass= ert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_asse= rt' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || = \ | ^~~~~~~~~~~~~ include/linux/container_of.h:21:23: note: in expansion of macro '__same_typ= e' 21 | __same_type(*(ptr), void), = \ | ^~~~~~~~~~~ include/linux/list.h:601:9: note: in expansion of macro 'container_of' 601 | container_of(ptr, type, member) | ^~~~~~~~~~~~ include/linux/list.h:645:9: note: in expansion of macro 'list_entry' 645 | list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~ include/linux/list.h:868:27: note: in expansion of macro 'list_next_entry' 868 | pos =3D n, n =3D list_next_entry(n, member)) | ^~~~~~~~~~~~~~~ arch/s390/mm/gmap.c:212:17: note: in expansion of macro 'list_for_each_entr= y_safe' 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:390:27: error: expression in static assertio= n is not an integer 390 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), t= ypeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_ass= ert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:20:9: note: in expansion of macro 'static_asse= rt' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || = \ | ^~~~~~~~~~~~~ include/linux/container_of.h:20:23: note: in expansion of macro '__same_typ= e' 20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || = \ | ^~~~~~~~~~~ include/linux/list.h:601:9: note: in expansion of macro 'container_of' 601 | container_of(ptr, type, member) | ^~~~~~~~~~~~ include/linux/list.h:645:9: note: in expansion of macro 'list_entry' 645 | list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~ include/linux/list.h:868:27: note: in expansion of macro 'list_next_entry' 868 | pos =3D n, n =3D list_next_entry(n, member)) | ^~~~~~~~~~~~~~~ arch/s390/mm/gmap.c:212:17: note: in expansion of macro 'list_for_each_entr= y_safe' 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/uapi/linux/posix_types.h:5, from include/uapi/linux/types.h:14, from include/linux/types.h:6, from include/linux/kasan-checks.h:5, from include/asm-generic/rwonce.h:26, from arch/s390/include/asm/rwonce.h:29, from include/linux/compiler.h:299, from include/linux/array_size.h:5, from include/linux/kernel.h:16: arch/s390/mm/gmap.c:212:72: error: 'struct page' has no member named 'pt_li= st'; did you mean 'pcp_list'? 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | = ^~~~~~~ include/linux/stddef.h:16:58: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ include/linux/list.h:601:9: note: in expansion of macro 'container_of' 601 | container_of(ptr, type, member) | ^~~~~~~~~~~~ include/linux/list.h:645:9: note: in expansion of macro 'list_entry' 645 | list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~ include/linux/list.h:868:27: note: in expansion of macro 'list_next_entry' 868 | pos =3D n, n =3D list_next_entry(n, member)) | ^~~~~~~~~~~~~~~ arch/s390/mm/gmap.c:212:17: note: in expansion of macro 'list_for_each_entr= y_safe' 212 | list_for_each_entry_safe(ptdesc, next, &gmap->pt_li= st, pt_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors Caused by commit 859584c3ddba ("s390: supplement for ptdesc conversion") from the mm-unstable branch of the mm tree. I have reverted that commit for today. --=20 Cheers, Stephen Rothwell --Sig_/.4=IcelQfVYeu9k8d+ZvOta Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmXmnvoACgkQAVBC80lX 0GyZYwf/ftCln71ecRZeT3axK+7vVkkW5IqGMvJwLalLizgeGNr47zChTxz0deT5 7MExnh4V94UcvLNuKOPisN0IIKxqexo1CtmpFSZxB01WORSrWR4T0nV9YOs0p2IB VT5NzYwilI1K6hODzqXJKE1IJM+O+3EpPi2iq+/QuVn/urZmf01yu/fh7LaLsLy0 DmO1Jc332TAWAWUUrdJ9e0kDu3QP2pVCK7dKdEcnsibQGS7L3Y9fCe0Jq7NsEQmj gwDjJWSfexDI5SAlwLVCRkq2lVY1MQreDeHRK3H3okSsxiKucMa7/TGxE+lheIPK mQjW0mevXQYKGN/DydlPlEQoBRn82A== =+1yw -----END PGP SIGNATURE----- --Sig_/.4=IcelQfVYeu9k8d+ZvOta--