port = pnpbios_kmalloc(sizeof(struct pnp_port), GFP_KERNEL);
port = kcalloc(1, sizeof(struct pnp_port), GFP_KERNEL);
pnpbios_parse_port_option(unsigned char *p, int size, struct pnp_option *option){	struct pnp_port * port;	port = pnpbios_kmalloc(sizeof(struct pnp_port), GFP_KERNEL);	if (!port)		return;	port->min = (p[3] << 8) | p[2];	port->max = (p[5] << 8) | p[4];	port->align = p[6];	port->size = p[7];	port->flags = p[1] ? PNP_PORT_FLAG_16BITADDR : 0;	pnp_register_port_resource(option,port);	return;}