fbdev: width and height are unsigned
authorVille Syrjala <syrjala@sci.fi>
Thu, 24 Jul 2008 04:31:27 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:39 +0000 (10:47 -0700)
commit43a3abc6aca8505e708508e2c7c2f99a7f8f820b
tree394a8f450763c3f9992e21ffd865e4bc0198e8e9
parent2870086e9f2032bdd95b8da9bd187e3c16fc6d49
fbdev: width and height are unsigned

The width and height members of fb_var_screeninfo are __u32.  The code
initializes them to -1 which seems wrong, and 0 seems like an equally good
default value.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbmon.c