From: Nicholas Mc Guire Date: Mon, 11 May 2015 14:38:02 +0000 (+0200) Subject: IB/ehca: use correct destination for memcpy X-Git-Tag: omap-for-v4.2/wakeirq-drivers~2^2~32^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94634e9861abbc3036d7041773971c8e31ec2680;p=pandora-kernel.git IB/ehca: use correct destination for memcpy Using an element of a struct as the address for the memcpy of the whole struct may introduce a buffer overflow and does not help readability either simply pass the real thing as first argument to memcpy. Reported-by: Dan Carpenter Signed-off-by: Nicholas Mc Guire Signed-off-by: Doug Ledford --- Reading git-diff-tree failed