]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] IB/ipath: read/write correct sizes through diag interface
authorBryan O'Sullivan <bos@pathscale.com>
Sat, 1 Jul 2006 11:36:14 +0000 (04:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 1 Jul 2006 16:56:01 +0000 (09:56 -0700)
commit5de5f0f8b0d57f1619d1a7321593814a6442b06d
tree4279eb8f2b6ac1359f0e4af32f6df75b124e5efe
parent0cfe409b699bf2280fd80874db10c8ee16dd7e24
[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>
drivers/infiniband/hw/ipath/ipath_diag.c