From: Karsten Keil <kkeil@linux-pingi.de>
To: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: David Miller <davem@davemloft.net>,
netdev@vger.kernel.org, Karsten Keil <isdn@linux-pingi.de>
Subject: Re: [PATCHv3 6/6] mISDN: Help to identify the card
Date: Fri, 04 May 2012 17:58:58 +0200 [thread overview]
Message-ID: <4FA3FCC2.1080702@linux-pingi.de> (raw)
In-Reply-To: <CAP=VYLpKjFHx7b3oTjz7a8wvxQmPME-sK147n8CX6y8+Pii2rg@mail.gmail.com>
Am 04.05.2012 16:48, schrieb Paul Gortmaker:
> On Fri, May 4, 2012 at 10:15 AM, Karsten Keil <kkeil@linux-pingi.de> wrote:
>> From: Karsten Keil <isdn@linux-pingi.de>
>>
>> With multiple cards is hard to figure out which port caused trouble
>> int the layer2 routines (e.g. got a timeout).
>> Now we have the informations in the log output.
>
> If you are in here changing all these printk(KERN_LEVEL ...) lines anyway,
> then perhaps it is a good time to make use of pr_warn() and friends to
> help avoid some multi-line fragmentation things like this:
>
>> printk(KERN_WARNING
>> "%s: windowar[%d] is NULL\n",
>> - __func__, p1);
>> + mISDNDevName4ch(&l2->ch), p1);
>> l2->windowar[p1] = NULL;
>
Good point, but this should be consolidated over the complete project.
Will put this on TODO, after the current issues are solved.
Thanks
Karsten
next prev parent reply other threads:[~2012-05-04 16:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-04 14:15 [PATCHv3 0/6] mISDN: Collection of patches for layer1/layer2 Karsten Keil
2012-05-04 14:15 ` [PATCHv3 1/6] mISDN: Added PH_* state info to tei manager Karsten Keil
2012-05-04 14:15 ` [PATCHv3 2/6] mISDN: Fix refcounting bug Karsten Keil
2012-05-04 14:15 ` [PATCHv3 3/6] mISDN: L2 timeouts need to be queued as L2 event Karsten Keil
2012-05-04 14:15 ` [PATCHv3 4/6] mISDN: Make layer1 timer 3 value configurable Karsten Keil
2012-05-04 14:15 ` [PATCHv3 5/6] mISDN: Layer1 statemachine fix Karsten Keil
2012-05-04 14:15 ` [PATCHv3 6/6] mISDN: Help to identify the card Karsten Keil
2012-05-04 14:48 ` Paul Gortmaker
2012-05-04 15:58 ` Karsten Keil [this message]
2012-05-04 16:02 ` [PATCHv3 0/6] mISDN: Collection of patches for layer1/layer2 David Miller
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=4FA3FCC2.1080702@linux-pingi.de \
--to=kkeil@linux-pingi.de \
--cc=davem@davemloft.net \
--cc=isdn@linux-pingi.de \
--cc=netdev@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).