[PATCH 1/2] staging: comedi: s626: don't dereference insn-data

2012-09-24 Thread Ian Abbott
`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. Cc: sta...@vger.kernel.org Signed-off-by: Ian Abbott abbo...@mev.co.uk ---

RE: [PATCH 1/2] staging: comedi: s626: don't dereference insn-data

2012-09-24 Thread H Hartley Sweeten
On Monday, September 24, 2012 9:21 AM, Ian Abbott wrote: `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. Cc: