public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Tilman Schmidt <tilman@imap•cc>
To: Karsten Keil <isdn@linux-pingi•de>, Karsten Keil <keil@b1-systems•de>
Cc: davem@davemloft•net, i4ldeveloper@listserv•isdn4linux.de,
	netdev@vger•kernel.org, linux-kernel@vger•kernel.org
Subject: [PATCH 4/4] isdn: make capidrv module parameter "debugmode" writeable
Date: Sat, 19 Sep 2009 01:57:43 +0200 (CEST)	[thread overview]
Message-ID: <20090919-patch-capi-4.tilman@imap.cc> (raw)
In-Reply-To: <20090919-patch-capi-0.tilman@imap.cc>

Being able to change the debugmode module parameter of capidrv on the
fly is quite useful for debugging and doesn't do any harm.

Signed-off-by: Tilman Schmidt <tilman@imap•cc>
---
 drivers/isdn/capi/capidrv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/isdn/capi/capidrv.c b/drivers/isdn/capi/capidrv.c
index 4921eae..3e6d17f 100644
--- a/drivers/isdn/capi/capidrv.c
+++ b/drivers/isdn/capi/capidrv.c
@@ -40,7 +40,7 @@ static int debugmode = 0;
 MODULE_DESCRIPTION("CAPI4Linux: Interface to ISDN4Linux");
 MODULE_AUTHOR("Carsten Paeth");
 MODULE_LICENSE("GPL");
-module_param(debugmode, uint, 0);
+module_param(debugmode, uint, S_IRUGO|S_IWUSR);
 
 /* -------- type definitions ----------------------------------------- */
 
-- 
1.6.2.1.214.ge986c


  parent reply	other threads:[~2009-09-18 23:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 23:57 [PATCH 0/4] ISDN patches for 2.6.32 (v2) Tilman Schmidt
2009-09-18 23:57 ` [PATCH 1/4] Documentation: expand isdn/INTERFACE.CAPI document Tilman Schmidt
2009-09-18 23:57 ` [PATCH 2/4] isdn: accept CAPI Informational Info values as success Tilman Schmidt
2009-09-18 23:57 ` [PATCH 3/4] isdn: avoid races in capidrv (v2) Tilman Schmidt
2009-09-18 23:57 ` Tilman Schmidt [this message]
2009-09-26 11:44 ` [PATCH 0/4] ISDN patches for 2.6.32 (v2) Tilman Schmidt
2009-09-27  3:24   ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2009-10-06 22:17 [PATCH 0/4] ISDN patches for 2.6.32 (v3) Tilman Schmidt
2009-10-06 22:18 ` [PATCH 4/4] isdn: make capidrv module parameter "debugmode" writeable Tilman Schmidt
2009-09-06 18:58 [PATCH 0/4] ISDN patches for 2.6.32 Tilman Schmidt
2009-09-06 18:58 ` [PATCH 4/4] isdn: make capidrv module parameter "debugmode" writeable Tilman Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090919-patch-capi-4.tilman@imap.cc \
    --to=tilman@imap$(echo .)cc \
    --cc=davem@davemloft$(echo .)net \
    --cc=i4ldeveloper@listserv$(echo .)isdn4linux.de \
    --cc=isdn@linux-pingi$(echo .)de \
    --cc=keil@b1-systems$(echo .)de \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox