Re: Advice on mmap() "feature"
From: Mark Jackson
Date: Mon Sep 17 2012 - 03:54:16 EST
On 16/09/12 21:52, richard -rw- weinberger wrote:
> On Sun, Sep 16, 2012 at 9:21 PM, Mark Jackson <mpfj-list@xxxxxxxxxx> wrote:
>> // now remove the mapping
>> if (m_pFram)
>> munmap(m_pFram, FRAM_SIZE);
>
> You unmap less memory than you map...
>
I hang my head in shame ... what a stupid mistake to miss !!
Thank you
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/