linux-sg2042/drivers/infiniband/hw/ehca
Nicholas Mc Guire 94634e9861 IB/ehca: use correct destination for memcpy
Using an element of a struct as the address for the memcpy of the whole
struct may introduce a buffer overflow and does not help readability either
simply pass the real thing as first argument to memcpy.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-05-11 17:14:37 -04:00
..
Kconfig
Makefile
ehca_av.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_classes.h IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
ehca_classes_pSeries.h IB/ehca: Remove superfluous bitmasks from QP control block 2009-06-03 13:25:42 -07:00
ehca_cq.c IB/ehca: Returns an error on ib_copy_to_udata() failure 2014-04-01 10:36:07 -07:00
ehca_eq.c IB/ehca: Remove uses of virt_to_abs() and abs_to_virt() 2012-09-05 15:18:45 +10:00
ehca_hca.c IB: Use central enum for speed instead of hard-coded values 2012-03-05 09:25:16 -08:00
ehca_irq.c infiniband: ehca: Fix compiler warnings 2012-08-20 08:11:04 -07:00
ehca_irq.h infiniband: Ehca: Use hotplug thread infrastructure 2012-08-13 17:01:08 +02:00
ehca_iverbs.h IB/core: Add "type 2" memory windows support 2013-02-21 11:51:45 -08:00
ehca_main.c Main batch of InfiniBand/RDMA changes for 3.11 merge window: 2013-07-13 12:57:21 -07:00
ehca_mcast.c IB/ehca: use correct destination for memcpy 2015-05-11 17:14:37 -04:00
ehca_mrmw.c IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
ehca_mrmw.h IB/ehca: Tolerate dynamic memory operations before driver load 2009-06-22 22:18:51 -07:00
ehca_pd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_qes.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
ehca_qp.c IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
ehca_reqs.c IB/ehca: Remove uses of virt_to_abs() and abs_to_virt() 2012-09-05 15:18:45 +10:00
ehca_sqp.c IB/ehca: Require in_wc in process_mad() 2010-02-19 11:13:39 -08:00
ehca_tools.h IB/ehca: Remove uses of virt_to_abs() and abs_to_virt() 2012-09-05 15:18:45 +10:00
ehca_uverbs.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
hcp_if.c powerpc: Move get_longbusy_msecs into hvcall.h and remove duplicate function 2012-11-15 15:08:07 +11:00
hcp_if.h fix typos concerning "initiali[zs]e" 2010-06-16 18:05:05 +02:00
hcp_phyp.c IB/ehca: Catch failing ioremap() 2010-07-21 12:46:29 -07:00
hcp_phyp.h IB/ehca: Catch failing ioremap() 2010-07-21 12:46:29 -07:00
hipz_fns.h
hipz_fns_core.h IB/ehca: Fix warnings issued by checkpatch.pl 2007-07-17 18:37:40 -07:00
hipz_hw.h IB/ehca: Serialize HCA-related hCalls if necessary 2007-12-12 14:09:43 -08:00
ipz_pt_fn.c treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks 2013-08-20 13:06:40 +02:00
ipz_pt_fn.h IB/ehca: Move extern declarations from .c files to .h files 2007-07-28 21:47:53 -07:00