Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592648 > unrolled thread

RE: [PATCH 1/1] Drivers: hv: util: don't forget to init host_ts.lock

Started byKY Srinivasan <kys@microsoft.com>
First post2017-03-05 01:10 +0100
Last post2017-03-05 01:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: [PATCH 1/1] Drivers: hv: util: don't forget to init host_ts.lock KY Srinivasan <kys@microsoft.com> - 2017-03-05 01:10 +0100

#1592648 — RE: [PATCH 1/1] Drivers: hv: util: don't forget to init host_ts.lock

FromKY Srinivasan <kys@microsoft.com>
Date2017-03-05 01:10 +0100
SubjectRE: [PATCH 1/1] Drivers: hv: util: don't forget to init host_ts.lock
Message-ID<thrUm-cW-19@gated-at.bofh.it>

> -----Original Message-----
> From: kys@exchange.microsoft.com [mailto:kys@exchange.microsoft.com]
> Sent: Monday, February 27, 2017 5:26 PM
> To: gregkh@linuxfoundation.org; linux-kernel@vger.kernel.org;
> devel@linuxdriverproject.org; olaf@aepfle.de; apw@canonical.com;
> vkuznets@redhat.com; jasowang@redhat.com;
> leann.ogasawara@canonical.com
> Cc: Dexuan Cui <decui@microsoft.com>; KY Srinivasan
> <kys@microsoft.com>; Haiyang Zhang <haiyangz@microsoft.com>; Stephen
> Hemminger <sthemmin@microsoft.com>
> Subject: [PATCH 1/1] Drivers: hv: util: don't forget to init host_ts.lock
> 
> This&nbsp;sender&nbsp;failed&nbsp;our&nbsp;fraud&nbsp;detection&nbs
> p;checks&nbsp;and&nbsp;may&nbsp;not&nbsp;be&nbsp;who&nbsp;they&
> nbsp;appear&nbsp;to&nbsp;be.&nbsp;Learn&nbsp;about&nbsp;<a
> href="http://aka.ms/LearnAboutSpoofing">spoofing</a>
> 
> From: Dexuan Cui <decui@microsoft.com>
> 
> Without the patch, I always get a "BUG: spinlock bad magic" warning.
> 
> Fixes: 3716a49a81ba ("hv_utils: implement Hyper-V PTP source")
> Signed-off-by: Dexuan Cui <decui@microsoft.com>
> Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
> Cc: "K. Y. Srinivasan" <kys@microsoft.com>
> Cc: Haiyang Zhang <haiyangz@microsoft.com>
> Cc: Stephen Hemminger <sthemmin@microsoft.com>
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> ---
>  drivers/hv/hv_util.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c
> index 3042eaa..186b100 100644
> --- a/drivers/hv/hv_util.c
> +++ b/drivers/hv/hv_util.c
> @@ -590,6 +590,8 @@ static int hv_timesync_init(struct hv_util_service *srv)
>         if (!hyperv_cs)
>                 return -ENODEV;
> 
> +       spin_lock_init(&host_ts.lock);
> +
>         INIT_WORK(&wrk.work, hv_set_host_time);
> 
>         /*
> --
> 1.7.1

Greg,

Please drop this patch; I am going to resend.

K. Y

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web