summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/sal.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2020-02-11 18:42:47 +0100
committerVinod Koul <vkoul@kernel.org>2020-02-13 15:41:00 +0100
commit61b5865d56bbb09dd5887b197dd324d1d4333d47 (patch)
treedc16bfd048476320562a3776dfea764e094c860b /arch/ia64/kernel/sal.c
parentLinux 5.6-rc1 (diff)
downloadlinux-61b5865d56bbb09dd5887b197dd324d1d4333d47.tar.xz
linux-61b5865d56bbb09dd5887b197dd324d1d4333d47.zip
dmaengine: idxd: fix runaway module ref count on device driver bind
idxd_config_bus_probe() calls try_module_get() but never calls module_put() when it fails. Thus with every failed attempt, the ref count goes up. Add module_put() in failure paths. Fixes: c52ca478233c ("dmaengine: idxd: add configuration component of driver") Reported-by: Jerry Chen <jerry.t.chen@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/158144296730.41381.12134210685456322434.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'arch/ia64/kernel/sal.c')
0 files changed, 0 insertions, 0 deletions