projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99b6d22
)
解决开机kernel logo问题
author
陈金泉
<chenjq@rock-chips.com>
Wed, 31 Aug 2011 04:46:31 +0000
(12:46 +0800)
committer
陈金泉
<chenjq@rock-chips.com>
Wed, 31 Aug 2011 04:46:31 +0000
(12:46 +0800)
scripts/pnmtologo.c
patch
|
blob
|
history
diff --git
a/scripts/pnmtologo.c
b/scripts/pnmtologo.c
index b5beb5bc5eb5a599c74f6776715ce8a836385e58..3b2698d427fc67a836adab51c52804bc7cacbf52 100755
(executable)
--- a/
scripts/pnmtologo.c
+++ b/
scripts/pnmtologo.c
@@
-278,7
+278,7
@@
static void write_footer(void)
if (logo_type == LINUX_LOGO_CLUT224) {
fprintf(out, "\t.clut\t\t= &(%s_clut[%ld]),\n", logoname, sizeof(clut_name));
- fprintf(out, "\t.data\t\t= &(%s_data[%ld])\n", logoname, sizeof(data_name));
+ fprintf(out, "\t.data\t\t= &(%s_data[%ld])\n", logoname, sizeof(data_name)
+ 4
);
} else {
fprintf(out, "\t.width\t\t= %d,\n", logo_width);
fprintf(out, "\t.height\t\t= %d,\n", logo_height);