linux_dsm_epyc7002/drivers/infiniband/hw/qib
Markus Elfring 48ef5865d0 IB/qib: Use memdup_user() rather than duplicating its implementation
Reuse existing functionality from memdup_user() instead of keeping
duplicate source code.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-08-23 12:38:24 -04:00
..
Kconfig IB/qib: Begin to use rdmavt for verbs 2016-03-10 20:37:15 -05:00
Makefile IB/qib: Remove srq functionality 2016-03-10 20:37:33 -05:00
qib_6120_regs.h
qib_7220_regs.h
qib_7220.h IB/qib: Eliminate 64-bit jiffies use 2012-01-03 20:52:12 -08:00
qib_7322_regs.h IB/qib: Mask hardware error during link reset 2010-07-06 14:13:20 -07:00
qib_common.h IB/qib: Remove modify queue pair code 2016-03-10 20:37:34 -05:00
qib_debugfs.c IB/hfi1,IB/qib: Fix qp_stats sleep with rcu read lock held 2016-08-22 14:31:34 -04:00
qib_debugfs.h IB/qib: Convert opcode counters to per-context 2013-06-21 17:19:50 -07:00
qib_diag.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_dma.c IB/qib: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads 2014-04-01 11:16:31 -07:00
qib_driver.c IB/qib: Remove modify queue pair code 2016-03-10 20:37:34 -05:00
qib_eeprom.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_file_ops.c IB/qib: Prevent context loss 2016-06-17 20:11:26 -04:00
qib_fs.c IB/qib: Use memdup_user() rather than duplicating its implementation 2016-08-23 12:38:24 -04:00
qib_iba6120.c IB/qib: Remove ibport and use rdmavt version 2016-03-10 20:37:21 -05:00
qib_iba7220.c IB/qib: use arch_phys_wc_add() 2015-05-05 09:18:02 -04:00
qib_iba7322.c IB/qib: Remove unused qib_7322_intr_msgs[] 2016-05-26 11:23:11 -04:00
qib_init.c IB/rdmavt,hfi1,qib: Fix memory leak 2016-04-28 16:32:27 -04:00
qib_intr.c IB/qib: Begin to use rdmavt for verbs 2016-03-10 20:37:15 -05:00
qib_keys.c IB/qib: Remove qp and mr functionality from qib 2016-03-10 20:37:18 -05:00
qib_mad.c IB/core: Introduce capabilitymask2 field in ClassPortInfo mad 2016-05-25 15:39:02 -04:00
qib_mad.h IB/core: Add core header changes needed for OPA 2015-08-28 22:54:50 -04:00
qib_pcie.c IB/qib: Use cache inhibitted and guarded mapping on powerpc 2016-05-01 18:32:13 +10:00
qib_pio_copy.c
qib_qp.c IB/hfi1,IB/qib: Fix qp_stats sleep with rcu read lock held 2016-08-22 14:31:34 -04:00
qib_qsfp.c IB/qib: Minor fixes to qib per SFF 8636 2015-12-07 16:36:00 -05:00
qib_qsfp.h IB/qib: Eliminate 64-bit jiffies use 2012-01-03 20:52:12 -08:00
qib_rc.c IB/qib, IB/hfi1: Fix up UD loopback use of irq flags 2016-04-28 16:32:26 -04:00
qib_ruc.c IB/qib, IB/hfi1: Fix up UD loopback use of irq flags 2016-04-28 16:32:26 -04:00
qib_sd7220.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_sdma.c IB/qib: Remove modify queue pair code 2016-03-10 20:37:34 -05:00
qib_sysfs.c IB/qib: Remove ibport and use rdmavt version 2016-03-10 20:37:21 -05:00
qib_twsi.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_tx.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_uc.c IB/qib, IB/hfi1: Fix up UD loopback use of irq flags 2016-04-28 16:32:26 -04:00
qib_ud.c IB/qib, IB/hfi1: Fix grh creation in ud loopback 2016-08-02 16:00:58 -04:00
qib_user_pages.c mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm 2016-02-16 10:11:12 +01:00
qib_user_sdma.c IB/qib: Add blank line after declaration 2015-02-20 09:04:12 -08:00
qib_user_sdma.h
qib_verbs.c IB/qib: Add qib post send table 2016-08-02 15:47:44 -04:00
qib_verbs.h IB/qib: Add qib post send table 2016-08-02 15:47:44 -04:00
qib_wc_ppc64.c
qib_wc_x86_64.c IB/qib: fix test of unsigned variable 2015-05-12 13:55:41 -04:00
qib.h IB/qib: Rename several functions by adding a "qib_" prefix 2016-03-10 20:38:07 -05:00