Red Hat Bugzilla – Bug 175340
Debug code uncompilable
Last modified: 2015-01-04 17:23:38 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; MSIE 6.0; Windows; U; AIIEEEE!; Win98; Windows 98; en-US; Gecko masquerading as IE; should it matter?; rv:1.8b) Gecko/20050217
Description of problem:
Compiling parport_pc.c fails if debug code enabled with DEBUG_PARPORT.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.make DEBUG_PARPORT=1 drivers/parport/parport_pc.o
Actual Results: error: parport_pc.h:89: unknown ...
Expected Results: Should have compiled properly of course
See attached patch
Created attachment 122047 [details]
Patch to fix compile when DEBUG_PARPORT set
thanks, I ended up just dropping the cast completely, as it should be unneeded.
I also sent this upstream, so 2.6.15 should have it fixed too.
it'll be in the next errata.