[systemd-devel] [PATCH 2/2] kdbus-test: fix kdbus item alignment in kdbus_hello_registrar()

Kay Sievers kay at vrfy.org
Thu Jun 12 06:13:31 PDT 2014


On Wed, Jun 11, 2014 at 6:27 PM, Djalal Harouni <tixxdz at opendz.org> wrote:
> Currently running the test-kdbus-activator test will fail with -EINVAL
>
> To fix this, remove the redundant offsetof() macros since it is already
> handled. The KDBUS_ITEM_SIZE() will expand into KDBUS_ITEM_HEADER_SIZE()
> which expands into an offsetof() one.

Applied.

Thanks,
Kay


More information about the systemd-devel mailing list