rspiusb driver in staging area removal of dbg local macro
Quoted 16 lines · On Sat, May 30, 2009 at 12:12:21AM +0000, [email protected] wrote:
Quoted 1 line
From
57d81a0181a69d9a7ebd4bd5ae2c017eed51070bMon Sep 17 00:00:00 2001From: Jean-Pierre Sainfeld <[email protected]>
Date: Thu, 21 May 2009 10:58:15 -0700
Subject: [PATCH] This patch addressed the TODO list item : " removedbg()macro" The dbg invocations have been replaced bydev_dbgcall whenever possible. This means wherever the pdx points to a validdevice_extensionstructure.---
drivers/staging/rspiusb/rspiusb.c| 197 +++++++++++++++++++++++--------------1 files changed, 122 insertions(+), 75 deletions(-)drivers/staging/rspiusb/rspiusb.c +0
-0
drivers/staging/rspiusb/rspiusb.c static int debug = 1; · line 46
Quoted 10 lines
drivers/staging/rspiusb/rspiusb.c +0
-7@@ -37,13 +37,6 @@ static int debug = 1;#else static int debug;#endif -/* Use our own dbg macro */ -#undef dbg -#define dbg(format, arg...) \ - do { \ - if (debug) \ - printk(KERN_DEBUG __FILE__ ": " format "\n" , ##arg); \ - }while (0 )
Your patch seems to have all spaces stripped out of it and can't be applied :(
Also, there have been some changes in this driver recently, can you respin this against the linux-next tree that comes out tomorrow?
thanks,
greg k-h