drbd: Introduce __s32_field in the genetlink macro magic
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 4 May 2011 08:33:52 +0000 (10:33 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:55:43 +0000 (16:55 +0100)
commit563e4cf25ec804eb02cd30a41baa2fcc6c06679b
tree78714255143b283d7a58681ab6142c3e245ebc7b
parent2ec91e0e29a3f1166ad96dbb3466b57dbc5d8ebf
drbd: Introduce __s32_field in the genetlink macro magic

...and drop explicit typecasts (int)meta_dev_idx < 0.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_nl.c
include/linux/drbd_genl.h
include/linux/genl_magic_struct.h