staging: vt6655: fix DBG_PRT and PRINT_K macros
authorGuido Martínez <guido@vanguardiasur.com.ar>
Wed, 2 Apr 2014 17:53:01 +0000 (14:53 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 23:09:32 +0000 (16:09 -0700)
commitc720dadab70daf9005c85b084a3f7e983f0fb0cb
tree87cddcdab913ceca3c0e503d8465dcb11eddceb7
parentf2ca407b9677eb24e824dc78586d102d8c57f37d
staging: vt6655: fix DBG_PRT and PRINT_K macros

Wrap both macros inside a 'do { ... } while(0)' to prevent breakage if
used within another 'if'. Also fix a usage of DBG_PRT with a missing
semicolon.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device.h
drivers/staging/vt6655/wpactl.c
This page took 0.024178 seconds and 5 git commands to generate.