> -----Original Message----- > From: k...@exchange.microsoft.com [mailto:k...@exchange.microsoft.com] > Sent: Monday, February 27, 2017 5:26 PM > To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; jasow...@redhat.com; > leann.ogasaw...@canonical.com > Cc: Dexuan Cui <de...@microsoft.com>; KY Srinivasan > <k...@microsoft.com>; Haiyang Zhang <haiya...@microsoft.com>; Stephen > Hemminger <sthem...@microsoft.com> > Subject: [PATCH 1/1] Drivers: hv: util: don't forget to init host_ts.lock > > This sender failed our fraud detection&nbs > p;checks and may not be who they& > nbsp;appear to be. Learn about <a > href="http://aka.ms/LearnAboutSpoofing">spoofing</a> > > From: Dexuan Cui <de...@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 <de...@microsoft.com> > Cc: Vitaly Kuznetsov <vkuzn...@redhat.com> > Cc: "K. Y. Srinivasan" <k...@microsoft.com> > Cc: Haiyang Zhang <haiya...@microsoft.com> > Cc: Stephen Hemminger <sthem...@microsoft.com> > Signed-off-by: K. Y. Srinivasan <k...@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 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel