From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Gud Date: Wed, 19 Jan 2005 09:26:13 +0000 Subject: [KJ] [PATCH] drivers/ide/pci/cs5520.c fix return code value Message-Id: <1106126053.13875.59.camel@localhost.localdomain> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============20162667997808503==" List-Id: To: kernel-janitors@vger.kernel.org --===============20162667997808503== Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 --- 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)) { --===============20162667997808503== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============20162667997808503==--