Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1688638
| From | Shy More <smklearn@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] [media] staging/atomisp: fixed trivial coding style issue |
| Date | 2017-07-17 06:20 +0200 |
| Message-ID | <u45FL-6o-7@gated-at.bofh.it> (permalink) |
| References | <u41C9-5Ly-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Below was the trival error flagged by checkpatch.pl:
ERROR: space prohibited after that open parenthesis '('
Signed-off-by: Shy More <smklearn@gmail.com>
---
changes in v2:
- made the suggested corrections
---
.../atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c
index bb9f5cd..faef976 100644
--- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c
+++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c
@@ -130,8 +130,7 @@ void ia_css_isys_ibuf_rmgr_release(
for (i = 0; i < ibuf_rsrc.num_allocated; i++) {
handle = getHandle(i);
- if ((handle->start_addr == *start_addr)
- && ( true == handle->active)) {
+ if (handle->active && handle->start_addr == *start_addr) {
handle->active = false;
ibuf_rsrc.num_active--;
break;
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] [media] staging/atomisp: fix minor coding style warnings smklearn <smklearn@gmail.com> - 2017-07-13 17:10 +0200
Re: [PATCH] [media] staging/atomisp: fix minor coding style warnings Greg KH <gregkh@linuxfoundation.org> - 2017-07-13 17:20 +0200
[PATCH 1/2] [media] staging/atomisp: fixed trivial coding style warning Shy More <smklearn@gmail.com> - 2017-07-17 01:40 +0200
[PATCH 2/2] [media] staging/atomisp: fixed trivial coding style issue Shy More <smklearn@gmail.com> - 2017-07-17 01:40 +0200
Re: [PATCH 2/2] [media] staging/atomisp: fixed trivial coding style issue Joe Perches <joe@perches.com> - 2017-07-17 02:00 +0200
[PATCH v2] [media] staging/atomisp: fixed trivial coding style issue Shy More <smklearn@gmail.com> - 2017-07-17 06:20 +0200
csiph-web