Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1557087 > unrolled thread
| Started by | Scott Matheina <scott@matheina.com> |
|---|---|
| First post | 2017-01-12 04:40 +0100 |
| Last post | 2017-01-12 04:40 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 2/7] staging:wilc1000:host_interface.c Added braces {} on else statemement Scott Matheina <scott@matheina.com> - 2017-01-12 04:40 +0100
| From | Scott Matheina <scott@matheina.com> |
|---|---|
| Date | 2017-01-12 04:40 +0100 |
| Subject | [PATCH 2/7] staging:wilc1000:host_interface.c Added braces {} on else statemement |
| Message-ID | <sYEp3-7eK-3@gated-at.bofh.it> |
Fixes checkpatch warning: braces {} should be used on all arms of
this statement
Signed-off-by: Scott Matheina <scott@matheina.com>
---
drivers/staging/wilc1000/host_interface.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index b00ea75..c307cce 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3998,8 +3998,9 @@ static void *host_int_ParseJoinBssParam(struct network_info *ptstrNetworkInfo)
pNewJoinBssParam->rsn_found = true;
index += pu8IEs[index + 1] + 2;
continue;
- } else
+ } else {
index += pu8IEs[index + 1] + 2;
+ }
}
}
--
2.7.4
Back to top | Article view | linux.kernel
csiph-web