forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/infiniband/hw/mlx4/sysfs.c
....@@ -221,7 +221,7 @@
221221 static int add_port_entries(struct mlx4_ib_dev *device, int port_num)
222222 {
223223 int i;
224
- char buff[11];
224
+ char buff[12];
225225 struct mlx4_ib_iov_port *port = NULL;
226226 int ret = 0 ;
227227 struct ib_port_attr attr;