[DRBD-user] drbd-9.0.25-1 doesn't build against linux 5.8

Elimar Riesebieter riesebie at lxtec.de
Sun Oct 11 15:54:06 CEST 2020


Hi all,

building 9.0.25-1 dkms modul against linux 5.8 gives:

/var/lib/dkms/drbd/9.0.25-1hsh1/build/make.log:

/var/lib/dkms/drbd/9.0.25-1hsh1/build/src/drbd/drbd_bitmap.c: In function ‘bm_realloc_pages’:
/var/lib/dkms/drbd/9.0.25-1hsh1/build/src/drbd/drbd_bitmap.c:368:15: error:
too many arguments to function ‘__vmalloc’
   new_pages = __vmalloc(bytes,
               ^~~~~~~~~
In file included from /var/lib/dkms/drbd/9.0.25-1hsh1/build/src/drbd/drbd_bitmap.c:16:
/usr/src/linux-headers-5.8.0-0.bpo.2-common/include/linux/vmalloc.h:111:14: note: declared here
 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);

Indeed signatures have been changed:

5.7:
extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);

5.8:
extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);

will there be a short-term update?

Thanks in advance

Elimar
-- 
  BOFH excuse #260:
  We're upgrading /dev/null


More information about the drbd-user mailing list