projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5caad67
)
RDMA/hns: Fix inconsistent warning
author
Wei Hu(Xavier)
<
[email protected]
>
Wed, 30 Aug 2017 09:23:18 +0000
(17:23 +0800)
committer
Doug Ledford
<
[email protected]
>
Wed, 27 Sep 2017 12:34:56 +0000
(08:34 -0400)
This patch fixes smatch inconsistent warning as below:
drivers/infiniband/hw/hns/hns_roce_hem.h:136 hns_roce_hem_first() warn: inconsistent indenting
Signed-off-by: Wei Hu (Xavier) <
[email protected]
>
Signed-off-by: Shaobo Xu <
[email protected]
>
Signed-off-by: Lijun Ou <
[email protected]
>
Signed-off-by: Doug Ledford <
[email protected]
>
drivers/infiniband/hw/hns/hns_roce_hem.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hns/hns_roce_hem.h
b/drivers/infiniband/hw/hns/hns_roce_hem.h
index 1aa54b6d583e69628405855366d81a7364e862c6..af28bbf31c7fe98d50f7f93d757e476e152af291 100644
(file)
--- a/
drivers/infiniband/hw/hns/hns_roce_hem.h
+++ b/
drivers/infiniband/hw/hns/hns_roce_hem.h
@@
-133,7
+133,7
@@
static inline void hns_roce_hem_first(struct hns_roce_hem *hem,
iter->chunk = list_empty(&hem->chunk_list) ? NULL :
list_entry(hem->chunk_list.next,
struct hns_roce_hem_chunk, list);
-
iter->page_idx = 0;
+ iter->page_idx = 0;
}
static inline int hns_roce_hem_last(struct hns_roce_hem_iter *iter)