From: Wolfgang Ocker Date: Sun, 15 Jun 2014 11:03:29 +0000 (+0200) Subject: staging cxt1e1: refactored ring buffer dump functions to avoid sparse warnings X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1698 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c6871eb5a47c83c70a19260115ad7ceff308c1b;p=pandora-kernel.git staging cxt1e1: refactored ring buffer dump functions to avoid sparse warnings Sparse spit out these warnings: drivers/staging/cxt1e1/musycc.c:68:1: warning: context imbalance in 'musycc_dump_rxbuffer_ring' - different lock contexts for basic block drivers/staging/cxt1e1/musycc.c:136:1: warning: context imbalance in 'musycc_dump_txbuffer_ring' - different lock contexts for basic block The new functions musycc_dump_[rt]xbuffer_ring_locked() assume that the lock is held. musycc_dump_[rt]xbuffer_ring() take the lock. Signed-off-by: Wolfgang Ocker Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed