[PATCH v2 00/10] kdbus: macros fixes

From: Sergei Zviagintsev
Date: Tue Jun 09 2015 - 17:01:05 EST


Fix type conversion and style issues in item macros.

First submission was in 2 separate emails:
https://lkml.kernel.org/g/1433414370-17557-1-git-send-email-sergei@xxxxxxxx
https://lkml.kernel.org/g/1433414370-17557-2-git-send-email-sergei@xxxxxxxx

Changes in v2:

- fixed similar type cast issue in KDBUS_ITEMS_END macro
- all arguments in iteration macros are enclosed in parentheses,
instead of using loop cursor without them
- summary phrases and commit messages updated
- documentation updates are excluded to their own patches
- added fixes for samples/kdbus
- added fixes for selftests/kdbus


Sergei Zviagintsev (10):
kdbus: fix operator precedence issues in item macros
kdbus: use parentheses uniformly in KDBUS_ITEMS_FOREACH macro
Documentation/kdbus: fix operator precedence issue in KDBUS_ITEM_NEXT
macro
Documentation/kdbus: use parentheses uniformly in KDBUS_ITEM_FOREACH
macro
selftests/kdbus: fix trivial style issues
selftests/kdbus: fix precedence issues in macros
selftests/kdbus: use parentheses in iteration macros uniformly
samples/kdbus: add whitespace
samples/kdbus: fix operator precedence issue in KDBUS_ITEM_NEXT macro
samples/kdbus: use parentheses uniformly in KDBUS_FOREACH macro

Documentation/kdbus/kdbus.item.xml | 6 +++---
ipc/kdbus/item.h | 10 ++++-----
samples/kdbus/kdbus-api.h | 6 +++---
tools/testing/selftests/kdbus/kdbus-enum.h | 1 +
tools/testing/selftests/kdbus/kdbus-util.c | 2 +-
tools/testing/selftests/kdbus/kdbus-util.h | 33 ++++++++++++++----------------
6 files changed, 28 insertions(+), 30 deletions(-)

--
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/