[PATCH] staging cxt1e1: refactored ring buffer dump functions to avoid sparse warnings

2014-06-15 Thread Wolfgang Ocker
ferent 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 --- drivers/staging/cxt1e1/musycc.c | 54 ++--- 1 file changed,

[PATCH] staging: comedi: style - use kmalloc_array(n, s, ...) instead of kmalloc(n*s, ...)

2014-06-02 Thread Wolfgang Ocker
Fix a style issue reported by checkpatch.pl for the Eudyptula challenge Signed-off-by: Wolfgang Ocker --- drivers/staging/comedi/comedi_fops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c