From: Ian Abbott Date: Mon, 24 Sep 2012 16:20:52 +0000 (+0100) Subject: staging: comedi: s626: don't dereference insn->data X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b655c2c4782ed3e2e71d2608154e295a3e860311;p=pandora-kernel.git staging: comedi: s626: don't dereference insn->data `s626_enc_insn_config()` is incorrectly dereferencing `insn->data` which is a pointer to user memory. It should be dereferencing the separate `data` parameter that points to a copy of the data in kernel memory. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed