From: H Hartley Sweeten Date: Thu, 17 Apr 2014 17:08:00 +0000 (-0700) Subject: staging: comedi: gsc_hpdi: validate the cmd->start_arg X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1326 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4264cb64069e1c746483938c09e0df1099befd8b;p=pandora-kernel.git staging: comedi: gsc_hpdi: validate the cmd->start_arg The cmd->start_arg should be trivially validated in Step 3 of the (*do_cmdtest) functions. Add the necessary code. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed