[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>
This commit is contained in:
@@ -117,7 +117,7 @@ int verify_cis_cache(struct pcmcia_socket *s);
|
||||
int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function, cisdata_t code, void *parse);
|
||||
|
||||
/* In rsrc_mgr */
|
||||
void pcmcia_validate_mem(struct pcmcia_socket *s);
|
||||
int pcmcia_validate_mem(struct pcmcia_socket *s);
|
||||
struct resource *pcmcia_find_io_region(unsigned long base, int num, unsigned long align,
|
||||
struct pcmcia_socket *s);
|
||||
int pcmcia_adjust_io_region(struct resource *res, unsigned long r_start,
|
||||
|
Verwijs in nieuw issue
Block a user