]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
udlfb: fix issues found with Sparse static analysis
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 21 Aug 2011 20:34:15 +0000 (13:34 -0700)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 24 Aug 2011 10:09:57 +0000 (10:09 +0000)
commitdef76608681983c1fe70c0fa780d8fe777442ef5
treeddd23a12801ea46db016d30ebe7f2f6b7a913c20
parentf2e1fc9d5d12fbc06590ac4987dce6f79d86f1c7
udlfb: fix issues found with Sparse static analysis

Add __user casting, a missing copy_from_user, and proper boolean

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/udlfb.c