Dan Carpenter 4661bd798f mlx4_core: Make buffer larger to avoid overflow warning
My static checker complains that the sprintf() here can overflow.

	drivers/infiniband/hw/mlx4/main.c:1836 mlx4_ib_alloc_eqs()
	error: format string overflow. buf_size: 32 length: 69

This seems like a valid complaint.  The "dev->pdev->bus->name" string
can be 48 characters long.  I just made the buffer 80 characters instead
of 69 and I changed the sprintf() to snprintf().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-04-01 10:53:29 -07:00
..
2008-04-29 08:06:12 -07:00
2014-01-19 15:14:05 -08:00
2014-01-22 23:24:21 -08:00
2013-02-25 10:44:32 -08:00
2014-01-22 23:24:21 -08:00
2014-01-18 13:51:33 -08:00
2012-11-26 10:19:17 -08:00