]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
acornfb: Dont BUG() on invalid pan parameters
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2011 09:24:40 +0000 (09:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 15 Jun 2011 06:02:59 +0000 (15:02 +0900)
commita1bb7010d494d3fcde3814d7a8ac609f1dff96ee
tree83bb264f00fa09d59e6b79b0285443e46859923e
parentc42a3d543d2bbd2cb72c7179234358a4a33a583d
acornfb: Dont BUG() on invalid pan parameters

The driver currently BUG()s if the pan parameters passed directly from
userspace are invalid. Return -EINVAL instead.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/acornfb.c