netdev
[Top] [All Lists]

Re: RFR: new SiS gige driver

To: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: Re: RFR: new SiS gige driver
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Fri, 8 Aug 2003 12:01:50 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20030808173932.GA4077@gtf.org>
Organization: Open Source Development Lab
References: <20030808173932.GA4077@gtf.org>
Sender: netdev-bounce@xxxxxxxxxxx
Comments:
        - Run through lindent, indenting is non-standard.

        - struct board_info defined but only used in one debug message
          and it is just a string.

        - C99 initializers?

        - if code is commented out and outdated remove it (see init_board)

        - poisoning memory is useless and done already by allocator
          (see SIS190_remove_one)

        - assert checks for null pointers are overkill

        - ethtool?

Overall, suffers a little from the "having more debug code makes my
driver more reliable" fallacy.



<Prev in Thread] Current Thread [Next in Thread>