From mboxrd@z Thu Jan 1 00:00:00 1970 From: manohar.vanga@gmail.com (Manohar Vanga) Date: Mon, 9 May 2011 14:04:01 +0200 Subject: char driver error In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 wrote: > On 5/9/11, Manohar Vanga 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110509/575e05ec/attachment.html