commit | e7fdc6052e78738ce90e0bdc051f2ddf60e41324 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Tue Nov 17 14:39:06 2009 -0800 |
committer | Tony Lindgren <tony@atomide.com> | Wed Nov 18 10:34:33 2009 -0800 |
tree | adb48c1df8d34eb936923631b94c5d470705882a | |
parent | d32b20fc7dad87ac95fcc73fca3606c0db85f210 [diff] |
OMAP: cs should be positive in gpmc_cs_free() The index `cs' is signed, test whether it is negative before we release gpmc_cs_mem[cs]. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>