summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-07-20 17:27:21 +0530
committerLuis Henriques <luis.henriques@canonical.com>2015-09-28 10:21:35 +0100
commit284539f33977c040e2fe98141cac37fbf9995ecc (patch)
treeb3edae06dfce920ca128cadc699128a14307fe16 /include/linux
parentf13b15d5a1d178430ecb199d3c9172bdeee1e304 (diff)
auxdisplay: ks0108: fix refcount
commit bab383de3b84e584b0f09227151020b2a43dc34c upstream. parport_find_base() will implicitly do parport_get_port() which increases the refcount. Then parport_register_device() will again increment the refcount. But while unloading the module we are only doing parport_unregister_device() decrementing the refcount only once. We add an parport_put_port() to neutralize the effect of parport_get_port(). Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions