]> 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)
commit7f2033887974f44e69332598cc622bd7ea2a7227
treebcf8c3033203541d1c22d45b06990824353a7a25
parente47561512fb11ac9cd5642d7e446a5f1c4911ed2
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