From: Seth Forshee Date: Thu, 29 Nov 2012 13:36:00 +0000 (-0600) Subject: brcmsmac: Fix possible NULL pointer dereference in _dma_ctrlflags() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~56^2^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55cec505559dade9e7776de8f3d23fc3e54e091d;p=pandora-kernel.git brcmsmac: Fix possible NULL pointer dereference in _dma_ctrlflags() There's a debug message to warn if this function is passed a NULL pointer, but in order to print the message we have to dereference the pointer. Obviously this isn't a good idea, so remove the message. Reported-by: Fengguang Wu Signed-off-by: Seth Forshee Signed-off-by: John W. Linville --- Reading git-diff-tree failed