Fix for build error /uboot/driver/video/simplefb.c

ARJUN C R arjuncr00 at gmail.com
Sun Feb 2 12:05:44 CET 2020


Hi,

diff:

--- u-boot-2020.04-rc1_new/drivers/video/simplefb.c 2020-02-02
16:31:57.416168719 +0530
+++ u-boot-2020.04-rc1/drivers/video/simplefb.c 2020-01-29
03:29:30.000000000 +0530
@@ -26,7 +26,7 @@ static int simple_video_probe(struct ude
  return -EINVAL;
  }

- debug("%s: base=%lx, size=%lu\n", __func__, base, size);
+ debug("%s: base=%llx, size=%llu\n", __func__, base, size);

  /*
  * TODO is there some way to reserve the framebuffer

variables base and size is unsinged long int, so the format specifier
should be %lx and %lu.

Regards
ARJUN C R


More information about the U-Boot mailing list