diff options
| author | Sudip Mukherjee <[email protected]> | 2020-04-25 23:35:45 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-05-12 14:47:00 +0000 |
| commit | bb43c8e382e5da0ee253e3105d4099820ff4d922 (patch) | |
| tree | 232371068813294aecaa2f0f70f69d4e0da3a9a5 /tools/perf/scripts/python | |
| parent | i40iw: Fix error handling in i40iw_manage_arp_cache() (diff) | |
| download | kernel-bb43c8e382e5da0ee253e3105d4099820ff4d922.tar.gz kernel-bb43c8e382e5da0ee253e3105d4099820ff4d922.zip | |
RDMA/rxe: Always return ERR_PTR from rxe_create_mmap_info()
The commit below modified rxe_create_mmap_info() to return ERR_PTR's but
didn't update the callers to handle them. Modify rxe_create_mmap_info() to
only return ERR_PTR and fix all error checking after
rxe_create_mmap_info() is called.
Ensure that all other exit paths properly set the error return.
Fixes: ff23dfa13457 ("IB: Pass only ib_udata in function prototypes")
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/20200511183742.GB225608@mwanda
Cc: [email protected] [5.4+]
Signed-off-by: Sudip Mukherjee <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
