> -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Monday, February 27, 2017 5:26 PM > To: [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected] > Cc: Dexuan Cui <[email protected]>; KY Srinivasan > <[email protected]>; Haiyang Zhang <[email protected]>; Stephen > Hemminger <[email protected]> > 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 <[email protected]> > > 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 <[email protected]> > Cc: Vitaly Kuznetsov <[email protected]> > Cc: "K. Y. Srinivasan" <[email protected]> > Cc: Haiyang Zhang <[email protected]> > Cc: Stephen Hemminger <[email protected]> > Signed-off-by: K. Y. Srinivasan <[email protected]> > --- > 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 [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
