From: Frank Davis <fdavis@si.rr.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 2.5.24 : drivers/net/defxx.c
Date: Mon, 24 Jun 2002 11:32:55 -0400 [thread overview]
Message-ID: <3D173BA7.1040801@si.rr.com> (raw)
In-Reply-To: 3D1733EB.6090502@si.rr.com
Zwane,
I agree, although eventually I envision the code to look like...
if(pci_set_dma_mask(pdev, 0xffffffff))
{
printk(KERN_WARNING "defxx : No suitable DMA available\n");
// Add appropriate action, such as
// goto err_dma_exit;
// OR
return -ENOMEM;
}
Thats why I have the braces (multiple statements).
Regards,
Frank
> Zwane Mwaikambo wrote:
>
>> On Sun, 23 Jun 2002, Frank Davis wrote:
>>
>>
>>> -
>>> + if(pci_set_dma_mask(pdev, 0xffffffff))
>>> + {
>>> + printk(KERN_WARNING "defxx : No suitable DMA available\n");
>>> + }
>>
>>
>>
>> Minor nit,
>> CodingStyle prefers this style;
>>
>> if (pci_set_dma_mask(pdev, 0xffffffff))
>> printk(KERN_WARNING "defxx : No suitable DMA available\n");
>>
>> Thanks,
>> Zwane Mwaikambo
>>
>
>
next prev parent reply other threads:[~2002-06-24 15:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-24 2:29 [PATCH] 2.5.24 : drivers/net/defxx.c Frank Davis
2002-06-24 7:30 ` Zwane Mwaikambo
[not found] ` <3D1733EB.6090502@si.rr.com>
2002-06-24 15:32 ` Frank Davis [this message]
2002-06-24 8:50 ` Maciej W. Rozycki
2002-06-24 14:20 ` Jeff Garzik
2002-06-24 15:14 ` Frank Davis
2002-06-24 16:02 ` Maciej W. Rozycki
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=3D173BA7.1040801@si.rr.com \
--to=fdavis@si.rr.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.