Skip to content
Commit e7fdc605 authored by Roel Kluin's avatar Roel Kluin Committed by Tony Lindgren
Browse files

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: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent d32b20fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment