public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Vineeth Vijayan <vneethv@linux.ibm.com>
To: Shixin Liu <liushixin2@huawei.com>,
	Peter Oberparleiter <oberpar@linux.ibm.com>,
	Heiko Carstens <hca@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Christian Borntraeger <borntraeger@de.ibm.com>
Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next 2/2] s390/cio: use DECLARE_WAIT_QUEUE_HEAD() for wait_queue
Date: Mon, 29 Mar 2021 14:34:29 +0200	[thread overview]
Message-ID: <c8abb27b-2b4c-3484-8859-8b4482a4aa1c@linux.ibm.com> (raw)
In-Reply-To: <20210329094019.67044-2-liushixin2@huawei.com>

For both the patches,

Acked-by: Vineeth Vijayan <vneethv@linux.ibm.com>

I will correct the description, and Heiko/Vasily will pick this up and 
will be part of the s390-tree patchset.

On 3/29/21 11:40 AM, Shixin Liu wrote:
> wait_queue_head_t can be initialized automatically with DECLARE_WAIT_QUEUE_HEAD()
> rather than explicitly calling init_waitqueue_head().

A minor checkpatch WARNING. I will modify this.

>
> Signed-off-by: Shixin Liu <liushixin2@huawei.com>
> ---
>   drivers/s390/cio/css.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
> index f01ef6325039..a974943c27da 100644
> --- a/drivers/s390/cio/css.c
> +++ b/drivers/s390/cio/css.c
> @@ -652,13 +652,12 @@ static void css_sch_todo(struct work_struct *work)
>   
>   static struct idset *slow_subchannel_set;
>   static DEFINE_SPINLOCK(slow_subchannel_lock);
> -static wait_queue_head_t css_eval_wq;
> +static DECLARE_WAIT_QUEUE_HEAD(css_eval_wq);
>   static atomic_t css_eval_scheduled;
>   
>   static int __init slow_subchannel_init(void)
>   {
>   	atomic_set(&css_eval_scheduled, 0);
> -	init_waitqueue_head(&css_eval_wq);
>   	slow_subchannel_set = idset_sch_new();
>   	if (!slow_subchannel_set) {
>   		CIO_MSG_EVENT(0, "could not allocate slow subchannel set\n");

  reply	other threads:[~2021-03-29 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29  9:40 [PATCH -next 1/2] s390/cio: use DEFINE_SPINLOCK() for spinlock Shixin Liu
2021-03-29  9:40 ` [PATCH -next 2/2] s390/cio: use DECLARE_WAIT_QUEUE_HEAD() for wait_queue Shixin Liu
2021-03-29 12:34   ` Vineeth Vijayan [this message]
2021-03-29 12:34 ` [PATCH -next 1/2] s390/cio: use DEFINE_SPINLOCK() for spinlock Vineeth Vijayan

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=c8abb27b-2b4c-3484-8859-8b4482a4aa1c@linux.ibm.com \
    --to=vneethv@linux.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=liushixin2@huawei.com \
    --cc=oberpar@linux.ibm.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