: checkpatch: Fixed styling issue
Subsystems (2)
PATCH 1/1 : checkpatch: Fixed styling issue
From 29bcaf0066003983da29b1e026b985c0727b091a Mon Sep 17 00:00:00 2001
From: Mukul Mehar <[email protected]>
Date: Mon, 8 Feb 2021 01:03:06 +0530
Subject: [PATCH] Drivers: staging: most: sound: Fixed style issue.
This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl.
This is my first patch.
--- 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 39 lines · Mukul Mehar
Quoted 1 line
From
29bcaf0066003983da29b1e026b985c0727b091aMon Sep 17 00:00:00 2001From: Mukul Mehar <[email protected]>
Date: Mon, 8 Feb 2021 01:03:06 +0530
Subject: [PATCH] Drivers: staging: most: sound: Fixed style issue.This patch fixes a warning, of the line ending with a '(', generated by checkpatch.pl.
This is my first patch.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 +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
Again, all of the things that my bot found last time are still relevant here. Please fix them all.
thanks,
greg k-h
On 2/8/21 11:51 AM, Mukul Mehar wrote:
More comments (probably duplicates):
a. The "checkpatch:" in the subject says that you are making a patch to the "checkpatch" script. You are not doing that. The subject should be more like: "staging: most: fix a style issue in sound.c" e.g.
b. This comment:
This is my first patch.
should not be in the comment message. If included at all, it should be after the "---" line, like so:
---
This is my first patch.
<then the diffstat>.
thanks.
Signature · 1 line
~Randy