netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 net-next 0/5] gianfar: coding style cleanups
@ 2012-06-05 13:42 Jan Ceuleers
  2012-06-05 13:42 ` [PATCH v3 net-next 1/5] gianfar: whitespace cleanup - pointers and multiplications Jan Ceuleers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jan Ceuleers @ 2012-06-05 13:42 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: Compile-tested only. I do not have the hardware.

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

v3: no changes from v2, except now compile-tested using powerpc crosstool

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] 7+ messages in thread

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

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).