summaryrefslogtreecommitdiff
path: root/tools/include/asm
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2017-01-19 15:25:58 +0200
committerDoug Ledford <dledford@redhat.com>2017-01-24 16:17:25 -0500
commitf39f775218a7520e3700de2003c84a042c3b5972 (patch)
treed11f8e85fb2f550437917e06d2b20a4ed091cf8c /tools/include/asm
parent828f6fa65ce7e80f77f5ab12942e44eb3d9d174e (diff)
IB/rxe: Fix rxe dev insertion to rxe_dev_list
The first argument of list_add_tail is the new item and the second is the head of the list. Fix the code to pass arguments in the right order, otherwise not all the rxe devices will be removed during teardown. Fixes: 8700e3e7c4857 ('Soft RoCE driver') Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/include/asm')
0 files changed, 0 insertions, 0 deletions
s. Function `pl330_request_channel' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'sound/usb/card.c')