projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f2f4e7
)
efi.h: use %pUl to print UUIDs
author
Joe Perches
<joe@perches.com>
Tue, 15 Dec 2009 02:01:14 +0000
(18:01 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:33 +0000
(08:53 -0800)
Shrinks vmlinux
without:
$ size vmlinux
text data bss dec hex filename
6975863
679652
1359668
9015183
898f8f vmlinux
with:
$ size vmlinux
text data bss dec hex filename
6975639
679652
1359668
9014959
898eaf vmlinux
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Jeff Garzik <jgarzik@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/efi.h
patch
|
blob
|
history
diff --git
a/include/linux/efi.h
b/include/linux/efi.h
index ce4581fbc08beec42b44882b367f9ef49f3389c4..fb737bc19a8ce233fa016e71ccf77461c5e81dbc 100644
(file)
--- a/
include/linux/efi.h
+++ b/
include/linux/efi.h
@@
-280,11
+280,7
@@
efi_guidcmp (efi_guid_t left, efi_guid_t right)
static inline char *
efi_guid_unparse(efi_guid_t *guid, char *out)
{
- sprintf(out, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
- guid->b[3], guid->b[2], guid->b[1], guid->b[0],
- guid->b[5], guid->b[4], guid->b[7], guid->b[6],
- guid->b[8], guid->b[9], guid->b[10], guid->b[11],
- guid->b[12], guid->b[13], guid->b[14], guid->b[15]);
+ sprintf(out, "%pUl", guid->b);
return out;
}