Netdev List
 help / color / mirror / Atom feed
* [RFC v2 net-next 0/5] gianfar: coding style cleanups
@ 2012-06-05  7:07 Jan Ceuleers
  2012-06-05  7:07 ` [RFC v2 net-next 1/5] gianfar: whitespace cleanup - pointers and multiplications Jan Ceuleers
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jan Ceuleers @ 2012-06-05  7:07 UTC (permalink / raw)
  To: David S. Miller; +Cc: Jiajun Wu, Joe Perches, netdev

Various coding style cleanups, mostly whitespace and comment reformatting.

I have left a number of lines untouched where I felt that the changes I
was considering were not improving readability. But de gustibus etc.

Patch 4/5 also removes some superfluous local variable initialisations.
These are obviously correct because the variable is initialised again
right after. But you might consider this to be unnecessary code churn
because the compiler is unlikely to generate better code due to this patch.

WARNING: ENTIRELY UNTESTED. Not even compile-tested. Sorry but I haven't
figured out how to cross-compile (I tried). Would the Freescale team please
pick this series up?

This is my first patch _series_ submission; please be kind.

v2: fixed typo in 5/5 (found by David)

Jan Ceuleers (5):
  gianfar: whitespace cleanup - pointers and multiplications
  gianfar: comment cleanup
  gianfar: various coding style and whitespace cleanups
  gianfar: Remove superfluous initialisations
  gianfar_ethtool: coding style and whitespace cleanups

 drivers/net/ethernet/freescale/gianfar.c         |  491 +++++++++++-----------
 drivers/net/ethernet/freescale/gianfar_ethtool.c |  420 +++++++++---------
 2 files changed, 479 insertions(+), 432 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-05  7:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05  7:07 [RFC v2 net-next 0/5] gianfar: coding style cleanups Jan Ceuleers
2012-06-05  7:07 ` [RFC v2 net-next 1/5] gianfar: whitespace cleanup - pointers and multiplications Jan Ceuleers
2012-06-05  7:07 ` [RFC v2 net-next 2/5] gianfar: comment cleanup Jan Ceuleers
2012-06-05  7:07 ` [RFC v2 net-next 3/5] gianfar: various coding style and whitespace cleanups Jan Ceuleers
2012-06-05  7:07 ` [RFC v2 net-next 4/5] gianfar: Remove superfluous initialisations Jan Ceuleers
2012-06-05  7:07 ` [RFC v2 net-next 5/5] gianfar_ethtool: coding style and whitespace cleanups Jan Ceuleers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox