Changeset f9597866 in mainline for kernel/test/mm/falloc1.c

Timestamp:
2018-05-13T11:00:18Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
13db2044
Parents:
df96271
Message:

Avoid releasing DMA memory twice

When hda_corb_init or hda_rirb_init fail, they attempt to deallocate the
allocated DMA memory, but don't set the corb_virt or rirb_virt pointers
to NULL so that hda_ctl_init later calls hda_corb_fini and
hda_rirb_fini, where these pointers are found non-NULL and so the DMA
memory is deallocated for the second time.

(No files)

Note: See TracChangeset for help on using the changeset viewer.