diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2006-07-01 04:36:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-01 09:56:01 -0700 |
commit | 6d8e9dd050ea78862b6c5e2c873ad6407f9b2428 (patch) | |
tree | 4279eb8f2b6ac1359f0e4af32f6df75b124e5efe /drivers/infiniband/hw/ipath/ipath_file_ops.c | |
parent | 8307c28eecea917c4754075fbb85eb398a3bc516 (diff) | |
download | blackbird-op-linux-6d8e9dd050ea78862b6c5e2c873ad6407f9b2428.tar.gz blackbird-op-linux-6d8e9dd050ea78862b6c5e2c873ad6407f9b2428.zip |
[PATCH] IB/ipath: read/write correct sizes through diag interface
We must increment uaddr by size we are reading or writing, since it's passed
as a char *, not a pointer to the appropriate size.
Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Cc: "Michael S. Tsirkin" <mst@mellanox.co.il>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_file_ops.c')
0 files changed, 0 insertions, 0 deletions