[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201207192638.15219-3-Philipp.Gerlesberger@fau.de>
Date: Mon, 7 Dec 2020 20:26:29 +0100
From: Philipp Gerlesberger <Philipp.Gerlesberger@....de>
To: linux-kernel@...r.kernel.org
Cc: Philipp Gerlesberger <Philipp.Gerlesberger@....de>,
linux-media@...r.kernel.org, devel@...verdev.osuosl.org,
mchehab@...nel.org, sakari.ailus@...ux.intel.com,
gregkh@...uxfoundation.org,
ij72uhux@...d.informatik.uni-erlangen.de, linux-kernel@...cs.fau.de
Subject: [PATCH 02/12] media: atomisp: Fix Block Comments
Block comments should use * on subsequent lines and
should use a trailing */ on a separate line.
Co-developed-by: Andrey Khlopkov <ij72uhux@...d.informatik.uni-erlangen.de>
Signed-off-by: Andrey Khlopkov <ij72uhux@...d.informatik.uni-erlangen.de>
Signed-off-by: Philipp Gerlesberger <Philipp.Gerlesberger@....de>
---
.../staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c b/drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
index af61d05e88d3..4ba5b8f88a7d 100644
--- a/drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
+++ b/drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
@@ -98,7 +98,7 @@ void ia_css_rmgr_refcount_retain_vbuf(struct ia_css_rmgr_vbuf_handle **handle)
}
}
/* if the loop dus not break and *handle == NULL
- this is an error handle and report it.
+ * this is an error handle and report it.
*/
if (!*handle) {
ia_css_debug_dtrace(IA_CSS_DEBUG_ERROR,
@@ -253,7 +253,8 @@ void rmgr_pop_handle(struct ia_css_rmgr_vbuf_pool *pool,
*handle = pool->handles[i];
pool->handles[i] = NULL;
/* dont release, we are returning it...
- ia_css_rmgr_refcount_release_vbuf(handle); */
+ * ia_css_rmgr_refcount_release_vbuf(handle);
+ */
return;
}
}
--
2.20.1
Powered by blists - more mailing lists