|
@@ -221,7 +221,7 @@ void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num,
|
|
static int add_port_entries(struct mlx4_ib_dev *device, int port_num)
|
|
static int add_port_entries(struct mlx4_ib_dev *device, int port_num)
|
|
{
|
|
{
|
|
int i;
|
|
int i;
|
|
- char buff[10];
|
|
|
|
|
|
+ char buff[11];
|
|
struct mlx4_ib_iov_port *port = NULL;
|
|
struct mlx4_ib_iov_port *port = NULL;
|
|
int ret = 0 ;
|
|
int ret = 0 ;
|
|
struct ib_port_attr attr;
|
|
struct ib_port_attr attr;
|