linux-hardened/drivers/infiniband/hw
Bart Van Assche 7cfcc71eb0 RDMA/usnic: Suppress a compiler warning
This patch avoids that the following compiler warning is reported when
building with gcc 8 and W=1:

drivers/infiniband/hw/usnic/usnic_fwd.c:95:2: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 20 [-Wstringop-truncation]
  strncpy(ufdev->name, netdev_name(ufdev->netdev),
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sizeof(ufdev->name) - 1);
    ~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-07-26 11:39:06 -06:00
..
bnxt_re RDMA/bnxt_re: Modify a fall-through annotation 2018-07-23 15:36:23 -06:00
cxgb3 RDMA/cxgb3: Make iwch_poll_cq_one() easier to analyze 2018-07-09 12:55:28 -06:00
cxgb4 rdma/cxgb4: Add support for kernel mode SRQ's 2018-07-25 21:08:04 -06:00
hfi1 IB/hfi1: Suppress a compiler warning 2018-07-11 14:20:45 -06:00
hns hns: Remove a set-but-not-used variable 2018-07-11 14:21:52 -06:00
i40iw infiniband: i40iw, nes: don't use wall time for TCP sequence numbers 2018-07-11 12:10:19 -06:00
mlx4 RDMA: Fix storage of PortInfo CapabilityMask in the kernel 2018-07-10 11:06:45 -06:00
mlx5 IB/uverbs: Fix locking around struct ib_uverbs_file ucontext 2018-07-25 14:21:46 -06:00
mthca IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
nes infiniband: i40iw, nes: don't use wall time for TCP sequence numbers 2018-07-11 12:10:19 -06:00
ocrdma RDMA/ocrdma: Suppress a compiler warning 2018-07-25 14:35:11 -06:00
qedr RDMA: Fix storage of PortInfo CapabilityMask in the kernel 2018-07-10 11:06:45 -06:00
qib RDMA: Fix storage of PortInfo CapabilityMask in the kernel 2018-07-10 11:06:45 -06:00
usnic RDMA/usnic: Suppress a compiler warning 2018-07-26 11:39:06 -06:00
vmw_pvrdma RDMA: Fix storage of PortInfo CapabilityMask in the kernel 2018-07-10 11:06:45 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00