Ist not possible to build DRBD-Driver 9.2.11 with Kernel 6.1.0.27
In file included from /tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd-headers/linux/genl_magic_func.h:292,
from /tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd_nl.c:90:
/tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd-headers/linux/drbd_genl.h: In function ‘drbd_genl_multicast_events’:
/tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd-headers/linux/genl_magic_func-genl_register_family_with_ops_groups.h:21:16: error: too many arguments to function ‘genlmsg_multicast_allns’
21 | return genlmsg_multicast_allns(&ZZZ_genl_family, skb, 0, \
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd-headers/linux/drbd_genl.h:385:1: note: in expansion of macro ‘GENL_mc_group’
385 | GENL_mc_group(events)
| ^~~~~~~~~~~~~
In file included from /tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd-headers/linux/genl_magic_struct.h:20,
from /tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd-headers/linux/drbd_genl_api.h:40,
from /tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd_int.h:34,
from /tmp/drbd_kernelmodul/drbd-9.2.11/drbd/drbd_nl.c:25:
/usr/src/linux-headers-6.1.0-27-common/include/net/genetlink.h:361:5: note: declared here
361 | int genlmsg_multicast_allns(const struct genl_family *family,
| ^~~~~~~~~~~~~~~~~~~~~~~
and some other…
with kernel 6.1.0.26 build works