Re: [PATCH] kdbus: use FIELD_SIZEOF in kdbus_member_set_user macro
From: Greg Kroah-Hartman
Date: Fri Jun 05 2015 - 07:52:50 EST
On Thu, Jun 04, 2015 at 01:39:30PM +0300, Sergei Zviagintsev wrote:
> sizeof(((_t *)0)->_m) -> FIELD_SIZEOF(_t, _m)
>
> Use conventional macro according to chapter 17 of
> Documentation/CodingStyle.
>
> Signed-off-by: Sergei Zviagintsev <sergei@xxxxxxxx>
> Reviewed-by: David Herrmann <dh.herrmann@xxxxxxxxx>
Applied, thanks.
greg k-h
--
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/