Next-in-Thread Next Message

None I don't think that's the problem 

Forum: PCMCIA driver development
Re: Feedback Bugfix for debugging code (Steve Bonds)
Date: 1999, Nov 15
From: David Hinds <dhinds@pcmcia.sourceforge.org>

I think you're confusing "const" with "static".  Static variables have
file scope but are writable.  You'll notice that I generally declare
all module parameters as static, not just pc_debug.  And this does
work.

If you really get a segfault (i.e., you run "insmod ... pc_debug=#"
and get a core dump, not a kernel trap), then my guess would be that
the problem is in your modutils.  I don't have any problems with this
with the 2.1.121 modutils.

-- Dave

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Wierd... by Steve Bonds, 1999, Nov 20

Add Message to: "I don't think that's the problem"

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