From: Rob Clark Date: Mon, 3 Mar 2014 14:42:33 +0000 (-0500) Subject: drm/msm: validate flags, etc X-Git-Tag: v3.15-rc1~51^2~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93ddb0d3b022dfbd963f243bd01741643cebfb28;p=pandora-kernel.git drm/msm: validate flags, etc After reading a nice article on LWN[1], I went back and double checked my handling of invalid-input checking. Turns out there were a couple places I had missed. Since the driver is fairly young, and the devices it supports are really only just barely usable for basic stuff (serial console) with an upstream kernel, I think we should fix this now and revert specific parts of this patch later in the unlikely event that a regression is reported. [1] https://lwn.net/Articles/588444/ Signed-off-by: Rob Clark --- Reading git-diff-tree failed