From: Davide Rossetti <davide.rossetti@roma1.infn.it>
To: linux-kernel@vger.kernel.org
Subject: Janitor-like typo in expand_kiobuf
Date: Wed, 10 Mar 2004 15:45:35 +0100 [thread overview]
Message-ID: <404F2A0F.3010208@roma1.infn.it> (raw)
int expand_kiobuf(struct kiobuf *iobuf, int wanted)
{
struct page ** maplist;
if (iobuf->array_len >= wanted)
return 0;
maplist = kmalloc(wanted * sizeof(struct page **), GFP_KERNEL);
^^^^^^^^^^^^^^
I know that it is the same, but shouldn't it be 'sizeof(struct page *)' ??
regards
d.
reply other threads:[~2004-03-10 14:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=404F2A0F.3010208@roma1.infn.it \
--to=davide.rossetti@roma1.infn.it \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®