printk(" %08x", be32_to_cpup(MAILBOX_ALIGN(mailbox) + i * 4)); 
printk(" %08x", be32_to_cpup(mailbox->buf + i * 4)); 
static void mthca_free_eq(struct mthca_dev *dev,			  struct mthca_eq *eq){	void *mailbox = NULL;	int err;	u8 status;	int npages = (eq->nent * MTHCA_EQ_ENTRY_SIZE + PAGE_SIZE - 1) /		PAGE_SIZE;	int i;	mailbox = kmalloc(sizeof (struct mthca_eq_context) + MTHCA_CMD_MAILBOX_EXTRA,			  GFP_KERNEL);	if (!mailbox)		return;	err = mthca_HW2SW_EQ(dev, MAILBOX_ALIGN(mailbox),			     eq->eqn, &status);	if (err)		mthca_warn(dev, "HW2SW_EQ failed (%d)\n", err);	if (status)		mthca_warn(dev, "HW2SW_EQ returned status 0x%02x\n", status);	dev->eq_table.arm_mask &= ~eq->eqn_mask;	if (0) {		mthca_dbg(dev, "Dumping EQ context %02x:\n", eq->eqn);		for (i = 0; i < sizeof (struct mthca_eq_context) / 4; ++i) {			if (i % 4 == 0)				printk("[%02x] ", i * 4);			printk(" %08x", be32_to_cpup(MAILBOX_ALIGN(mailbox) + i * 4));			if ((i + 1) % 4 == 0)				printk("\n");		}	}	mthca_free_mr(dev, &eq->mr);	for (i = 0; i < npages; ++i)		pci_free_consistent(dev->pdev, PAGE_SIZE,				    eq->page_list[i].buf,				    pci_unmap_addr(&eq->page_list[i], mapping));	kfree(eq->page_list);	kfree(mailbox);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ed878458eeff9754d66f1b0325df6ebbfcdce668/mthca_eq.c/buggy/drivers/infiniband/hw/mthca/mthca_eq.c