Janitor-like typo in expand_kiobuf

From: Davide Rossetti
Date: Wed Mar 10 2004 - 09:48:16 EST


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.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/