From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: build failure after merge of the hmm tree Date: Mon, 1 Jul 2019 21:33:04 +1000 Message-ID: <20190701213304.34eeaef8@canb.auug.org.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/.ggz7+WEN9pPwWsG36IPyVN"; protocol="application/pgp-signature" Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Jason Gunthorpe , Dave Airlie , DRI Cc: Linux Next Mailing List , Linux Kernel Mailing List , Philip Yang , Alex Deucher List-Id: dri-devel@lists.freedesktop.org --Sig_/.ggz7+WEN9pPwWsG36IPyVN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the hmm tree, today's linux-next build (x86_64 allmodconfig) failed like this: mm/hmm.c: In function 'hmm_get_or_create': mm/hmm.c:50:2: error: implicit declaration of function 'lockdep_assert_held= _exclusive'; did you mean 'lockdep_assert_held_once'? [-Werror=3Dimplicit-f= unction-declaration] lockdep_assert_held_exclusive(&mm->mmap_sem); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lockdep_assert_held_once drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c: In function 'amdgpu_ttm_tt_get_use= r_pages': drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:778:28: error: passing argument 2 o= f 'hmm_range_register' from incompatible pointer type [-Werror=3Dincompatib= le-pointer-types] hmm_range_register(range, mm, start, ^~ In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:35: include/linux/hmm.h:464:29: note: expected 'struct hmm_mirror *' but argume= nt is of type 'struct mm_struct *' struct hmm_mirror *mirror, ~~~~~~~~~~~~~~~~~~~^~~~~~ Caused by commit e36acfe6c86d ("mm/hmm: Use hmm_mirror not mm as an argument for hmm_range= _register") interacting with commit 66c45500bfdc ("drm/amdgpu: use new HMM APIs and helpers") from the drm tree. All I could do for now was to mark the AMDGPU driver broken. Please submit a merge for for me (and later Linus) to use. --=20 Cheers, Stephen Rothwell --Sig_/.ggz7+WEN9pPwWsG36IPyVN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl0Z73AACgkQAVBC80lX 0GxpLQf+LMHL2mWfHS5YvdE3KHF60hv56K27v0dIs3yDycw9f5yhztFHHogleIUr xpVg9DRfLoUlPtCRzP05CWFSGp24bbDsTl+EQrk+sfNbmRmDkWo7zeFd4DUdhe2e MgT9FqipJnbFqXSwpyZzstUa8CdnxlRUOZdlJIwqgdRX4u4g+hlE+45YjmE009pV lRES1OjZED4t4QcfxQjCNFuLlUoZm+CgppPcp4x+KovYEYSl1iHThGlVYMkbqb1C o6LY8LdBK+D1PHpVr23ODTpFL4n25jI8YgQwk/1a8B063GhNz362+oyG3oWY9y7G LZC8K+Xam6sbTcaDrUrNrh7ydo5Zww== =hKxP -----END PGP SIGNATURE----- --Sig_/.ggz7+WEN9pPwWsG36IPyVN--