diff options
author | Pavel Shved <shved@ispras.ru> | 2011-06-17 06:25:10 +0000 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-17 15:27:32 -0400 |
commit | d0fd64c1de437bdf91c32d4f84a53fa4b2150348 (patch) | |
tree | 85ed9777696fae76834a1e546bb1d733a73abc33 /drivers/mfd/davinci_voicecodec.c | |
parent | 1eddceadb0d6441cd39b2c38705a8f5fec86e770 (diff) | |
download | blackbird-op-linux-d0fd64c1de437bdf91c32d4f84a53fa4b2150348.tar.gz blackbird-op-linux-d0fd64c1de437bdf91c32d4f84a53fa4b2150348.zip |
farsync: add module_put to error path in fst_open()
The fst_open() function, after a successful try_module_get() may return
an error code if hdlc_open() returns it. However, it does not put the
module on this error path.
This patch adds the necessary module_put() call.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Pavel Shved <shved@ispras.ru>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'drivers/mfd/davinci_voicecodec.c')
0 files changed, 0 insertions, 0 deletions