2.5.18: net/ipv4/ipconfig.c minor fix

2.5.18: net/ipv4/ipconfig.c minor fix

Post by Frank Davi » Tue, 28 May 2002 11:40:04



Hello all,
    The following patch fixes two compile warnings 'defined but not used'.
Since the label and int are only used for IPCONFIG_DYNAMIC, appropriate
fixes were made to remove the warnings.

Regards,
Frank

--- net/ipv4/ipconfig.c.old     Sun May 26 21:39:52 2002

 static int __init ip_auto_config(void)
 {
-       int retries = CONF_OPEN_RETRIES;
        unsigned long jiff;


                return 0;

        DBG(("IP-Config: Entered.\n"));
-
+#ifdef IPCONFIG_DYNAMIC
  try_try_again:
+#endif
        /* Give hardware a chance to settle */
        jiff = jiffies + CONF_PRE_OPEN;

 #endif
            ic_first_dev->next) {
 #ifdef IPCONFIG_DYNAMIC
+      
+               int retries = CONF_OPEN_RETRIES;

                if (ic_dynamic() < 0) {
                        ic_close_devs();

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.18 : drivers/pci/pool.c minor printk fix

Hello,
  The following patch addresses a compile warning. printk saw the "," as
an argument, which it shouldn't.
Regards,
Frank

--- drivers/pci/pool.c.old      Thu May  9 19:01:28 2002

                return;
        }
        if (page->bitmap [map] & (1UL << block)) {
-               printk (KERN_ERR "pci_pool_free %s/%s, dma %x already free\n",
+               printk (KERN_ERR "pci_pool_free %s/%s dma %x already free\n",
                        pool->dev ? pool->dev->slot_name : NULL,
                        pool->name, dma);
                return;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Solaris8 Wont Install

3. 2.5.18 ide-scsi compile fix

4. Philips 15C monitor (CM0200 ?)

5. ipv4: move proc stuff from net/ipv4/af_inet.c to net/ipv4/proc.c

6. KDE 1 editor problem

7. Linux 2.5.18-dj1

8. SLS mirror site (Univ. of Alberta)

9. ioctl() still problem w/2.5.18

10. usb mass storage fails in 2.5.18

11. 2/3 Quota changes ported to 2.5.18

12. make modules_install fails on 2.5.18

13. 2.5.18 and HPT366