pp = kcalloc(1, sizeof(*pp), GFP_KERNEL); 
pp = kzalloc(sizeof(*pp), GFP_KERNEL); 
static int qs_port_start(struct ata_port *ap){	struct device *dev = ap->host_set->dev;	struct qs_port_priv *pp;	void __iomem *mmio_base = ap->host_set->mmio_base;	void __iomem *chan = mmio_base + (ap->port_no * 0x4000);	u64 addr;	int rc;	rc = ata_port_start(ap);	if (rc)		return rc;	qs_enter_reg_mode(ap);	pp = kcalloc(1, sizeof(*pp), GFP_KERNEL);	if (!pp) {		rc = -ENOMEM;		goto err_out;	}	pp->pkt = dma_alloc_coherent(dev, QS_PKT_BYTES, &pp->pkt_dma,								GFP_KERNEL);	if (!pp->pkt) {		rc = -ENOMEM;		goto err_out_kfree;	}	memset(pp->pkt, 0, QS_PKT_BYTES);	ap->private_data = pp;	addr = (u64)pp->pkt_dma;	writel((u32) addr,        chan + QS_CCF_CPBA);	writel((u32)(addr >> 32), chan + QS_CCF_CPBA + 4);	return 0;err_out_kfree:	kfree(pp);err_out:	ata_port_stop(ap);	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/82ca76b6b160b6fce46f78c069f87fe1a4dc0778/sata_qstor.c/buggy/drivers/scsi/sata_qstor.c