diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-20 15:52:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 09:46:36 -0700 |
commit | 3543fb776d8e63934615bf7070ee5fa5a6a7382d (patch) | |
tree | 23d72ea3e76e14a7b61bd0c4e20b3dea34feb5ad /drivers/memstick | |
parent | 0cb4e2be8bce5e176021a2e96b38e5d3727645a4 (diff) | |
download | lwn-3543fb776d8e63934615bf7070ee5fa5a6a7382d.tar.gz lwn-3543fb776d8e63934615bf7070ee5fa5a6a7382d.zip |
thunderbolt: fix format string for size_t
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>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions