From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1164049AbeCBBuF (ORCPT ); Thu, 1 Mar 2018 20:50:05 -0500 Received: from ozlabs.org ([103.22.144.67]:46677 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1163120AbeCBBuD (ORCPT ); Thu, 1 Mar 2018 20:50:03 -0500 Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au Date: Fri, 2 Mar 2018 12:49:48 +1100 From: Stephen Rothwell To: Dave Airlie , DRI Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Chunming Zhou , Alex Deucher , Monk Liu , Christian =?UTF-8?B?S8O2bmln?= , Michel =?UTF-8?B?RMOkbnplcg==?= Subject: Re: linux-next: build warning after merge of the drm tree Message-ID: <20180302124948.0adff130@canb.auug.org.au> In-Reply-To: <20180219101817.5f4fd5c2@canb.auug.org.au> References: <20180219101817.5f4fd5c2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/4qIN0cVcPxb9YXK_Mo8TmWd"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/4qIN0cVcPxb9YXK_Mo8TmWd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Mon, 19 Feb 2018 10:18:17 +1100 Stephen Rothwell = wrote: > > After merging the drm tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: >=20 > In file included from include/linux/list.h:9:0, > from include/linux/wait.h:7, > from include/linux/wait_bit.h:8, > from include/linux/fs.h:6, > from include/linux/highmem.h:5, > from drivers/gpu/drm/drm_memory.c:36: > drivers/gpu/drm/drm_memory.c: In function 'drm_get_max_iomem': > include/linux/kernel.h:808:16: warning: comparison of distinct pointer ty= pes lacks a cast > (void) (&max1 =3D=3D &max2); \ > ^ > include/linux/kernel.h:817:2: note: in expansion of macro '__max' > __max(typeof(x), typeof(y), \ > ^~~~~ > drivers/gpu/drm/drm_memory.c:159:15: note: in expansion of macro 'max' > max_iomem =3D max(max_iomem, tmp->end); > ^~~ >=20 > Introduced by commit >=20 > 82626363a217 ("drm: add func to get max iomem address v2") >=20 > tmp->end is a resource_size_t ... I am still getting this warning ... --=20 Cheers, Stephen Rothwell --Sig_/4qIN0cVcPxb9YXK_Mo8TmWd Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlqYrbwACgkQAVBC80lX 0GxqQAf+IfcopMg9JqtumT1vVWSmHZesOLBlLkfMoPqgBcEzct4dn/AYBGClw0so ojgDMssQlICsini79AOk3/QuHOM5WGqV9dCst0wDiAeLgl2IGw68aLmTzdHtfntu l05FyfEl0Sa6Ovi99YBe/FQoY9IDRWPAYIpCu9RvJF/HquYFKTin0yEm4JOc+4QU xV8XJhDeukdzApKGtYYk2bn1TaK8oxjnSGXOaKLtqKw2FTtmw8TCRFDahuP2/sJl PlRco21GGoztcXhJp3UEyVF+Ro8qSMTXxtEZkkeB33X+oZpMGFw+ksI295kLqXNf WswhrFfcinTceu4TBOdmyi1kd2+zaA== =m4r+ -----END PGP SIGNATURE----- --Sig_/4qIN0cVcPxb9YXK_Mo8TmWd--