]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
authorDexuan Cui <decui@microsoft.com>
Fri, 12 Apr 2019 23:34:45 +0000 (23:34 +0000)
committerSasha Levin (Microsoft) <sashal@kernel.org>
Sat, 13 Apr 2019 13:36:35 +0000 (09:36 -0400)
commita0033bd1eae4650b69be07c17cb87393da584563
tree69819e112f9c7b50ff853280995eaba33e144718
parent14948e39445db674516ccabdf01090586ecfdc9b
Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()

With CONFIG_DEBUG_PREEMPT=y, the put_cpu_ptr() triggers an underflow
warning in preempt_count_sub().

Fixes: 37cdd991fac8 ("vmbus: put related per-cpu variable together")
Cc: stable@vger.kernel.org
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
drivers/hv/hv.c