Changeset dc5647e in mainline for uspace/drv/block/pci-ide/pci-ide.c
- Timestamp:
- 2024-07-08T19:00:57Z (3 months ago)
- Branches:
- master
- Children:
- 878736e
- Parents:
- e3997a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/pci-ide/pci-ide.c
re3997a8 rdc5647e 186 186 bool irq_inited = false; 187 187 ata_params_t params; 188 void *buffer ;188 void *buffer = NULL; 189 189 190 190 ddf_msg(LVL_DEBUG, "pci_ide_channel_init()"); … … 294 294 return EOK; 295 295 error: 296 if (buffer != NULL) 297 dmamem_unmap_anonymous(buffer); 296 298 if (irq_inited) 297 299 pci_ide_fini_irq(chan); … … 315 317 } 316 318 319 dmamem_unmap_anonymous(chan->dma_buf); 317 320 pci_ide_fini_irq(chan); 318 321 pci_ide_fini_io(chan);
Note:
See TracChangeset
for help on using the changeset viewer.