Skip to content

Commit 916bba5

Browse files
Refine false positive and license clue rules
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent d8be90e commit 916bba5

18 files changed

+23
-51
lines changed

src/licensedcode/data/rules/false-positive_771.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ is_false_positive: yes
33
notes: seen in kernel /Documentation/process/license-rules.rst
44
---
55

6-
The SPDX license identifier in kernel files shall be added at the first
6+
The SPDX license identifier in kernel files

src/licensedcode/data/rules/false-positive_772.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ is_false_positive: yes
33
notes: seen in kernel /Documentation/process/license-rules.rst
44
---
55

6-
The SPDX license identifier is added in form of a comment.
6+
The SPDX license identifier is added

src/licensedcode/data/rules/false-positive_773.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ is_false_positive: yes
33
notes: seen in kernel /Documentation/process/license-rules.rst
44
---
55

6-
(SPDX-License-Identifier) nor in any way relevant for expressing or
6+
(SPDX-License-Identifier) nor

src/licensedcode/data/rules/false-positive_774.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ is_false_positive: yes
33
notes: seen at drivers/block/floppy.c
44
---
55

6-
* modeled after the freeware MS-DOS program fdformat/88 V1.8 by
6+
* modeled after the freeware MS-DOS program
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
is_false_positive: yes
3-
notes: seen in kernel /Documentation/process/license-rules.rst
3+
notes: seen in kernel menuconfig
44
---
55

6-
SPDX-License-Identifier: <SPDX License Expression>
6+
_GNU_SOURCE

src/licensedcode/data/rules/false-positive_781.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ is_false_positive: yes
33
notes: found in linux/drivers/gpu/drm/amd/include/asic_reg/nbio/
44
---
55

6-
#define PCIE_RX_AD__RX_RC_UR_SSPL_MSG
6+
UR_SSPL_MSG

src/licensedcode/data/rules/false-positive_782.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ is_false_positive: yes
33
notes: found in linux/drivers/pinctrl/samsung/pinctrl-exynos-arm.c
44
---
55

6-
EXYNOS_PIN_BANK_EINTG("gpl2")
6+
EINTG("gpl2")

src/licensedcode/data/rules/false-positive_783.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ is_false_positive: yes
33
notes: found in linux/drivers/pinctrl/samsung/pinctrl-exynos-arm.c
44
---
55

6-
EXYNOS_PIN_BANK_EINTG("gpl1")
6+
EINTG("gpl1")

src/licensedcode/data/rules/false-positive_784.RULE

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/licensedcode/data/rules/false-positive_785.RULE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ is_false_positive: yes
33
notes: found in linux/include/linux/mfd/rn5t618.h
44
---
55

6-
#define RN5T618_GPLED_FUNC
6+
GPLED_FUNC

0 commit comments

Comments
 (0)