[ Next-in-Thread ]  [ Next Message ] 

Feedback: Bugfix for debugging code 

Forum: PCMCIA driver development
Date: 1999, Nov 14
From: Steve Bonds sbonds

While trying to debug a PCMCIA installation problem, I discovered that several of the PCMCIA modules were segfaulting when pc_debug=<number> was used. I went through the code and discovered that in many modules (i82365.c, tcic.c, others) there is the following declaration:

static int pc_debug = PCMCIA_DEBUG;
followed by:
MODULE_PARM(pc_debug, "i");
which tries to change the value of the static variable. This causes segfaults.

I'm currently using version 3.0.14, though I have checked and the bug appears to still be present in version 3.1.4.

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 1 ]  [ All ]  Outline: [ 1 ]  [ 2 ]  [ All ] 

1. I don't think that's the problem by David Hinds, 1999, Nov 15
(_ Wierd... by Steve Bonds, 1999, Nov 20

[ Add Message ]  to: "Bugfix for debugging code"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]