diff options
| author | Michael S. Tsirkin <[email protected]> | 2006-12-29 16:47:37 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-30 10:55:55 -0800 |
| commit | 9d79f1b4677cfe503f721000529f1462ca7b6f6d (patch) | |
| tree | 5aa6118178086942f7e96941536fe6ad0ab5df45 /include/linux/debugobjects.h | |
| parent | 31f87cf48d54f5930e6e8e827989c18b0069c94a (diff) | |
[PATCH] IB/mthca: Fix FMR breakage caused by kmemdup() conversion
Commit bed8bdfd ("IB: kmemdup() cleanup") introduced one bad conversion to
kmemdup() in mthca_alloc_fmr(), where the structure allocated and the
structure copied are not the same size. Revert this back to the original
kmalloc()/memcpy() code.
Reported-by: Dotan Barak <[email protected]>.
Signed-off-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions