Searched hist:dc78074a (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_qp.c | dc78074a Fri Feb 05 17:05:26 CST 2021 Bob Pearson <rpearson@hpe.com> 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>
|
H A D | rxe_verbs.c | dc78074a Fri Feb 05 17:05:26 CST 2021 Bob Pearson <rpearson@hpe.com> 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>
|