From: Sergei Zviagintsev <sergei@s15v.net>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Daniel Mack <daniel@zonque.org>,
David Herrmann <dh.herrmann@googlemail.com>,
Djalal Harouni <tixxdz@opendz.org>
Cc: linux-kernel@vger.kernel.org, Sergei Zviagintsev <sergei@s15v.net>
Subject: [PATCH v2 00/10] kdbus: macros fixes
Date: Tue, 9 Jun 2015 23:59:58 +0300 [thread overview]
Message-ID: <cover.1433882692.git.sergei@s15v.net> (raw)
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@s15v.net
https://lkml.kernel.org/g/1433414370-17557-2-git-send-email-sergei@s15v.net
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
next reply other threads:[~2015-06-09 21:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 20:59 Sergei Zviagintsev [this message]
2015-06-09 20:59 ` [PATCH v2 01/10] kdbus: fix operator precedence issues in item macros Sergei Zviagintsev
2015-06-10 13:44 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 02/10] kdbus: use parentheses uniformly in KDBUS_ITEMS_FOREACH macro Sergei Zviagintsev
2015-06-10 13:46 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 03/10] Documentation/kdbus: fix operator precedence issue in KDBUS_ITEM_NEXT macro Sergei Zviagintsev
2015-06-10 14:03 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 04/10] Documentation/kdbus: use parentheses uniformly in KDBUS_ITEM_FOREACH macro Sergei Zviagintsev
2015-06-10 14:03 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 05/10] selftests/kdbus: fix trivial style issues Sergei Zviagintsev
2015-06-10 14:05 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 06/10] selftests/kdbus: fix precedence issues in macros Sergei Zviagintsev
2015-06-10 14:06 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 07/10] selftests/kdbus: use parentheses in iteration macros uniformly Sergei Zviagintsev
2015-06-10 14:08 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 08/10] samples/kdbus: add whitespace Sergei Zviagintsev
2015-06-10 14:09 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 09/10] samples/kdbus: fix operator precedence issue in KDBUS_ITEM_NEXT macro Sergei Zviagintsev
2015-06-10 14:09 ` David Herrmann
2015-06-09 21:00 ` [PATCH v2 10/10] samples/kdbus: use parentheses uniformly in KDBUS_FOREACH macro Sergei Zviagintsev
2015-06-10 14:10 ` David Herrmann
2015-06-10 14:13 ` [PATCH v2 00/10] kdbus: macros fixes David Herrmann
2015-06-10 14:56 ` Sergei Zviagintsev
2015-06-19 5:05 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1433882692.git.sergei@s15v.net \
--to=sergei@s15v.net \
--cc=daniel@zonque.org \
--cc=dh.herrmann@googlemail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tixxdz@opendz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox