projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac49199
)
RDMA/rtrs: Remove empty line after bracket
author
Gioh Kim
<gi-oh.kim@ionos.com>
Fri, 14 Jan 2022 15:47:49 +0000
(16:47 +0100)
committer
Jason Gunthorpe
<jgg@nvidia.com>
Fri, 28 Jan 2022 14:55:57 +0000
(10:55 -0400)
Fix:
CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
Link:
https://lore.kernel.org/r/20220114154753.983568-2-haris.iqbal@ionos.com
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/rtrs/rtrs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/rtrs/rtrs.c
b/drivers/infiniband/ulp/rtrs/rtrs.c
index
4da8891
..
60fa0b0
100644
(file)
--- a/
drivers/infiniband/ulp/rtrs/rtrs.c
+++ b/
drivers/infiniband/ulp/rtrs/rtrs.c
@@
-479,7
+479,6
@@
static int rtrs_str_to_sockaddr(const char *addr, size_t len,
*/
int sockaddr_to_str(const struct sockaddr *addr, char *buf, size_t len)
{
-
switch (addr->sa_family) {
case AF_IB:
return scnprintf(buf, len, "gid:%pI6",