]> git.proxmox.com Git - mirror_ubuntu-disco-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 2 Jul 2019 10:07:53 +0000 (12:07 +0200)
commitc2ec2675b45d2794f1053ab37a96b7f8cc172d64
treed58d9b18b550333ca2752020767eed424845faaa
parented00c5ca309c8e89fe7d36f14544f16cb5a49d45
Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()

BugLink: https://bugs.launchpad.net/bugs/1834529
commit a0033bd1eae4650b69be07c17cb87393da584563 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/hv/hv.c