From: Julia Lawall Date: Wed, 9 Dec 2009 23:21:57 +0000 (-0800) Subject: RDMA/nes: Pass correct size to ioremap_nocache() X-Git-Tag: v2.6.33-rc1~60^2^10~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d85ddd835b33a9a0f2276ce068318da3fd1ad76a;p=pandora-kernel.git RDMA/nes: Pass correct size to ioremap_nocache() The size argument to ioremap_nocache should be the size of desired information, not the pointer to it. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @expression@ expression *x; @@ x = <+... *sizeof(x) ...+>// Signed-off-by: Julia Lawall Acked-by: Chien Tung Signed-off-by: Roland Dreier --- Reading git-diff-tree failed