commit | 603b7bcff824740500ddfa001d7a7168b0b38542 | [log] [tgz] |
---|---|---|
author | Alex Vesker <valex@mellanox.com> | Fri May 25 20:25:59 2018 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Jun 26 15:26:34 2018 -0700 |
tree | 58cc8e39cf706ae2a12da898837cb2441890f0f5 | |
parent | d14fcb8d877caf1b8d6bd65d444bf62b21f2070c [diff] |
net/mlx5: Fix incorrect raw command length parsing The NULL character was not set correctly for the string containing the command length, this caused failures reading the output of the command due to a random length. The fix is to initialize the output length string. Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Signed-off-by: Alex Vesker <valex@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>