git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cb4e2b
)
thunderbolt: fix format string for size_t
author
Arnd Bergmann
<arnd@arndb.de>
Fri, 20 Jun 2014 13:52:11 +0000
(15:52 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 16:46:36 +0000
(09:46 -0700)
The result of "sizeof(struct tb_drom_entry_port)" is a size_t, which
is not necessarily the same as 'long', so we should use the appropriate
%z format string instead of %l.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found