** Description changed:

  [Impact]
  
  The following build error is reported when building this module with the
  new linux-hwe-5.11:
  
  dm-writeboost-metadata.c:984:9: warning: parameter names (without types) in 
function declaration
    984 |  struct superblock_record_device uninitialized_var(record);
        |         ^~~~~~~~~~~~~~~~~~~~~~~~
  dm-writeboost-metadata.c:985:32: error: ‘record’ undeclared (first use in 
this function); did you mean ‘record_id’?
    985 |  err = read_superblock_record(&record, wb);
        |                                ^~~~~~
        |                                record_id
  
  [Test plan]
  
  $ sudo apt install dm-writeboost-dkms
  
  Build error in reported in the build log.
  
  [Fix]
  
  Fix by applying the following upstream commits (from
  https://github.com/akiradeveloper/dm-writeboost) to properly support the
  5.11 kernel:
  
   32fc003 - Fix Linux 5.9 build: remove uninitialized_var() usage
   d89ea5c - blkdev_issue_flush: discard unused memory allocation flags
  
  [Where problems could occur]
  
  Potential build breakage with some really old kernels.
+ 
+ [Other]
+ 
+ NB! dkms ftbfs fixes must be built in security, such that after SRU
+ process in -proposed & -updates it can be copied into -security pocket
+ too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1932257

Title:
  dm-writeboost dkms: build failure with linux-hwe-5.11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dm-writeboost/+bug/1932257/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to