]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-mmc: Fix debug macro ERR_MSG and its usages
authorNishad Kamdar <nishadkamdar@gmail.com>
Fri, 31 Aug 2018 22:19:43 +0000 (03:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 15:04:21 +0000 (17:04 +0200)
commitf9280836b8e6ec588702ef75cc849c8295c45db0
treebcf8c3033203541d1c22d45b06990824353a7a25
parent67499c1023898d4862069f33df86b392b7e2f538
staging: mt7621-mmc: Fix debug macro ERR_MSG and its usages

Replace all usages of ERR_MSG with with dev_<level> without __func__
or __LINE__ or current->comm and current->pid. Remove the do {}
while(0) loop for the single statement macro. Delete commented
ERR_MSG() usage. Drop ERR_MSG from dbg.h. Issue found by checkpatch.

Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/dbg.h
drivers/staging/mt7621-mmc/sd.c