]> asedeno.scripts.mit.edu Git - linux.git/commit
mlx5_core: Fix out arg size in access_register command
authorHaggai Eran <haggaie@mellanox.com>
Tue, 14 Jan 2014 15:45:13 +0000 (17:45 +0200)
committerRoland Dreier <roland@purestorage.com>
Thu, 23 Jan 2014 07:23:44 +0000 (23:23 -0800)
commite08a8761d89b7625144c3fbf0ff9643159135c96
tree9119591c55149e6aaabdd909bb0763627b16b436
parentc1be5232d21de68f46637e617225b9b7c586451a
mlx5_core: Fix out arg size in access_register command

The output size should be the sum of the core access reg output struct
plus the size of the specific register data provided by the caller.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx5/core/port.c