From: Ville Syrjala Date: Thu, 24 Jul 2008 04:31:27 +0000 (-0700) Subject: fbdev: width and height are unsigned X-Git-Tag: v2.6.27-rc1~555 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43a3abc6aca8505e708508e2c7c2f99a7f8f820b;p=pandora-kernel.git 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 Cc: "Antonino A. Daplas" Cc: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed