scancode-toolkit
scancode-toolkit copied to clipboard
Add test for False positive GPL3 license (not a bug)
See https://github.com/antoniocorreia/cprojects/blob/d14b520bb863d2aec4b713546b366595328ddd8a/patterns/list4/samsung-kernel-msm7x30/refactoring8/example80.c#L173
We do not detect it correctly. Adding
{
.chip = {
.base = S5PC100_GPL1(0),
.ngpio = S5PC100_GPIO_L1_NR,
.label = "GPL1",
},
}, {
.chip = {
.base = S5PC100_GPL2(0),
.ngpio = S5PC100_GPIO_L2_NR,
.label = "GPL2",
},
}, {
.chip = {
.base = S5PC100_GPL3(0),
.ngpio = S5PC100_GPIO_L3_NR,
.label = "GPL3",
},
as a test would be great,