mem = isapnp_alloc(sizeof(struct pnp_mem));
mem = kcalloc(1, sizeof(struct pnp_mem), GFP_KERNEL);
static void __init isapnp_parse_mem_resource(struct pnp_option *option,					       int size){	unsigned char tmp[9];	struct pnp_mem *mem;	isapnp_peek(tmp, size);	mem = isapnp_alloc(sizeof(struct pnp_mem));	if (!mem)		return;	mem->min = ((tmp[2] << 8) | tmp[1]) << 8;	mem->max = ((tmp[4] << 8) | tmp[3]) << 8;	mem->align = (tmp[6] << 8) | tmp[5];	mem->size = ((tmp[8] << 8) | tmp[7]) << 8;	mem->flags = tmp[0];	pnp_register_mem_resource(option,mem);	return;}