[PATCH] pcmcia: validate_mem shouldn't be void
authorDominik Brodowski <linux@dominikbrodowski.net>
Wed, 28 Sep 2005 17:41:56 +0000 (19:41 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Thu, 5 Jan 2006 22:41:14 +0000 (23:41 +0100)
commitde75914ee103a30d82ad21b39b7e04f70e4fa1f0
tree492f275d49d2e37449ba89594127ebca8502cb3f
parent9da4bc6d6a38c1c3d850c046d0aee324c1a2e52a
[PATCH] pcmcia: validate_mem shouldn't be void

Add a return value to pcmcia_validate_mem.  Only if we have enough memory
available to map the CIS, we should proceed in trying to determine information
about the device.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cs_internal.h
drivers/pcmcia/ds.c
drivers/pcmcia/rsrc_mgr.c
drivers/pcmcia/rsrc_nonstatic.c
include/pcmcia/ss.h