commit | 505d62d073b528859b43bfb463a6ceaf3581469e | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@breakpoint.cc> | Sun Jul 26 14:57:54 2009 +0200 |
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | Mon Jul 27 12:37:27 2009 +0200 |
tree | 482d391e4f557223e6ea53de27f9c4da859fd156 | |
parent | 4be3bd7849165e7efa6b0b35a23d6a3598d97465 [diff] |
avr32/lib: fix unaligned memcpy() memcpy(p, unaligned, 4..) returns (p + num_of_unaligned_by_copied) instead of p because p is not preserved in the unaligned case. Noticed by Herbert Xu's superior parameter recycling coding technique which let the md4 self-test fail on avr32. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>