Re: char driver error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Google for "kmalloc":
About 182,000 results (0.11 seconds)

http://lwn.net/Kernel/LDD3/

http://tldp.org/LDP/lkmpg/2.6/html/index.html

Make an effort. It usually helps :-)

On Mon, May 9, 2011 at 1:57 PM, Aravind Vijayan <aravind1123@xxxxxxxxx> wrote:
On 5/9/11, Manohar Vanga <manohar.vanga@xxxxxxxxx> wrote:
> This line is incorrect. You need to learn how kmalloc (or any *alloc for
> that matter) works because it seems like you don't realise what is happening
> with this statement.
>
> memory_buffer = kmalloc(1, GFP_KERNEL);
>
>

I am totally newbie to kernel and to drivers i wish to study about
them seeking you all's help.....



--
/manohar
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux