* Janitor-like typo in expand_kiobuf
@ 2004-03-10 14:45 Davide Rossetti
0 siblings, 0 replies; only message in thread
From: Davide Rossetti @ 2004-03-10 14:45 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-10 14:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-10 14:45 Janitor-like typo in expand_kiobuf Davide Rossetti
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®