From: Ian Abbott Date: Fri, 10 May 2013 13:07:16 +0000 (+0100) Subject: staging: comedi: complain if dma buffer allocation not supported X-Git-Tag: v3.10-rc3~23^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9166139f6f829c2e7bf6695f13e08d09303d6ca;p=pandora-kernel.git staging: comedi: complain if dma buffer allocation not supported When allocating a buffer to support asynchronous comedi commands, if a DMA coherent buffer was requested but `CONFIG_HAS_DMA` is undefined, bail out of local helper function `__comedi_buf_alloc()` with an error message. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed