mem = pnpbios_kmalloc(sizeof(struct pnp_mem), GFP_KERNEL);
mem = kcalloc(1, sizeof(struct pnp_mem), GFP_KERNEL);
pnpbios_parse_fixed_mem32_option(unsigned char *p, int size, struct pnp_option *option){	struct pnp_mem * mem;	mem = pnpbios_kmalloc(sizeof(struct pnp_mem), GFP_KERNEL);	if (!mem)		return;	mem->min = mem->max = (p[7] << 24) | (p[6] << 16) | (p[5] << 8) | p[4];	mem->size = (p[11] << 24) | (p[10] << 16) | (p[9] << 8) | p[8];	mem->align = 0;	mem->flags = p[3];	pnp_register_mem_resource(option,mem);	return;}