On 02/19/2018 05:00 PM, David Lechner wrote:
The end field of struct resource is unsigned long, so on 32-bit targets,
this is a 32-bit value. This results in a compiler warning of "warning:
comparison of distinct pointer types lacks a cast". Fix it by making
max_iomem unsigned long to match the end field.

Fixes: (82626363a217 "drm: add func to get max iomem address v2")
Signed-off-by: David Lechner <da...@lechnology.com>

Superseded by v2. I also made a mistake :-o
dri-devel mailing list

Reply via email to