commit | 76ec8cdcca9f8fa8e2546ed96a2715a6654487ad | [log] [tgz] |
---|---|---|
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | Mon Jun 06 01:27:34 2011 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Nov 11 09:36:13 2011 -0800 |
tree | b4066d555e694fa042d610477f6b7aeeab9f80d8 | |
parent | cdf3e3448744d14b6307dfc7f7203cba6fecf199 [diff] |
viafb: improve pitch handling commit 936a3f770b8de7042d793272f008ef1bb08522e9 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>