From: Mikhail Shvetsov <lameli67@gmail.com>
To: stefan.wahren@i2se.com
Cc: eric@anholt.net, gregkh@linuxfoundation.org,
goudapatilk@gmail.com, linux-rpi-kernel@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, lameli67@yandex.ru,
Mikhail Shvetsov <lameli67@gmail.com>
Subject: [PATCH 2/3] staging: vchiq_arm: Fixing code style of comments
Date: Thu, 14 Dec 2017 23:40:04 +0300 [thread overview]
Message-ID: <772f34803fcc0f7ebfd39467326ca3ec93498ed5.1513283180.git.lameli67@gmail.com> (raw)
In-Reply-To: <cover.1513283180.git.lameli67@gmail.com>
In-Reply-To: <8ca203ae9222beeff6b6f2eda829e0cea702cd4e.1513283180.git.lameli67@gmail.com>
Signed-off-by: Mikhail Shvetsov <lameli67@gmail.com>
---
.../vc04_services/interface/vchiq_arm/vchiq_kern_lib.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_kern_lib.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_kern_lib.c
index 4a40b9b31a5a..48f05062fc12 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_kern_lib.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_kern_lib.c
@@ -72,7 +72,9 @@ VCHIQ_STATUS_T vchiq_initialise(VCHIQ_INSTANCE_T *instance_out)
vchiq_log_trace(vchiq_core_log_level, "%s called", __func__);
/* VideoCore may not be ready due to boot up timing.
- It may never be ready if kernel and firmware are mismatched, so don't block forever. */
+ * It may never be ready if kernel and firmware are mismatched, so don't
+ * block forever.
+ */
for (i = 0; i < VCHIQ_INIT_RETRIES; i++) {
state = vchiq_get_state();
if (state)
@@ -381,8 +383,9 @@ vchiq_blocking_bulk_transfer(VCHIQ_SERVICE_HANDLE_T handle, void *data,
if ((bulk->data != data) ||
(bulk->size != size)) {
/* This is not a retry of the previous one.
- ** Cancel the signal when the transfer
- ** completes. */
+ * Cancel the signal when the transfer
+ * completes.
+ */
spin_lock(&bulk_waiter_spinlock);
bulk->userdata = NULL;
spin_unlock(&bulk_waiter_spinlock);
@@ -408,7 +411,8 @@ vchiq_blocking_bulk_transfer(VCHIQ_SERVICE_HANDLE_T handle, void *data,
if (bulk) {
/* Cancel the signal when the transfer
- ** completes. */
+ * completes.
+ */
spin_lock(&bulk_waiter_spinlock);
bulk->userdata = NULL;
spin_unlock(&bulk_waiter_spinlock);
--
2.11.0
next prev parent reply other threads:[~2017-12-14 20:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-07 7:47 [PATCH 1/1] codestyle issue fixed drivers/staging/vc04_services Mikhail Shvetsov
2017-12-07 8:14 ` Stefan Wahren
2017-12-14 20:40 ` [PATCH 0/3] staging: vchiq_arm: code style fixing Mikhail Shvetsov
2017-12-14 20:40 ` [PATCH 1/3] staging: vchiq_arm: Remove useless comments Mikhail Shvetsov
2017-12-14 20:40 ` Mikhail Shvetsov [this message]
2017-12-14 20:40 ` [PATCH 3/3] staging: vchiq_arm: Fixing code lines over 80 characters Mikhail Shvetsov
2017-12-14 20:57 ` [PATCH 1/3] staging: vchiq_arm: Remove useless comments Greg KH
2017-12-20 12:30 ` Mikhail Shvetsov
2017-12-20 12:30 ` [PATCH 2/3] staging: vchiq_arm: Fixing code style of comments Mikhail Shvetsov
2017-12-20 12:30 ` [PATCH 3/3] staging: vchiq_arm: Cleaning up codestyle warnings Mikhail Shvetsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=772f34803fcc0f7ebfd39467326ca3ec93498ed5.1513283180.git.lameli67@gmail.com \
--to=lameli67@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=eric@anholt.net \
--cc=goudapatilk@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=lameli67@yandex.ru \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=stefan.wahren@i2se.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome