]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
snsc: restore IRQs on error path in scdrv_write()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 18 Nov 2016 11:30:57 +0000 (14:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 19:25:34 +0000 (20:25 +0100)
commitda191c28f571cae4b470b079394bd4a87e459035
tree4eaa9f1d4b5a015a8ebf5861d55405a248df47b9
parentdd5c472a60e43549d789a17a8444513eec64bd7e
snsc: restore IRQs on error path in scdrv_write()

This bug is as old as git.  We need to be calling spin_unlock_irqrestore()
instead of regular spin_unlock() here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/snsc.c