commit | 936a3f770b8de7042d793272f008ef1bb08522e9 | [log] [tgz] |
---|---|---|
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | Mon Jun 06 01:27:34 2011 +0000 |
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | Sun Jul 17 00:11:15 2011 +0000 |
tree | 3863e60ae9cf13e48ecf2bcb131c92bc9c2b848b | |
parent | d933990c57b498c092ceef591c7c5d69dbfe9f30 [diff] |
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