From: Michael S. Tsirkin Date: Mon, 10 Apr 2006 20:17:43 +0000 (-0700) Subject: IB/cache: Use correct pointer to calculate size X-Git-Tag: v2.6.17-rc2~79^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce684df05a531904ea055d01aeee75321fa0db1e;p=pandora-kernel.git IB/cache: Use correct pointer to calculate size When allocating gid_cache, use kmalloc(sizeof *gid_cache, ...) rather than kmalloc(sizeof *pkey_cache, ...). It doesn't really matter which one is used, since the size ends up the same either way, but it's much better to say what we mean. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed