summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-06-06 05:27:34 +0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-07-17 04:11:15 +0400
commit936a3f770b8de7042d793272f008ef1bb08522e9 (patch)
tree3863e60ae9cf13e48ecf2bcb131c92bc9c2b848b /tools
parentd933990c57b498c092ceef591c7c5d69dbfe9f30 (diff)
downloadlinux-936a3f770b8de7042d793272f008ef1bb08522e9.tar.xz
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 'tools')
0 files changed, 0 insertions, 0 deletions