projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/xe/mmio: fix build warning for BAR resize on 32-bit
[linux-2.6-block.git]
/
drivers
/
gpu
/
drm
/
xe
/
xe_mmio.c
diff --git
a/drivers/gpu/drm/xe/xe_mmio.c
b/drivers/gpu/drm/xe/xe_mmio.c
index 5f6b53ea5528b2c904ce0c4ee30e39c4a16139b7..02f7808f28cabd5533e634b41d1780769bdcbb10 100644
(file)
--- a/
drivers/gpu/drm/xe/xe_mmio.c
+++ b/
drivers/gpu/drm/xe/xe_mmio.c
@@
-105,7
+105,7
@@
static void xe_resize_vram_bar(struct xe_device *xe)
pci_bus_for_each_resource(root, root_res, i) {
if (root_res && root_res->flags & (IORESOURCE_MEM | IORESOURCE_MEM_64) &&
-
root_res->start > 0x100000000ul
l)
+
(u64)root_res->start > 0x100000000u
l)
break;
}