[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110130.040100.48496301.davem@davemloft.net>
Date: Sun, 30 Jan 2011 04:01:00 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: romieu@...zoreil.com
Cc: balaji.v@...takaa.com, netdev@...r.kernel.org, mirqus@...il.com,
mohan@...takaa.com, blue.cube@...nam.cz,
lanconelli.claudio@...ar.com, sriram@...takaa.com,
vbalaji.acs@...il.com
Subject: Re: [PATCH]netdev: add driver for enc424j600 ethernet chip on SPI
bus
From: Francois Romieu <romieu@...zoreil.com>
Date: Sun, 30 Jan 2011 12:55:16 +0100
> Balaji Venkatachalam <balaji.v@...takaa.com> :
>> From: Balaji Venkatachalam <balaji.v@...takaa.com>
>> Updated patch [V1.29] for Microchip enc424j600 ethernet chip controlled via SPI.
>>
>> I tested it on my custom board with ARM9 (Freescale i.MX233) with
>> Kernel 2.6.31.14.
> [...]
>> 4. mapped enc424j600_dump_regs to eth_ops get_regs
>
> There is some kind of misunderstanding.
>
> See include/linux/ethtool.h
> [...]
> struct ethtool_ops {
> int (*get_settings)(struct net_device *, struct ethtool_cmd *);
> int (*set_settings)(struct net_device *, struct ethtool_cmd *);
> void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
> int (*get_regs_len)(struct net_device *);
> void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
>
> It should not even compile.
Balaji, please take care of your changes and do not rush this review
process like you seem to be doing.
If you're not even watching for compiler warnings and errors, I can
expect that you did exaclty zero functional testing of the changed
code.
That's simply unacceptable.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists