dma_addr_t indma; int err;  indma = pci_map_single(dev->pdev, mtt_entry, (num_mtt + 2) * 8, PCI_DMA_TODEVICE); if (pci_dma_mapping_error(indma)) return -ENOMEM;  err = mthca_cmd(dev, indma, num_mtt, 0, CMD_WRITE_MTT, CMD_TIME_CLASS_B, status);  pci_unmap_single(dev->pdev, indma, (num_mtt + 2) * 8, PCI_DMA_TODEVICE); return err;
return mthca_cmd(dev, mailbox->dma, num_mtt, 0, CMD_WRITE_MTT, CMD_TIME_CLASS_B, status);
int mthca_WRITE_MTT(struct mthca_dev *dev, u64 *mtt_entry,		    int num_mtt, u8 *status){	dma_addr_t indma;	int err;	indma = pci_map_single(dev->pdev, mtt_entry,			       (num_mtt + 2) * 8,			       PCI_DMA_TODEVICE);	if (pci_dma_mapping_error(indma))		return -ENOMEM;	err = mthca_cmd(dev, indma, num_mtt, 0, CMD_WRITE_MTT,			CMD_TIME_CLASS_B, status);	pci_unmap_single(dev->pdev, indma,			 (num_mtt + 2) * 8, PCI_DMA_TODEVICE);	return err;}