From: "Randy.Dunlap" <rddunlap@osdl.org>
To: "ramands" <ramands@indiatimes.com>
Cc: linux-kernel@vger.kernel.org, linux-newbie@vger.kernel.org
Subject: Re: OOPS in Kmalloc
Date: Thu, 24 Apr 2003 10:20:36 -0700 [thread overview]
Message-ID: <20030424102036.284ea84e.rddunlap@osdl.org> (raw)
In-Reply-To: <200304240813.NAA23499@WS0005.indiatimes.com>
| ; Hello,
| ; i am getting OOPS in Kmalloc .
| ;
| ; void **data;
| ; qset = 1000;
| ;
| ; dptr->data = kmalloc(qset * sizeof(char *), GFP_KERNEL);
| ;
| ; what could the possible the cause of the error
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| As I am so fond of saying, it's almost always correct to indicate what
| kernel version one if referring to in a problem report.
|
| Please decode the oops output and post it here.
I can't reproduce this problem on Linux 2.5.68.
However, I did initialize dptr before using it. Did you?
You see, I can't tell if you did or not because you didn't post
a complete sample to reproduce the problem.
--
~Randy
next prev parent reply other threads:[~2003-04-24 17:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-24 8:45 Re: OOPS in Kmalloc ramands
2003-04-24 9:57 ` Jurriaan
2003-04-24 17:20 ` Randy.Dunlap [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-24 4:16 ramands
2003-04-24 4:34 ` Randy.Dunlap
2003-04-23 3:41 oops in kmalloc ramands
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=20030424102036.284ea84e.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-newbie@vger.kernel.org \
--cc=ramands@indiatimes.com \
/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).