Drivers: staging: most: sound: Fixed styling issue.
Subsystems (2)
PATCH 1/1 Drivers: staging: most: sound: Fixed styling issue.
This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl.
--- drivers/staging/most/sound/sound.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/most/sound/sound.c +6 -6
@@ -228,12 +228,12 @@ static int playback_thread(void *data)struct mbo *mbo =NULL ;bool period_elapsed = false; -wait_event_interruptible ( - channel->playback_waitq, -kthread_should_stop () || - (channel->is_stream_running && - (mbo =most_get_mbo (channel->iface, channel->id, - &comp)))); +wait_event_interruptible (channel->playback_waitq, +kthread_should_stop () || + (channel->is_stream_running && + (mbo =most_get_mbo (channel->iface, + channel->id, + &comp))));if (!mbo)continue ;
Signature · 1 line
2.25.1
Greg KH
maintainerQuoted 18 lines · Mukul Mehar
This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl.
Signed-off-by Mukul Mehar <[email protected]>--- drivers/staging/most/sound/sound.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/staging/most/sound/sound.c +0
-2@@ -228,12 +228,12 @@ static int playback_thread(void *data)struct mbo *mbo =NULL ;bool period_elapsed = false; - wait_event_interruptible( - channel->playback_waitq,
drivers/staging/most/sound/sound.c static int playback_thread(void *data) · line 236
Quoted 10 lines
drivers/staging/most/sound/sound.c +6
-4-kthread_should_stop () || - (channel->is_stream_running && - (mbo =most_get_mbo (channel->iface, channel->id, - &comp)))); +wait_event_interruptible (channel->playback_waitq, +kthread_should_stop () || + (channel->is_stream_running && + (mbo =most_get_mbo (channel->iface, + channel->id, + &comp))));
This line is horrid, you can indent it further (line up the most_get_mbo() parameters at the least.
Also you lost the extra indentation of the "(mbo " portion, can you make sure that is there too?
thanks,
greg k-h
PATCH v2 1/1 Drivers: staging: most: sound: Fixed styling issue.
This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl.
---
Changes since v1:
- Fixed indentation.
--- drivers/staging/most/sound/sound.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/most/sound/sound.c +3 -3
@@ -231,9 +231,9 @@ static int playback_thread(void *data)wait_event_interruptible (channel->playback_waitq,kthread_should_stop () || (channel->is_stream_running && - (mbo =most_get_mbo (channel->iface, - channel->id, - &comp)))); + (mbo =most_get_mbo (channel->iface, + channel->id, + &comp))));if (!mbo)continue ;
Signature · 1 line
2.25.1
Greg KH
maintainerQuoted 18 lines · Mukul Mehar
This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl.
Signed-off-by Mukul Mehar <[email protected]>---
Changes since v1:
- Fixed indentation.--- drivers/staging/most/sound/sound.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/staging/most/sound/sound.c +0
-0@@ -231,9 +231,9 @@ static int playback_thread(void *data) wait_event_interruptible(channel->playback_waitq, kthread_should_stop() ||
drivers/staging/most/sound/sound.c static int playback_thread(void *data) · line 239
Quoted 10 lines
drivers/staging/most/sound/sound.c +3
-3(channel->is_stream_running && - (mbo =most_get_mbo (channel->iface, - channel->id, - &comp)))); + (mbo =most_get_mbo (channel->iface, + channel->id, + &comp))));if (!mbo)continue ;
This patch does not apply to my tree at all :(
greg k-h