]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Drivers: hv: util: don't forget to init host_ts.lock
authorDexuan Cui <decui@microsoft.com>
Sun, 5 Mar 2017 01:14:00 +0000 (18:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 07:42:00 +0000 (16:42 +0900)
commit5a16dfc855127906fcd2935fb039bc8989313915
tree063ce01d12f60cb72a355c7bbcb2a17828b96d72
parente9c18ae6eb2b312f16c63e34b43ea23926daa398
Drivers: hv: util: don't forget to init host_ts.lock

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_util.c