Commit 70be832
committed
fix Error: MISSING_COMMA: detected by covscan
This commit fixes the following errors found by conscan,
Error: MISSING_COMMA: [#def3]
python-dmidecode-3.12.2/src/dmidecode.c:1375: missing_comma: In the initialization of "upgrade", a suspicious concatenated string ""Socket BGA1288Socket rPGA988B"" is produced due to a missing comma between lines.
python-dmidecode-3.12.2/src/dmidecode.c:1375: remediation: Did you intend to separate these two string literals with a comma?
# 1373| "Socket LGA1567",
# 1374| "Socket PGA988A",
# 1375|-> "Socket BGA1288" /* 0x20 */
# 1376| "Socket rPGA988B",
# 1377| "Socket BGA1023",
Error: MISSING_COMMA: [#def4]
python-dmidecode-3.12.2/src/dmidecode.c:1843: missing_comma: In the initialization of "type", a suspicious concatenated string ""64-way Set-associative20-way Set-associative"" is produced due to a missing comma between lines.
python-dmidecode-3.12.2/src/dmidecode.c:1843: remediation: Did you intend to separate these two string literals with a comma?
Error: MISSING_COMMA: [#def6]
python-dmidecode-3.12.2/src/dmidecode.c:2868: missing_comma: In the initialization of "type", a suspicious concatenated string ""DDR3FBD2"" is produced.
python-dmidecode-3.12.2/src/dmidecode.c:2868: remediation: Did you intend to separate these two string literals with a comma?
# 2866| "Reserved",
# 2867| "Reserved",
# 2868|-> "DDR3"
# 2869| "FBD2" /* 0x19 */
# 2870| };
# 1841| "32-way Set-associative",
# 1842| "48-way Set-associative",
# 1843|-> "64-way Set-associative" /* 0x0D */
# 1844| "20-way Set-associative" /* 0x0E */1 parent 9e0371d commit 70be832
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1372 | 1372 | | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | | - | |
| 1375 | + | |
1376 | 1376 | | |
1377 | 1377 | | |
1378 | 1378 | | |
| |||
1840 | 1840 | | |
1841 | 1841 | | |
1842 | 1842 | | |
1843 | | - | |
| 1843 | + | |
1844 | 1844 | | |
1845 | 1845 | | |
1846 | 1846 | | |
| |||
2865 | 2865 | | |
2866 | 2866 | | |
2867 | 2867 | | |
2868 | | - | |
| 2868 | + | |
2869 | 2869 | | |
2870 | 2870 | | |
2871 | 2871 | | |
| |||
0 commit comments