diff options
author | Bob Pearson <rpearson@hpe.com> | 2021-02-05 17:05:26 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-02-08 20:42:57 -0400 |
commit | dc78074a808e2363fd0de92fbc5f5bf44c9d0db1 (patch) | |
tree | ab51cbc6fa7ecbd01a5f08ac9bf2f23c8d2edfa1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | db72438c9319cfd37e3c237a7754ca862ae12d63 (diff) |
RDMA/rxe: Fix minor coding style issues
checkpatch -f found 3 warnings in RDMA/rxe
1. a missing space following switch
2. return followed by else
3. use of strlcpy() instead of strscpy().
This patch fixes each of these. In
...
} elseif (...) {
...
return 0;
} else
...
The middle block can be safely moved since it is completely independent of
the other code.
Link: https://lore.kernel.org/r/20210205230525.49068-1-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions