[Bug 1164756] New: bbswitch fails to build with 5.6 kernel
http://bugzilla.suse.com/show_bug.cgi?id=1164756 Bug ID: 1164756 Summary: bbswitch fails to build with 5.6 kernel Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: msuchanek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- https://build.opensuse.org/package/live_build_log/Kernel:HEAD:KMP/bbswitch/s... [ 119s] CC [M] /home/abuild/rpmbuild/BUILD/bbswitch-0.8/obj/default/bbswitch.o [ 120s] /home/abuild/rpmbuild/BUILD/bbswitch-0.8/obj/default/bbswitch.c: In function 'bbswitch_init': [ 120s] /home/abuild/rpmbuild/BUILD/bbswitch-0.8/obj/default/bbswitch.c:460:63: error: passing argument 4 of 'proc_create' from incompatible pointer type [-Werror=incompatible-pointer-types] [ 120s] 460 | acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops); [ 120s] | ^~~~~~~~~~~~~~ [ 120s] | | [ 120s] | struct file_operations * [ 120s] In file included from /usr/src/linux-5.6.0-rc3-1.g8f8ffe7/include/acpi/acpi_bus.h:83, [ 120s] from /usr/src/linux-5.6.0-rc3-1.g8f8ffe7/include/linux/acpi.h:32, [ 120s] from /home/abuild/rpmbuild/BUILD/bbswitch-0.8/obj/default/bbswitch.c:32: [ 120s] /usr/src/linux-5.6.0-rc3-1.g8f8ffe7/include/linux/proc_fs.h:64:24: note: expected 'const struct proc_ops *' but argument is of type 'struct file_operations *' [ 120s] 64 | struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops); [ 120s] | ^~~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1164756 Michal Suchanek <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kernel-maintainers@forge.pr |tchvatal@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1164756 http://bugzilla.suse.com/show_bug.cgi?id=1164756#c1 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Tomáš Chvátal <tchvatal@suse.com> --- Sorry but the optimus tech is in the disrepair state and there is nothing much to be done. Users are to move Prime: to https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com