Public bug reported:
I've tried to build ubuntu kernel based on
`ee57668d0c6cc2fbe7d436af3fe1b4c0c5761be0` but it fails to compile
`drivers/platform/x86/intel/int3472/discrete.c` because there are
duplicated case values like this:
```c
case INT3472_GPIO_TYPE_HANDSHAKE:
*con_id = "dvdd";
*gpio_flags = GPIO_ACTIVE_HIGH;
break;
case INT3472_GPIO_TYPE_HANDSHAKE:
*con_id = "handshake";
*gpio_flags = GPIO_ACTIVE_HIGH;
break;
```
After looking into what commit added those two, I found this:
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/drivers/platform/x86/intel/int3472/discrete.c?h=hwe-6.17-next&id=12fdf37d79c8ee95b211e1aa54c38345429a39e1
Which added the duplicated line.
This commit originated from here:
https://lore.kernel.org/all/[email protected]/
Which added case for `INT3472_GPIO+TYPE_HANDSHAKE` because it didn't have one.
But when it was commited to ubuntu kernel, it already had it and now there's
duplicate.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130295
Title:
Unable to build kernel due to duplicate case values
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2130295/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs