Re: [PATCH][TRIVIAL] r8169.c : fix misleading comment

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Francois Romieu <romieu@...>
Cc: <linux-kernel@...>
Date: Thursday, May 22, 2008 - 4:08 am

Francois Romieu wrote:
OK, makes sense. Second version :



This comment is misleading, since the region it refers to can actually 
be PCI_BASE_ADDR_2. Remove it.

signed-off-by : emmanuel colbus <emmanuel.colbus@ovh.net>
---

diff -Naur drivers/net/r8169.c.old drivers/net/r8169.c
--- drivers/net/r8169.c.old     2008-05-22 09:55:51.000000000 +0200
+++ drivers/net/r8169.c 2008-05-22 09:55:59.000000000 +0200
@@ -1632,7 +1632,6 @@
        if (rc < 0)
                goto err_out_disable_2;
 
-       /* make sure PCI base addr 1 is MMIO */
        if (!(pci_resource_flags(pdev, region) & IORESOURCE_MEM)) {
                if (netif_msg_probe(tp)) {
                        dev_err(&pdev->dev,

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH][TRIVIAL] r8169.c : fix misleading comment, Emmanuel Colbus, (Wed May 21, 10:08 am)
Re: [PATCH][TRIVIAL] r8169.c : fix misleading comment, Francois Romieu, (Wed May 21, 2:53 pm)
Re: [PATCH][TRIVIAL] r8169.c : fix misleading comment, Emmanuel Colbus, (Thu May 22, 4:08 am)