compile fix for IBM PCI hotplug driver (linux 2.4.21rc1-ac4)

From: Chuck Ebbert (76306.1226@compuserve.com)
Date: Sun May 04 2003 - 09:39:23 EST


> if(create_file_name (slot_cur, buf)==0)

  Wow. Three whitespace violations on one line:

        - no space after 'if'
        - space between function and args
        - no space around '==' operator

I know you didn't write that, I just had to comment because it almost
hurts to look at it...

>- snprintf (slot_cur->hotplug_slot->name, 30, "%s", );
>+ snprintf (slot_cur->hotplug_slot->name, 30, "%s" );

  Doesn't this need a fourth parameter here instead of just
removing the comma?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:19 EST