mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
platform: goldfish: pipe: Fix lines to not end an opening bracket
checkpatch: Lines should not end with a '(' or '[' Signed-off-by: Roman Kiryanov <rkir@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
92c320b97e
commit
562a74de97
@ -122,8 +122,8 @@ struct open_command_param {
|
|||||||
/* Device-level set of buffers shared with the host */
|
/* Device-level set of buffers shared with the host */
|
||||||
struct goldfish_pipe_dev_buffers {
|
struct goldfish_pipe_dev_buffers {
|
||||||
struct open_command_param open_command_params;
|
struct open_command_param open_command_params;
|
||||||
struct signalled_pipe_buffer signalled_pipe_buffers[
|
struct signalled_pipe_buffer
|
||||||
MAX_SIGNALLED_PIPES];
|
signalled_pipe_buffers[MAX_SIGNALLED_PIPES];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This data type models a given pipe instance */
|
/* This data type models a given pipe instance */
|
||||||
@ -373,8 +373,7 @@ static int wait_for_host_signal(struct goldfish_pipe *pipe, int is_write)
|
|||||||
is_write ? PIPE_CMD_WAKE_ON_WRITE : PIPE_CMD_WAKE_ON_READ);
|
is_write ? PIPE_CMD_WAKE_ON_WRITE : PIPE_CMD_WAKE_ON_READ);
|
||||||
|
|
||||||
while (test_bit(wake_bit, &pipe->flags)) {
|
while (test_bit(wake_bit, &pipe->flags)) {
|
||||||
if (wait_event_interruptible(
|
if (wait_event_interruptible(pipe->wake_queue,
|
||||||
pipe->wake_queue,
|
|
||||||
!test_bit(wake_bit, &pipe->flags)))
|
!test_bit(wake_bit, &pipe->flags)))
|
||||||
return -ERESTARTSYS;
|
return -ERESTARTSYS;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user