commit | 2f390380ca69e1617cdddb12d8da94f0a9f4319d | [log] [tgz] |
---|---|---|
author | Krzysztof Helt <krzysztof.h1@wp.pl> | Tue Dec 15 16:46:25 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Dec 16 07:20:01 2009 -0800 |
tree | 2f60b69e62e099c43a90197c62704f099ad2169e | |
parent | 2cb96f86628d6e97fcbda5fe4d8d74876239834c [diff] |
fbdev: add palette register check to several drivers Add check if palette register number is in correct range for few drivers which miss it. The regno value comes indirectly from user space. Two drivers has converted check from BUG_ON() macro to just return an error (non-zero value). Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>