netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH next v3 0/2] Rename WORD_TRUNC/ROUND macros and use them
@ 2016-09-21 11:45 Marcelo Ricardo Leitner
  2016-09-21 11:45 ` [PATCH next v3 1/2] sctp: rename WORD_TRUNC/ROUND macros Marcelo Ricardo Leitner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Marcelo Ricardo Leitner @ 2016-09-21 11:45 UTC (permalink / raw)
  To: netdev; +Cc: linux-sctp, Neil Horman, Vlad Yasevich, David Miller,
	David Laight

This patchset aims to rename these macros to a non-confusing name, as
reported by David Laight and David Miller, and to update all remaining
places to make use of it, which was 1 last remaining spot.

v3:
- Name it SCTP_PAD4 instead of SCTP_ALIGN4, as suggested by David Laight
v2:
- fixed 2nd patch summary

Details on the specific changelogs.

Thanks!

Marcelo Ricardo Leitner (2):
  sctp: rename WORD_TRUNC/ROUND macros
  sctp: make use of WORD_TRUNC macro

 include/net/sctp/sctp.h  | 10 +++++-----
 net/netfilter/xt_sctp.c  |  2 +-
 net/sctp/associola.c     |  2 +-
 net/sctp/chunk.c         | 13 +++++++------
 net/sctp/input.c         |  8 ++++----
 net/sctp/inqueue.c       |  2 +-
 net/sctp/output.c        | 12 ++++++------
 net/sctp/sm_make_chunk.c | 28 ++++++++++++++--------------
 net/sctp/sm_statefuns.c  |  6 +++---
 net/sctp/transport.c     |  4 ++--
 net/sctp/ulpevent.c      |  4 ++--
 11 files changed, 46 insertions(+), 45 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2016-09-22  7:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-21 11:45 [PATCH next v3 0/2] Rename WORD_TRUNC/ROUND macros and use them Marcelo Ricardo Leitner
2016-09-21 11:45 ` [PATCH next v3 1/2] sctp: rename WORD_TRUNC/ROUND macros Marcelo Ricardo Leitner
2016-09-21 11:45 ` [PATCH next v3 2/2] sctp: make use of SCTP_TRUNC4 macro Marcelo Ricardo Leitner
2016-09-21 15:37 ` [PATCH next v3 0/2] Rename WORD_TRUNC/ROUND macros and use them Neil Horman
2016-09-22  7:13 ` 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).