projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8657ad4
)
video: Expand video debugging buffer size
author
Simon Glass
<sjg@chromium.org>
Fri, 19 Nov 2021 20:23:51 +0000
(13:23 -0700)
committer
Anatolij Gustschin
<agust@denx.de>
Sun, 26 Dec 2021 22:02:19 +0000
(23:02 +0100)
On sandbox these addresses are 16 hex digits log so we need more space
for the debug string. Update it.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/video/video-uclass.c
b/drivers/video/video-uclass.c
index
43ebb3c
..
bab2a03
100644
(file)
--- a/
drivers/video/video-uclass.c
+++ b/
drivers/video/video-uclass.c
@@
-279,10
+279,10
@@
int video_sync_copy(struct udevice *dev, void *from, void *to)
*/
if (offset < -priv->fb_size || offset > 2 * priv->fb_size) {
#ifdef DEBUG
- char str[
8
0];
+ char str[
12
0];
snprintf(str, sizeof(str),
- "[sync_copy fb=%p, from=%p, to=%p, offset=%lx]",
+ "[
** FAULT
sync_copy fb=%p, from=%p, to=%p, offset=%lx]",
priv->fb, from, to, offset);
console_puts_select_stderr(true, str);
#endif