On 12/30/05, Thomas Petazzoni <thomas.petazzoni@xxxxxxxx> wrote:
is this really the reason why kmalloc returned NULL ? AFAIK 64 bytes is not the limitation for kmalloc
Hi,
kishore wrote:
> I am using kmalloc in my module. It returned NULL; by that i understood
> there may be some scarcity in allocating the requested amount of memory ( i
> requested for 64 bytes).
is this really the reason why kmalloc returned NULL ? AFAIK 64 bytes is not the limitation for kmalloc
I returned -ENOMEM, but i thought there may be some
> way to return error number rather than what am using.
-ENOMEM is an error number.
Sincerly,
Thomas
--
Thomas Petazzoni
thomas.petazzoni@xxxxxxxx
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/