linux_dsm_epyc7002/drivers/infiniband/hw/mlx4
Qian Cai 0fbc9b8b4e mlx4: Use snprintf instead of complicated strcpy
This fixes a compilation warning in sysfs.c

drivers/infiniband/hw/mlx4/sysfs.c:360:2: warning: 'strncpy' output may be
truncated copying 8 bytes from a string of length 31
[-Wstringop-truncation]

By eliminating the temporary stack buffer.

Signed-off-by: Qian Cai <cai@gmx.us>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-12-06 20:23:06 -07:00
..
ah.c IB/mlx4: Create slave AH's directly 2018-06-26 14:37:26 -06:00
alias_GUID.c IB/mlx4: Fix some spelling mistakes 2017-08-24 16:27:10 -04:00
cm.c IB/mlx4: Fix CM REQ retries in paravirt mode 2017-07-20 11:20:50 -04:00
cq.c IB/mlx: Set slid to zero in Ethernet completion struct 2018-02-28 12:10:32 -07:00
doorbell.c
Kconfig RDMA: Fix dependencies for rdma_user_mmap_io 2018-09-26 13:50:40 -06:00
mad.c IB/mlx4: Add port and TID to MAD debug print 2018-10-16 14:23:33 -04:00
main.c mlx4: trigger IB events needed by SMC 2018-11-22 11:57:31 -07:00
Makefile
mcg.c IB/mlx4: Remove unnecessary parentheses 2018-09-21 12:00:50 -04:00
mlx4_ib.h mlx4: trigger IB events needed by SMC 2018-11-22 11:57:31 -07:00
mr.c IB/mlx4: Fix an error handling path in 'mlx4_ib_rereg_user_mr()' 2018-06-11 12:43:41 -06:00
qp.c RDMA: Remove unused parameter from ib_modify_qp_is_ok() 2018-10-03 16:05:46 -06:00
srq.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
sysfs.c mlx4: Use snprintf instead of complicated strcpy 2018-12-06 20:23:06 -07:00