diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-06-06 01:27:34 +0000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-07-17 00:11:15 +0000 |
commit | 936a3f770b8de7042d793272f008ef1bb08522e9 (patch) | |
tree | 3863e60ae9cf13e48ecf2bcb131c92bc9c2b848b /drivers/video/via/hw.c | |
parent | d933990c57b498c092ceef591c7c5d69dbfe9f30 (diff) | |
download | blackbird-op-linux-936a3f770b8de7042d793272f008ef1bb08522e9.tar.gz blackbird-op-linux-936a3f770b8de7042d793272f008ef1bb08522e9.zip |
viafb: improve pitch handling
This patch adds checks for minimum and maximum pitch size to prevent
invalid settings which could otherwise crash the machine. Also the
alignment is done in a slightly more readable way.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/video/via/hw.c')
0 files changed, 0 insertions, 0 deletions