diff options
author | Joe Perches <joe@perches.com> | 2009-09-18 13:04:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-22 14:00:05 -0700 |
commit | eb78cd26b9b519d94e20ce9c0697e5056046669d (patch) | |
tree | 7957cf4d3d61d5de3152642c0ded0ce230bb2ad1 /lib/locking-selftest-hardirq.h | |
parent | 95acf7d7ed95fdb9bfd5b7a71752701a0e382bd9 (diff) | |
download | linux-eb78cd26b9b519d94e20ce9c0697e5056046669d.tar.gz linux-eb78cd26b9b519d94e20ce9c0697e5056046669d.tar.bz2 linux-eb78cd26b9b519d94e20ce9c0697e5056046669d.zip |
lib/vsprintf.c: Avoid possible unaligned accesses in %pI6c
Jens Rosenboom noticed that a possibly unaligned const char*
is cast to a const struct in6_addr *.
Avoid this at the cost of a struct in6_addr copy on the stack.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/locking-selftest-hardirq.h')
0 files changed, 0 insertions, 0 deletions