mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
staging: unisys: visorbus: visorchannel.c: fixed comment formatting issues
Removed comments from the right side of the lines. Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d82effd7c0
commit
0496bedf0e
1 changed files with 13 additions and 9 deletions
|
@ -41,11 +41,15 @@ struct visorchannel {
|
||||||
bool requested;
|
bool requested;
|
||||||
struct channel_header chan_hdr;
|
struct channel_header chan_hdr;
|
||||||
uuid_le guid;
|
uuid_le guid;
|
||||||
bool needs_lock; /* channel creator knows if more than one */
|
/*
|
||||||
/* thread will be inserting or removing */
|
* channel creator knows if more than one
|
||||||
spinlock_t insert_lock; /* protect head writes in chan_hdr */
|
* thread will be inserting or removing
|
||||||
spinlock_t remove_lock; /* protect tail writes in chan_hdr */
|
*/
|
||||||
|
bool needs_lock;
|
||||||
|
/* protect head writes in chan_hdr */
|
||||||
|
spinlock_t insert_lock;
|
||||||
|
/* protect tail writes in chan_hdr */
|
||||||
|
spinlock_t remove_lock;
|
||||||
uuid_le type;
|
uuid_le type;
|
||||||
uuid_le inst;
|
uuid_le inst;
|
||||||
};
|
};
|
||||||
|
@ -246,9 +250,9 @@ signalremove_inner(struct visorchannel *channel, u32 queue, void *msg)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* For each data field in SIGNAL_QUEUE_HEADER that was modified,
|
* For each data field in SIGNAL_QUEUE_HEADER that was modified,
|
||||||
* update host memory.
|
* update host memory. Required for channel sync.
|
||||||
*/
|
*/
|
||||||
mb(); /* required for channel synch */
|
mb();
|
||||||
|
|
||||||
error = SIG_WRITE_FIELD(channel, queue, &sig_hdr, tail);
|
error = SIG_WRITE_FIELD(channel, queue, &sig_hdr, tail);
|
||||||
if (error)
|
if (error)
|
||||||
|
@ -351,9 +355,9 @@ signalinsert_inner(struct visorchannel *channel, u32 queue, void *msg)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* For each data field in SIGNAL_QUEUE_HEADER that was modified,
|
* For each data field in SIGNAL_QUEUE_HEADER that was modified,
|
||||||
* update host memory.
|
* update host memory. Required for channel sync.
|
||||||
*/
|
*/
|
||||||
mb(); /* required for channel synch */
|
mb();
|
||||||
|
|
||||||
err = SIG_WRITE_FIELD(channel, queue, &sig_hdr, head);
|
err = SIG_WRITE_FIELD(channel, queue, &sig_hdr, head);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Add table
Reference in a new issue