scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

Add test for False positive GPL3 license (not a bug)

Open pombredanne opened this issue 1 year ago • 0 comments

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,

pombredanne avatar Sep 26 '24 11:09 pombredanne