test code for vpoll

** Description changed:

  [Impact]
  
+ libvpoll-eventfd is completely unusable as it will fail to install for a
+ Jammy user with the following error:
+ 
  ./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ 
from incompatible pointer type [-Werror=incompatible-pointer-types]
-    29 | #define THIS_MODULE (&__this_module)
-       |                     ~^~~~~~~~~~~~~~~
-       |                      |
-       |                      struct module *
+    29 | #define THIS_MODULE (&__this_module)
+       |                     ~^~~~~~~~~~~~~~~
+       |                      |
+       |                      struct module *
  /var/lib/dkms/vpoll/0.1/build/vpoll.c:117:44: note: in expansion of macro 
‘THIS_MODULE’
  
  [Test case]
  
-  $ sudo apt install vpoll-dkms
+ A simple testcase to confirm the build failure is fixed
  
- [Fix]
+  $ sudo apt install vpoll-dkms
+ 
+ Another testcase to test the basic sanity of the package to confirm its 
working:
+ 1. Build the attached test_vpoll.c
+ 2. Execute it, it will use the kernel driver for execution.
+ 
+ [ Where problems could occur ]
+ 
+ Users of vpoll may experience regressions (restricted to this module)
+ using the new 6.5 kernel.
+ 
+ [ Other Info ]
  
  Backport the changes in the vpoll kernel module to properly support the
  new linux 6.5 kernel ABI.
  
- [Regression potential]
- 
- Users of vpoll may experience regressions (restricted to this module)
- using the new 6.5 kernel.
+ [ Original Bug Description ]
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: vpoll-dkms 0.1-2ubuntu1
  ProcVersionSignature: User Name 6.5.0-14.14~22.04.1-generic 6.5.3
  Uname: Linux 6.5.0-14-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: config-disk (/dev/vdb)
  Date: Tue Nov 28 13:50:29 2023
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=C.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=C.UTF-8
+  SHELL=/bin/bash
  SourcePackage: libvpoll-eventfd
  UpgradeStatus: No upgrade log present (probably fresh install)

** Attachment added: "test_vpoll.c"
   
https://bugs.launchpad.net/ubuntu/+source/libvpoll-eventfd/+bug/2045034/+attachment/5761747/+files/test_vpoll.c

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

Title:
  [SRU] vpoll-dkms FTFBS with linux 6.5 in jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvpoll-eventfd/+bug/2045034/+subscriptions


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

Reply via email to