[ewg] Re: [ PATCH 3/3 ] RDMA/nes SFP+ cleanup
Roland Dreier
rdreier at cisco.com
Tue Apr 29 10:02:44 PDT 2008
> Clean up the SFP+ patch.
Why send a patch and then immediately a cleanup? Why not just clean the
original patch?
> - if ((nesadapter->OneG_Mode) && (nesadapter->phy_type[mac_index] != NES_PHY_TYPE_PUMA_1G)) {
> + if ((nesadapter->OneG_Mode) && (nesadapter->phy_type[ mac_index ] != NES_PHY_TYPE_PUMA_1G)) {
This type of change isn't a cleanup... kernel style prefers
array[index]
to
array[ index ]
and it seems most of this patch is making the change to the less-good way?
- R.
More information about the ewg
mailing list