From: Maor Gottlieb Date: Thu, 10 Nov 2016 09:30:58 +0000 (+0200) Subject: IB/mlx4: Put non zero value in max_ah device attribute X-Git-Tag: v3.2.87~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ae78beef536ac54f0d4de60446df620afa4082f;p=pandora-kernel.git IB/mlx4: Put non zero value in max_ah device attribute commit 731e0415b4af3a133d0316e4dc8ef0ea57dc3fdf upstream. Use INT_MAX since this is the max value the attribute can hold, though hardware capability is unlimited. Fixes: 225c7b1feef1 ('IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters') Signed-off-by: Maor Gottlieb Signed-off-by: Daniel Jurgens Reviewed-by: Mark Bloch Reviewed-by: Yuval Shaia Signed-off-by: Leon Romanovsky Signed-off-by: Doug Ledford [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed