diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-08-12 12:41:34 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-08-21 03:35:53 +0200 |
commit | 18902bbf06a93ea497be2f177a6323ed9e5f30be (patch) | |
tree | 254ccd90d052c96f45bfa1857267997d8d40d5d1 /drivers/ata/pata_marvell.c | |
parent | drm/nouveau/ltcg: fix ltcg memory initialization after suspend (diff) | |
download | linux-18902bbf06a93ea497be2f177a6323ed9e5f30be.tar.xz linux-18902bbf06a93ea497be2f177a6323ed9e5f30be.zip |
drm/nouveau/ltcg: fix allocating memory as free
Allocating type=0 marks the memory as free. This allows the ltcg memory
to be allocated twice.
Add a BUG_ON in core/mm.c to prevent this ever happening again.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/ata/pata_marvell.c')
0 files changed, 0 insertions, 0 deletions