From 6c6871eb5a47c83c70a19260115ad7ceff308c1b Mon Sep 17 00:00:00 2001 From: Wolfgang Ocker Date: Sun, 15 Jun 2014 13:03:29 +0200 Subject: [PATCH] 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-format-patch failed