* [KJ] [PATCH] drivers/ide/pci/cs5520.c fix return code value
@ 2005-01-19 9:26 Amit Gud
2005-01-19 10:53 ` Domen Puncer
2005-01-19 14:52 ` Randy.Dunlap
0 siblings, 2 replies; 3+ messages in thread
From: Amit Gud @ 2005-01-19 9:26 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 659 bytes --]
Description: The patch follows from the suggestions by AC and Felipe W
Damasio for fixing the return codes from IDE drivers.
Do consider applying.
Signed-off-by: Amit Gud <gud@eth.net>
--- vanilla-2.6.10/drivers/ide/pci/cs5520.c 2005-01-19
11:19:28.000000000 +0530
+++ linux-2.6.9/drivers/ide/pci/cs5520.c 2005-01-19
14:23:50.000000000 +0530
@@ -224,7 +224,7 @@
if(pci_enable_device_bars(dev, 1<<2))
{
printk(KERN_WARNING "%s: Unable to enable 55x0.\n",
d->name);
- return 1;
+ return -EAGAIN;
}
pci_set_master(dev);
if (pci_set_dma_mask(dev, 0xFFFFFFFF)) {
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [KJ] [PATCH] drivers/ide/pci/cs5520.c fix return code value
2005-01-19 9:26 [KJ] [PATCH] drivers/ide/pci/cs5520.c fix return code value Amit Gud
@ 2005-01-19 10:53 ` Domen Puncer
2005-01-19 14:52 ` Randy.Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: Domen Puncer @ 2005-01-19 10:53 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
On 19/01/05 14:44 +0530, Amit Gud wrote:
> Description: The patch follows from the suggestions by AC and Felipe W
> Damasio for fixing the return codes from IDE drivers.
>
> Do consider applying.
>
>
> Signed-off-by: Amit Gud <gud@eth.net>
>
> --- vanilla-2.6.10/drivers/ide/pci/cs5520.c 2005-01-19
> 11:19:28.000000000 +0530
Line wrap. (Turn this off in your mailer)
> +++ linux-2.6.9/drivers/ide/pci/cs5520.c 2005-01-19
> 14:23:50.000000000 +0530
> @@ -224,7 +224,7 @@
> if(pci_enable_device_bars(dev, 1<<2))
Whitespace damage.
(Don't copy/paste. Try mailing patch to yourself first, and see if it
applies)
> {
> printk(KERN_WARNING "%s: Unable to enable 55x0.\n",
> d->name);
> - return 1;
> + return -EAGAIN;
-EAGAIN? -ENODEV, like it's a few lines below looks more apropriate.
> }
> pci_set_master(dev);
> if (pci_set_dma_mask(dev, 0xFFFFFFFF)) {
>
>
Wrt. generic.c patch... is seems already merged.
Domen
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [KJ] [PATCH] drivers/ide/pci/cs5520.c fix return code value
2005-01-19 9:26 [KJ] [PATCH] drivers/ide/pci/cs5520.c fix return code value Amit Gud
2005-01-19 10:53 ` Domen Puncer
@ 2005-01-19 14:52 ` Randy.Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2005-01-19 14:52 UTC (permalink / raw)
To: kernel-janitors
Domen Puncer wrote:
> On 19/01/05 14:44 +0530, Amit Gud wrote:
>
>>Description: The patch follows from the suggestions by AC and Felipe W
>>Damasio for fixing the return codes from IDE drivers.
>>
>>+++ linux-2.6.9/drivers/ide/pci/cs5520.c 2005-01-19
>>14:23:50.000000000 +0530
>>@@ -224,7 +224,7 @@
>> if(pci_enable_device_bars(dev, 1<<2))
also, please use diff -up as indicated in
Documentation/SubmittingPatches .
--
~Randy
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-19 14:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-19 9:26 [KJ] [PATCH] drivers/ide/pci/cs5520.c fix return code value Amit Gud
2005-01-19 10:53 ` Domen Puncer
2005-01-19 14:52 ` Randy.Dunlap
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.