Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1554882
| From | Scott Matheina <scott@matheina.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] staging:sm750fb:ddk750_chip.c Adds braces to last arm of statement |
| Date | 2017-01-10 03:30 +0100 |
| Message-ID | <sXUmd-3ID-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Fixes absence of braces on last arm of statement, identified by
checkpatch
Signed-off-by: Scott Matheina <scott@matheina.com>
---
drivers/staging/sm750fb/ddk750_chip.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index f59ce5c..ec33f1f 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -25,8 +25,9 @@ void sm750_set_chip_type(unsigned short devId, u8 revId)
chip = SM750LE;
pr_info("found sm750le\n");
}
- } else
+ } else {
chip = SM_UNKNOWN;
+ }
}
static unsigned int get_mxclk_freq(void)
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 1/2] staging:sm750fb:ddk750_chip.c Adds braces to last arm of statement Scott Matheina <scott@matheina.com> - 2017-01-10 03:30 +0100
csiph-web