From: H Hartley Sweeten Date: Wed, 6 Mar 2013 22:57:24 +0000 (-0700) Subject: staging: comedi: adl_pci8164: remove buggy dev_dbg() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~678 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fff7a2cc99726f3994b9709782bd3e251ceb1023;p=pandora-kernel.git staging: comedi: adl_pci8164: remove buggy dev_dbg() The dev_dbg() messages in the adl_pci8164_insn_{read,out} functions output the 'data' that was read/write to the device. Two 'data' values are always printed, data[0] and data[1]. The 'data' pointer points to an array of unsigned int values. The number of values in the array is indicated by insn->n. The number of data elements is never checked so the dev_dbg() could be trying to access a 'data' element that is invalid. Instead of fixing the dev_dbg() just remove them. They are really just added noise. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed