diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-11-17 23:39:06 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-11-18 19:34:33 +0100 |
commit | e7fdc6052e78738ce90e0bdc051f2ddf60e41324 (patch) | |
tree | adb48c1df8d34eb936923631b94c5d470705882a /block/blk-sysfs.c | |
parent | omap: fix unlikely(x) < y (diff) | |
download | linux-e7fdc6052e78738ce90e0bdc051f2ddf60e41324.tar.xz linux-e7fdc6052e78738ce90e0bdc051f2ddf60e41324.zip |
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>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions