Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932277AbbFIVAa (ORCPT ); Tue, 9 Jun 2015 17:00:30 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:49448 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752557AbbFIVAW (ORCPT ); Tue, 9 Jun 2015 17:00:22 -0400 X-Sasl-enc: wTjphXF9/W0rmKPYeNRrZcWop2yI9jVYedHllm7d99z8 1433883620 From: Sergei Zviagintsev To: Greg Kroah-Hartman , Daniel Mack , David Herrmann , Djalal Harouni Cc: linux-kernel@vger.kernel.org, Sergei Zviagintsev Subject: [PATCH v2 00/10] kdbus: macros fixes Date: Tue, 9 Jun 2015 23:59:58 +0300 Message-Id: X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1914 Lines: 47 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/