kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: manohar.vanga@gmail.com (Manohar Vanga)
To: kernelnewbies@lists.kernelnewbies.org
Subject: char driver error
Date: Mon, 9 May 2011 14:04:01 +0200	[thread overview]
Message-ID: <BANLkTing1JYTTYwrtGSGjpw+VY1Bkyppwg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTimiQg3WmVRC1rOVK0+S_W095r_3Jg@mail.gmail.com>

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@gmail.com>wrote:

> On 5/9/11, Manohar Vanga <manohar.vanga@gmail.com> 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 

  parent reply	other threads:[~2011-05-09 12:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-09 11:26 char driver error Aravind Vijayan
2011-05-09 11:33 ` Manohar Vanga
     [not found]   ` <BANLkTimiQg3WmVRC1rOVK0+S_W095r_3Jg@mail.gmail.com>
2011-05-09 12:04     ` Manohar Vanga [this message]
2011-05-09 11:35 ` Daniel Baluta
     [not found]   ` <BANLkTimAH6msz3YAt99RWPF=hOqWk6LkfQ@mail.gmail.com>
2011-05-09 12:08     ` Daniel Baluta
2011-05-09 12:06 ` Vikash Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTing1JYTTYwrtGSGjpw+VY1Bkyppwg@mail.gmail.com \
    --to=manohar.vanga@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).