Linux kernel source tree
This report summarizes scanner evidence for torvalds/linux, a C project with 253,910 GitHub stars. SynthScan examined 35,535,747 lines of code across 75182 source files, recording 138967 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 3.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 137930 finding(s).
Are imports declared and package/API names verified? 502 finding(s).
Are wrappers, guards, and repeated structures necessary? 942 finding(s).
Which changes need focused human review? 138967 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 138967 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .rustfmt.toml | 1 | edition = "2021" | COMMENT |
| LOW | init/initramfs_internal.h | 1 | // SPDX-License-Identifier: GPL-2.0 | COMMENT |
| LOW | init/do_mounts_rd.c | 1 | // SPDX-License-Identifier: GPL-2.0 | COMMENT |
| LOW | init/do_mounts.c | 1 | // SPDX-License-Identifier: GPL-2.0-only | COMMENT |
| LOW | init/initramfs.c | 1 | // SPDX-License-Identifier: GPL-2.0 | COMMENT |
| LOW | init/initramfs_test.c | 1 | // SPDX-License-Identifier: GPL-2.0 | COMMENT |
| LOW | init/init_task.c | 1 | // SPDX-License-Identifier: GPL-2.0 | COMMENT |
| LOW | init/init_task.c | 241 | }, | COMMENT |
| LOW | init/main.c | 21 | #include <linux/kernel.h> | COMMENT |
| LOW | init/main.c | 41 | #include <linux/kernel_stat.h> | COMMENT |
| LOW | init/main.c | 61 | #include <linux/delayacct.h> | COMMENT |
| LOW | init/main.c | 81 | #include <linux/async.h> | COMMENT |
| LOW | init/main.c | 101 | #include <linux/kcsan.h> | COMMENT |
| LOW | init/do_mounts.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | crypto/aes.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/md4.c | 21 | * | COMMENT |
| LOW | crypto/internal.h | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | COMMENT |
| LOW | crypto/aead.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/pcrypt.c | 1 | // SPDX-License-Identifier: GPL-2.0-only | COMMENT |
| LOW | crypto/zstd.c | 1 | // SPDX-License-Identifier: GPL-2.0-only | COMMENT |
| LOW | crypto/xts.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/tcrypt.c | 21 | COMMENT | |
| LOW | crypto/rsa-pkcs1pad.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/gcm.c | 1 | // SPDX-License-Identifier: GPL-2.0-only | COMMENT |
| LOW | crypto/ecc.c | 21 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | COMMENT |
| LOW | crypto/ccm.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/algapi.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/af_alg.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/testmgr.c | 21 | #include <crypto/skcipher.h> | COMMENT |
| LOW | crypto/authencesn.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/aegis128-core.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/crypto_user.c | 1 | // SPDX-License-Identifier: GPL-2.0-only | COMMENT |
| LOW | crypto/algboss.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/scompress.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/cts.c | 41 | */ | COMMENT |
| LOW | crypto/akcipher.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/acompress.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/wp512.c | 21 | */ | COMMENT |
| LOW | crypto/ripemd.h | 21 | #define RMD_K2 0x5a827999UL | COMMENT |
| LOW | crypto/authenc.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/crypto_engine.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/chacha20poly1305.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/camellia_generic.c | 301 | /* key constants */ | COMMENT |
| LOW | crypto/rmd160.c | 21 | COMMENT | |
| LOW | crypto/algif_skcipher.c | 21 | * After the completion of the crypto operation, the RX SGL and the cipher | COMMENT |
| LOW | crypto/rng.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/x509_cert_parser.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/public_key.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/pkcs7_parser.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/pkcs7_trust.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/x509_public_key.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/pkcs8_parser.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/verify_pefile.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/asymmetric_type.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/asymmetric_keys/pkcs7_verify.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | crypto/krb5/rfc3961_simplified.c | 61 | COMMENT | |
| LOW | Documentation/conf.py | 341 | # The reST default role (used for this markup: `text`) to use for all | COMMENT |
| LOW | …ation/trace/postprocess/trace-pagealloc-postprocess.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | …entation/trace/postprocess/trace-vmscan-postprocess.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | Documentation/admin-guide/aoe/udev.txt | 1 | # These rules tell udev what device nodes to create for aoe support. | COMMENT |
| 136623 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Documentation/conf.py | 60 | # ------------------------------------------------- | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 82 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 84 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 116 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 403 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 513 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 42 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 44 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 51 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 53 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 57 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 59 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 71 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 73 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 82 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 84 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 94 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 97 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 99 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | Documentation/sphinx/rstFlatTable.py | 101 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/rstFlatTable.py | 135 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/rstFlatTable.py | 137 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kfigure.py | 72 | # ------------- | COMMENT |
| MEDIUM | Documentation/sphinx/kfigure.py | 109 | # ------------------------------------------- | COMMENT |
| MEDIUM | Documentation/sphinx/kfigure.py | 235 | # -------------------------- | COMMENT |
| MEDIUM | Documentation/sphinx/kfigure.py | 434 | # --------------------- | COMMENT |
| MEDIUM | Documentation/sphinx/kfigure.py | 471 | # --------------------- | COMMENT |
| MEDIUM | Documentation/sphinx/kfigure.py | 509 | # --------------------- | COMMENT |
| MEDIUM | …ation/devicetree/bindings/net/ethernet-controller.yaml | 271 | # =========== | COMMENT |
| MEDIUM | …on/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 65 | # -------------------- | COMMENT |
| MEDIUM | …on/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 83 | # ========================== | COMMENT |
| MEDIUM | …on/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 197 | # -------------------- | COMMENT |
| MEDIUM | …devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml | 88 | # -------------------- | COMMENT |
| MEDIUM | …on/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml | 75 | # -------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71828-regulator.yaml | 71 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71828-regulator.yaml | 73 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71828-regulator.yaml | 75 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 75 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 77 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 79 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 81 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 83 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71847-regulator.yaml | 74 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71847-regulator.yaml | 76 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71847-regulator.yaml | 78 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 55 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 57 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 59 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 105 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 107 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 109 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM | …umentation/devicetree/bindings/sound/renesas,rsnd.yaml | 283 | # -------------------- | COMMENT |
| MEDIUM | …umentation/devicetree/bindings/sound/renesas,rsnd.yaml | 285 | # -------------------- | COMMENT |
| MEDIUM | …umentation/devicetree/bindings/sound/renesas,rsnd.yaml | 340 | # -------------------- | COMMENT |
| MEDIUM | …umentation/devicetree/bindings/sound/renesas,rsnd.yaml | 342 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 278 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 280 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 307 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 309 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 350 | # -------------------- | COMMENT |
| 166 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Documentation/conf.py | 299 | except Exception: | CODE |
| HIGH | Documentation/sphinx/kernel_include.py | 420 | except AttributeError: | CODE |
| HIGH | Documentation/sphinx/rstFlatTable.py | 256 | except: # pylint: disable=W0702 | CODE |
| HIGH | Documentation/sphinx/rstFlatTable.py | 264 | except: # pylint: disable=W0702 | CODE |
| HIGH | Documentation/sphinx/kerneldoc.py | 129 | except ValueError: | CODE |
| HIGH | tools/power/pm-graph/bootgraph.py | 1065 | except: | CODE |
| HIGH | tools/power/pm-graph/sleepgraph.py | 763 | except: | CODE |
| HIGH | tools/crypto/ccp/test_dbc.py | 172 | except PermissionError: | CODE |
| HIGH | tools/crypto/ccp/test_dbc.py | 176 | except BlockingIOError: | CODE |
| HIGH | tools/crypto/ccp/test_dbc.py | 180 | except PermissionError: | CODE |
| HIGH | tools/crypto/ccp/test_dbc.py | 219 | except OSError: | CODE |
| HIGH | tools/net/ynl/pyynl/cli.py | 327 | except KeyboardInterrupt: | CODE |
| HIGH | tools/net/ynl/pyynl/cli.py | 329 | except BrokenPipeError: | CODE |
| HIGH | tools/net/ynl/pyynl/ynl_gen_c.py | 2209 | except Exception: | CODE |
| HIGH | tools/net/ynl/pyynl/ynl_gen_c.py | 1220 | except KeyError: | CODE |
| HIGH | tools/cgroup/memcg_slabinfo.py | 142 | except: | CODE |
| HIGH | tools/cgroup/memcg_slabinfo.py | 155 | except FaultError: | CODE |
| HIGH | tools/cgroup/iocost_monitor.py | 240 | except: | CODE |
| HIGH | tools/testing/selftests/net/bpf_offload.py | 508 | except ValueError: | CODE |
| HIGH | tools/testing/selftests/net/lib/py/netns.py | 94 | except OSError: | CODE |
| HIGH | tools/testing/selftests/net/lib/py/netns.py | 69 | except OSError: | CODE |
| HIGH | tools/testing/selftests/drivers/net/psp.py | 1074 | except NlError: | CODE |
| HIGH | tools/testing/selftests/drivers/net/gro_lib.py | 303 | except KsftXfailEx: | CODE |
| HIGH | tools/testing/selftests/drivers/net/so_txtime.py | 83 | except CmdExitFailure: | CODE |
| HIGH | tools/testing/selftests/drivers/net/hds.py | 90 | except NlError as e: | CODE |
| HIGH | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 279 | except CmdExitFailure: | CODE |
| HIGH | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 737 | except CmdExitFailure: | CODE |
| HIGH | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 291 | except CmdExitFailure: | CODE |
| HIGH | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 312 | except CmdExitFailure: | CODE |
| HIGH | tools/testing/selftests/drivers/net/hw/tso.py | 36 | except OSError: | CODE |
| HIGH | tools/testing/selftests/drivers/net/hw/tso.py | 49 | except OSError: | CODE |
| HIGH | …ols/testing/selftests/drivers/net/hw/rss_flow_label.py | 34 | except FileNotFoundError: | CODE |
| HIGH | …ols/testing/selftests/drivers/net/hw/rss_flow_label.py | 128 | except CmdExitFailure: | CODE |
| HIGH | tools/testing/selftests/drivers/net/lib/py/env.py | 74 | except (CmdExitFailure, FileNotFoundError): | CODE |
| HIGH | tools/testing/selftests/tc-testing/tdc_config.py | 39 | except ImportError as ie: | CODE |
| HIGH | tools/testing/selftests/tc-testing/tdc_config.py | 44 | except NameError as ne: | CODE |
| HIGH | tools/testing/selftests/tpm2/tpm2_tests.py | 171 | except: | CODE |
| HIGH | tools/testing/selftests/tpm2/tpm2_tests.py | 187 | except: | CODE |
| HIGH | tools/testing/selftests/tpm2/tpm2_tests.py | 209 | except: | CODE |
| HIGH | tools/testing/selftests/tpm2/tpm2_tests.py | 234 | except: | CODE |
| HIGH | tools/testing/selftests/hid/tests/test_mouse.py | 1035 | except ValueError: | CODE |
| HIGH | tools/testing/selftests/hid/tests/test_multitouch.py | 648 | except KeyError: | CODE |
| HIGH | tools/testing/selftests/hid/tests/test_multitouch.py | 658 | except KeyError: | CODE |
| HIGH | tools/testing/selftests/hid/tests/test_multitouch.py | 900 | except KeyError: | CODE |
| HIGH | …g/selftests/devices/probe/test_discoverable_devices.py | 67 | except: | CODE |
| HIGH | …g/selftests/devices/probe/test_discoverable_devices.py | 83 | except: | CODE |
| HIGH | tools/lib/python/abi/system_symbols.py | 211 | except KeyboardInterrupt: | CODE |
| HIGH | tools/lib/python/kdoc/kdoc_output.py | 698 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/metric.py | 41 | except json.decoder.JSONDecodeError: | CODE |
| HIGH | tools/perf/pmu-events/metric.py | 56 | except json.decoder.JSONDecodeError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 103 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 287 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 295 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 302 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 317 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 355 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 512 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 544 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 566 | except ValueError: | CODE |
| HIGH | tools/perf/pmu-events/intel_metrics.py | 586 | except ValueError: | CODE |
| 78 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/sphinx/kfigure.py | 626 | def add_kernel_figure_to_std_domain(app, doctree): | CODE |
| LOW | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 98 | def plot_perf_busy_with_sample(cpu_index): | CODE |
| LOW | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 169 | def plot_pstate_cpu_with_sample(): | CODE |
| LOW | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 286 | def common_all_gnuplot_settings(output_png): | CODE |
| LOW | tools/crypto/ccp/test_dbc.py | 58 | def test_unauthenticated_nonce(self) -> None: | CODE |
| LOW | tools/crypto/ccp/test_dbc.py | 87 | def test_invalid_setuid_ioctl(self) -> None: | CODE |
| LOW | tools/crypto/ccp/test_dbc.py | 96 | def test_invalid_setuid_rw_ioctl(self) -> None: | CODE |
| LOW | tools/crypto/ccp/test_dbc.py | 130 | def test_unauthenticated_nonce(self) -> None: | CODE |
| LOW | tools/crypto/ccp/test_dbc.py | 134 | def test_multiple_unauthenticated_nonce(self) -> None: | CODE |
| LOW | tools/net/sunrpc/xdrgen/xdr_ast.py | 898 | def _merge_consecutive_passthru(definitions: List[Definition]) -> List[Definition]: | CODE |
| LOW | tools/net/sunrpc/xdrgen/xdr_ast.py | 1001 | def check_duplicate_definitions(root: "Specification") -> None: | CODE |
| LOW | tools/net/sunrpc/xdrgen/xdr_ast.py | 1325 | def check_aggregate_directives(root: "Specification") -> None: | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 34 | def emit_version_declarations( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 63 | def emit_version_argument_decoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 79 | def emit_version_result_decoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 93 | def emit_version_argument_encoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 107 | def emit_version_result_encoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/pointer.py | 26 | def emit_pointer_member_definition( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/pointer.py | 100 | def emit_pointer_member_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/pointer.py | 194 | def emit_pointer_member_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/struct.py | 69 | def emit_struct_member_definition( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/struct.py | 143 | def emit_struct_member_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/struct.py | 286 | def emit_struct_member_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 23 | def emit_union_switch_spec_definition( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 38 | def emit_union_case_spec_definition( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 79 | def emit_union_switch_spec_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 113 | def emit_union_case_spec_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 148 | def emit_union_default_spec_decoder(environment: Environment, node: _XdrUnion) -> None: | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 209 | def emit_union_switch_spec_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 218 | def emit_union_pages_arm_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 268 | def emit_union_case_spec_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 303 | def emit_union_default_spec_encoder( | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2374 | def parse_rsp_nested_prototype(ri, struct, suffix=';'): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2772 | def free_rsp_nested_prototype(ri): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2854 | def kernel_can_gen_family_struct(family): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2862 | def print_kernel_policy_ranges(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2891 | def print_kernel_policy_sparse_enum_validates(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2929 | def print_kernel_op_table_fwd(family, cw, terminate): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2996 | def print_kernel_op_table_hdr(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 3105 | def print_kernel_family_struct_hdr(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 3117 | def print_kernel_family_struct_src(family, cw): | CODE |
| LOW⚡ | tools/unittests/test_kdoc_parser.py | 408 | def test_with_unfilled_expected(self): | STRING |
| LOW⚡ | tools/unittests/test_kdoc_parser.py | 415 | def test_with_default_expected(self): | STRING |
| LOW⚡ | tools/unittests/test_kdoc_parser.py | 422 | def test_context_lock_struct_declaration(self): | STRING |
| LOW | tools/unittests/test_kdoc_test_schema.py | 70 | def test_kdoc_test_yaml_followsschema(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 51 | def test_search_acquires_simple(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 56 | def test_search_acquires_multiple(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 61 | def test_search_acquires_nested_paren(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 71 | def test_search_must_hold_shared(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 76 | def test_search_no_false_positive(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 81 | def test_search_no_macro_remains(self): | CODE |
| LOW | tools/unittests/test_cmatch.py | 151 | def test_acquires_nested_paren(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 240 | def test_sub_zero_placeholder(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 248 | def test_sub_single_placeholder(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 255 | def test_sub_multiple_placeholders(self): | CODE |
| LOW⚡ | tools/unittests/test_cmatch.py | 262 | def test_sub_mixed_placeholders(self): | CODE |
| LOW | tools/unittests/test_cmatch.py | 284 | def test_strip_multiple_acquires(self): | CODE |
| LOW | tools/unittests/test_cmatch.py | 298 | def test_rise_multiple_greedy(self): | CODE |
| LOW | tools/unittests/test_cmatch.py | 551 | def test_raw_struct_group_tagged(self): | STRING |
| LOW | tools/unittests/test_cmatch.py | 628 | def test_struct_group_tagged_with_private(self): | STRING |
| 321 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Documentation/conf.py | 285 | # The following code tries to extract the information by reading the Makefile, | COMMENT |
| MEDIUM | Documentation/sphinx/maintainers_include.py | 354 | # Create a hidden TOC table with all profiles. That allows adding | COMMENT |
| MEDIUM | Documentation/sphinx/templates/kernel-toc.html | 3 | {# Create a local TOC the kernel way #} | CODE |
| MEDIUM | Documentation/sphinx/templates/translations.html | 4 | {# Create a language menu for translations #} | CODE |
| MEDIUM | tools/power/pm-graph/bootgraph.py | 514 | # Create the output html file from the resident test data | COMMENT |
| MEDIUM | tools/power/pm-graph/sleepgraph.py | 2961 | # Create the timescale for a timeline block | COMMENT |
| MEDIUM | tools/power/pm-graph/sleepgraph.py | 4627 | # Create the output html file from the resident test data | COMMENT |
| MEDIUM | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 44 | # Define the csv file columns | COMMENT |
| MEDIUM | tools/power/x86/amd_pstate_tracer/amd_pstate_trace.py | 39 | # Define the csv file columns | COMMENT |
| MEDIUM | tools/tracing/rtla/tests/engine.sh | 63 | # Create a temporary directory to contain rtla output | COMMENT |
| MEDIUM | tools/memory-model/scripts/newlitmushist.sh | 39 | # Create a list of the C-language litmus tests previously run. | COMMENT |
| MEDIUM | tools/memory-model/scripts/checklitmushist.sh | 31 | # Create the results directory and populate it with subdirectories. | COMMENT |
| MEDIUM | tools/memory-model/scripts/checklitmushist.sh | 37 | # Create the list of litmus tests already run, then remove those that | COMMENT |
| MEDIUM | tools/memory-model/scripts/checkghlitmus.sh | 36 | # Create a list of the specified litmus tests previously run. | COMMENT |
| MEDIUM | tools/memory-model/scripts/checkghlitmus.sh | 42 | # Create a list of C-language litmus tests with "Result:" commands and | COMMENT |
| MEDIUM | tools/memory-model/scripts/initlitmushist.sh | 61 | # Create a list of the C-language litmus tests with no more than the | COMMENT |
| MEDIUM | …ols/testing/selftests/net/arp_ndisc_evict_nocarrier.sh | 6 | # Create a veth pair and set IPs/routes on both. Then ping to establish | COMMENT |
| MEDIUM | tools/testing/selftests/net/fib_tests.sh | 723 | # Create a new dummy_10 to remove all associated routes. | COMMENT |
| MEDIUM | tools/testing/selftests/net/fib_tests.sh | 913 | # Create a pair of veth devices to send a RA message from one | COMMENT |
| MEDIUM | tools/testing/selftests/net/fib_tests.sh | 1527 | # Create a pair of veth devices to send a RA message from one | COMMENT |
| MEDIUM | tools/testing/selftests/net/fib_tests.sh | 1605 | # Create a pair of veth devices to send a RA message from one | COMMENT |
| MEDIUM | tools/testing/selftests/net/bridge_stp_mode.sh | 63 | # Create a bridge in NS1, bring it up, and defer its deletion. | COMMENT |
| MEDIUM | tools/testing/selftests/net/test_vxlan_mdb.sh | 2358 | # Create the MDB entries that will be continuously deleted / replaced. | COMMENT |
| MEDIUM | tools/testing/selftests/net/bareudp.sh | 138 | # Create the four network namespaces used by the script (NS0, NS1, NS2 and NS3) | COMMENT |
| MEDIUM | tools/testing/selftests/net/bareudp.sh | 440 | # Create the bareudp devices in the intermediate namespaces | COMMENT |
| MEDIUM | tools/testing/selftests/net/big_tcp_tunnels.sh | 56 | # Create a bareudp device. bareudp only works in external mode: attach the | COMMENT |
| MEDIUM | tools/testing/selftests/net/gre_ipv6_lladdr.sh | 60 | # Create a GRE device and verify that it gets an IPv6 link-local address as | COMMENT |
| MEDIUM | tools/testing/selftests/net/forwarding/router_nh.sh | 111 | # Create the nexthops as AF_INET6, so that IPv4 and IPv6 routes could | COMMENT |
| MEDIUM | tools/testing/selftests/net/forwarding/sch_ets.sh | 25 | # Create a bottleneck so that the DWRR process can kick in. | COMMENT |
| MEDIUM | tools/testing/selftests/net/ppp/ppp_async.sh | 23 | # Create the virtual serial device | COMMENT |
| MEDIUM | tools/testing/selftests/net/ppp/pppol2tp.sh | 27 | # Create the veth pair | COMMENT |
| MEDIUM | tools/testing/selftests/net/ppp/pppoe.sh | 30 | # Create the veth pair | COMMENT |
| MEDIUM | tools/testing/selftests/net/mptcp/diag.sh | 30 | # This function is used in the cleanup trap | COMMENT |
| MEDIUM | tools/testing/selftests/net/mptcp/simult_flows.sh | 38 | # This function is used in the cleanup trap | COMMENT |
| MEDIUM | tools/testing/selftests/net/mptcp/userspace_pm.sh | 96 | # This function is used in the cleanup trap | COMMENT |
| MEDIUM | tools/testing/selftests/net/mptcp/mptcp_sockopt.sh | 101 | # This function is used in the cleanup trap | COMMENT |
| MEDIUM | tools/testing/selftests/net/mptcp/pm_netlink.sh | 34 | # This function is used in the cleanup trap | COMMENT |
| MEDIUM | tools/testing/selftests/net/mptcp/pm_netlink.sh | 82 | # This function is invoked indirectly | COMMENT |
| MEDIUM | tools/testing/selftests/net/mptcp/mptcp_connect.sh | 136 | # This function is used in the cleanup trap | COMMENT |
| MEDIUM | tools/testing/selftests/net/netfilter/nf_nat_edemux.sh | 60 | # Create a server in one namespace | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/shaper.py | 735 | # Create the nested node and validate the hierarchy | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/hw/rss_drv.py | 244 | # Create an extra context with a periodic (foldable) table so that | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 805 | # Create a new RSS context that uses queues 2 and 3 | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/mlxsw/vxlan.sh | 445 | # Create a simple setup with two bridges, each with a VxLAN device | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/mlxsw/vxlan.sh | 929 | # Create a simple setup with two VxLAN devices and a single VLAN-aware | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh | 90 | # Create a FID RIF | COMMENT |
| MEDIUM | …ng/selftests/drivers/net/mlxsw/rif_mac_profiles_occ.sh | 113 | # Create a VLAN netdevice that has the same MAC as the first one. | COMMENT |
| MEDIUM | …ftests/drivers/net/mlxsw/devlink_trap_l3_exceptions.sh | 533 | # Create a VRF without a default route | COMMENT |
| MEDIUM | …ftests/drivers/net/mlxsw/devlink_trap_l3_exceptions.sh | 560 | # Create a VRF without a default route | COMMENT |
| MEDIUM | …ls/testing/selftests/drivers/net/mlxsw/sch_red_core.sh | 582 | # Create a bit of a backlog and observe no mirroring due to marks. | COMMENT |
| MEDIUM | …ls/testing/selftests/drivers/net/mlxsw/sch_red_core.sh | 635 | # Create a bit of a backlog and observe no mirroring due to drops. | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/mlxsw/sch_ets.sh | 21 | # Create a bottleneck so that the DWRR process can kick in. | COMMENT |
| MEDIUM | …sting/selftests/drivers/net/team/teamd_activebackup.sh | 83 | # Create the network namespaces, veth pair, and team devices in the specified | COMMENT |
| MEDIUM | …esting/selftests/drivers/net/team/transmit_failover.sh | 61 | # Create the network namespaces, veth pair, and team devices in the specified | COMMENT |
| MEDIUM | …esting/selftests/drivers/net/team/transmit_failover.sh | 74 | # Create the interfaces. | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/team/team_lib.sh | 12 | # Create a team interface inside of a given network namespace with a given | COMMENT |
| MEDIUM | …ing/selftests/drivers/net/team/decoupled_enablement.sh | 71 | # Create the network namespaces, veth pair, and team devices in the specified | COMMENT |
| MEDIUM | …ing/selftests/drivers/net/team/decoupled_enablement.sh | 84 | # Create the interfaces. | COMMENT |
| MEDIUM | …testing/selftests/drivers/net/microchip/ksz9477_qos.sh | 521 | # Create a modified old_json with the expected change for comparison | COMMENT |
| MEDIUM | …ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh | 4 | # This file contains functions and helpers to support the netconsole | COMMENT |
| 64 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/conf.py | 400 | CODE | |
| LOW | Documentation/sphinx/kernel_feat.py | 34 | CODE | |
| LOW | Documentation/sphinx/kernel_feat.py | 39 | CODE | |
| LOW | Documentation/sphinx/kernel_abi.py | 36 | CODE | |
| LOW | Documentation/sphinx/translations.py | 14 | CODE | |
| LOW | Documentation/sphinx/translations.py | 16 | CODE | |
| LOW | Documentation/sphinx/parser_yaml.py | 15 | CODE | |
| LOW | Documentation/sphinx/automarkup.py | 8 | CODE | |
| LOW | Documentation/sphinx/kerneldoc.py | 29 | CODE | |
| LOW | Documentation/sphinx/kerneldoc.py | 31 | CODE | |
| LOW | Documentation/sphinx/kerneldoc.py | 39 | CODE | |
| LOW | Documentation/sphinx/kfigure.py | 61 | CODE | |
| LOW | tools/power/pm-graph/bootgraph.py | 30 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 56 | CODE | |
| LOW | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 35 | CODE | |
| LOW | tools/power/x86/amd_pstate_tracer/amd_pstate_trace.py | 21 | CODE | |
| LOW | tools/power/x86/amd_pstate_tracer/amd_pstate_trace.py | 30 | CODE | |
| LOW | tools/power/x86/amd_pstate_tracer/amd_pstate_trace.py | 31 | CODE | |
| LOW | tools/power/x86/amd_pstate_tracer/amd_pstate_trace.py | 32 | CODE | |
| LOW | tools/crypto/ccp/test_dbc.py | 13 | CODE | |
| LOW | tools/crypto/ccp/dbc_cli.py | 7 | CODE | |
| LOW | tools/net/sunrpc/xdrgen/generators/header_bottom.py | 6 | CODE | |
| LOW | tools/net/sunrpc/xdrgen/generators/header_bottom.py | 7 | CODE | |
| LOW | tools/net/sunrpc/xdrgen/generators/source_top.py | 11 | CODE | |
| LOW | tools/net/sunrpc/xdrgen/generators/source_top.py | 11 | CODE | |
| LOW | tools/net/ynl/pyynl/__init__.py | 8 | CODE | |
| LOW | tools/net/ynl/pyynl/__init__.py | 9 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 5 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 8 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 9 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 9 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 9 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 9 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 9 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 11 | CODE | |
| LOW | tools/workqueue/wq_dump.py | 55 | CODE | |
| LOW | tools/workqueue/wq_monitor.py | 51 | CODE | |
| LOW | tools/unittests/test_kdoc_parser.py | 19 | CODE | |
| LOW | tools/unittests/test_tokenizer.py | 13 | CODE | |
| LOW | tools/unittests/test_kdoc_test_schema.py | 25 | CODE | |
| LOW | tools/unittests/test_kdoc_test_schema.py | 28 | CODE | |
| LOW | tools/unittests/test_kdoc_test_schema.py | 28 | CODE | |
| LOW | tools/unittests/test_kdoc_test_schema.py | 28 | CODE | |
| LOW | tools/unittests/test_cmatch.py | 24 | CODE | |
| LOW | tools/sched/root_domains_dump.py | 14 | CODE | |
| LOW | tools/sched/root_domains_dump.py | 19 | CODE | |
| LOW | tools/sched/root_domains_dump.py | 20 | CODE | |
| LOW | tools/sched/dl_bw_dump.py | 13 | CODE | |
| LOW | tools/sched/dl_bw_dump.py | 18 | CODE | |
| LOW | tools/sched/dl_bw_dump.py | 19 | CODE | |
| LOW | tools/cgroup/memcg_slabinfo.py | 12 | CODE | |
| LOW | tools/cgroup/memcg_slabinfo.py | 13 | CODE | |
| 335 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/sphinx/kernel_include.py | 409 | CODE | |
| LOW | Documentation/sphinx/maintainers_include.py | 85 | CODE | |
| LOW | Documentation/sphinx/maintainers_include.py | 203 | CODE | |
| LOW | Documentation/sphinx/maintainers_include.py | 329 | CODE | |
| LOW | Documentation/sphinx/rstFlatTable.py | 228 | CODE | |
| LOW | Documentation/sphinx/rstFlatTable.py | 295 | CODE | |
| LOW | Documentation/sphinx/rstFlatTable.py | 316 | CODE | |
| LOW | Documentation/sphinx/automarkup.py | 130 | CODE | |
| LOW | Documentation/sphinx/automarkup.py | 152 | CODE | |
| LOW | Documentation/sphinx/kerneldoc.py | 100 | CODE | |
| LOW | Documentation/sphinx/kfigure.py | 244 | CODE | |
| LOW | Documentation/sphinx/kfigure.py | 626 | CODE | |
| LOW | tools/power/pm-graph/bootgraph.py | 292 | CODE | |
| LOW | tools/power/pm-graph/bootgraph.py | 378 | CODE | |
| LOW | tools/power/pm-graph/bootgraph.py | 519 | CODE | |
| LOW | tools/power/pm-graph/bootgraph.py | 753 | CODE | |
| LOW | tools/power/pm-graph/bootgraph.py | 144 | CODE | |
| LOW | tools/power/pm-graph/bootgraph.py | 254 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 3256 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 3290 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 3392 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 3450 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 3989 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 4272 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 4333 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 4504 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 4614 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 4632 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 5485 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 5738 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 5780 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 5881 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 6019 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 6174 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 6322 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 6470 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 6491 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 6540 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 473 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 683 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 791 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 994 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1119 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1158 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1272 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1341 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1567 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1647 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1750 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1774 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1807 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1850 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1916 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1927 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 1945 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 2087 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 2307 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 2448 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 2638 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 2677 | CODE | |
| 302 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | Documentation/sphinx/kernel_feat.py | 80 | self.state.document.settings.env.app.warn(message, prefix="") | CODE |
| CRITICAL | Documentation/sphinx/kernel_include.py | 158 | self.state.document.settings.record_dependencies.add(path) | CODE |
| CRITICAL | Documentation/sphinx/maintainers_include.py | 307 | self.state.document.settings.record_dependencies.add(path) | CODE |
| CRITICAL | Documentation/sphinx/maintainers_include.py | 370 | self.state.document.settings.record_dependencies.add(path) | CODE |
| CRITICAL | tools/cgroup/iocost_monitor.py | 70 | return blkcg.css.cgroup.kn.name.string_().decode('utf-8') | STRING |
| CRITICAL | tools/cgroup/iocost_monitor.py | 234 | if devname == blkg.q.mq_kobj.parent.name.string_().decode('utf-8'): | STRING |
| CRITICAL | tools/writeback/wb_monitor.py | 99 | ino = str(wb.memcg_css.cgroup.kn.id.value_()) | STRING |
| CRITICAL | rust/zerocopy-derive/util.rs | 851 | let param_idents = self.ctx.ast.generics.params.iter().map(|param| match param { | CODE |
| CRITICAL | rust/kernel/gpu/buddy.rs | 612 | (self.blocks.buddy.params.chunk_size.as_usize() as u64) << self.this.order() | CODE |
| CRITICAL | scripts/crypto/gen-fips-testvecs.py | 48 | aes = cryptography.hazmat.primitives.ciphers.algorithms.AES(fips_test_key) | CODE |
| CRITICAL⚡ | scripts/crypto/gen-fips-testvecs.py | 59 | aes, cryptography.hazmat.primitives.ciphers.modes.ECB() | CODE |
| CRITICAL⚡ | scripts/crypto/gen-fips-testvecs.py | 67 | aes, cryptography.hazmat.primitives.ciphers.modes.CBC(fips_test_iv) | CODE |
| CRITICAL⚡ | scripts/crypto/gen-fips-testvecs.py | 75 | aes, cryptography.hazmat.primitives.ciphers.modes.CBC(fips_test_iv) | CODE |
| CRITICAL⚡ | scripts/crypto/gen-fips-testvecs.py | 84 | aes, cryptography.hazmat.primitives.ciphers.modes.CTR(fips_test_iv) | CODE |
| CRITICAL⚡ | scripts/crypto/gen-fips-testvecs.py | 92 | cryptography.hazmat.primitives.ciphers.algorithms.AES(fips_test_xts_key), | CODE |
| CRITICAL⚡ | scripts/crypto/gen-fips-testvecs.py | 93 | cryptography.hazmat.primitives.ciphers.modes.XTS(fips_test_iv), | CODE |
| CRITICAL⚡ | scripts/crypto/gen-fips-testvecs.py | 100 | cipher = cryptography.hazmat.primitives.ciphers.aead.AESGCM(fips_test_key) | CODE |
| CRITICAL⚡ | scripts/crypto/gen-fips-testvecs.py | 109 | cipher = cryptography.hazmat.primitives.ciphers.aead.AESCCM( | CODE |
| CRITICAL | scripts/crypto/gen-aead-testvecs.py | 40 | ccm = cryptography.hazmat.primitives.ciphers.aead.AESCCM( | CODE |
| CRITICAL | scripts/crypto/gen-aead-testvecs.py | 49 | gcm = cryptography.hazmat.primitives.ciphers.aead.AESGCM(key) | CODE |
| CRITICAL | scripts/crypto/gen-hash-testvecs.py | 36 | aes = cryptography.hazmat.primitives.ciphers.algorithms.AES(key) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/conf.py | 299 | except Exception: | CODE |
| LOW | Documentation/sphinx/parser_yaml.py | 94 | except Exception as e: | CODE |
| LOW | Documentation/sphinx/kerneldoc.py | 249 | except Exception as e: # pylint: disable=W0703 | CODE |
| LOW | tools/power/pm-graph/bootgraph.py | 743 | except Exception as e: | CODE |
| LOW | tools/power/pm-graph/bootgraph.py | 759 | except Exception as e: | CODE |
| LOW | tools/power/pm-graph/bootgraph.py | 806 | except Exception as e: | CODE |
| LOW | tools/power/pm-graph/sleepgraph.py | 5569 | except Exception as e: | CODE |
| MEDIUM | …wer/cpupower/bindings/python/test_raw_pylibcpupower.py | 58 | print(f"Error: could not get cpu topology") | CODE |
| MEDIUM | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 429 | print('Error opening ', filename) | CODE |
| MEDIUM | tools/power/x86/amd_pstate_tracer/amd_pstate_trace.py | 194 | print('Error opening ', file_name) | CODE |
| LOW⚡ | tools/tracing/rtla/example/timerlat_load.py | 35 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/tracing/rtla/example/timerlat_load.py | 36 | print(f"Error setting affinity: {e}") | CODE |
| LOW⚡ | tools/tracing/rtla/example/timerlat_load.py | 43 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/tracing/rtla/example/timerlat_load.py | 44 | print(f"Error setting priority: {e}") | CODE |
| MEDIUM⚡ | tools/tracing/rtla/example/timerlat_load.py | 54 | print("Error opening timerlat fd, did you run timerlat -U?") | CODE |
| LOW⚡ | tools/tracing/rtla/example/timerlat_load.py | 59 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/tracing/rtla/example/timerlat_load.py | 60 | print(f"Error opening data fd: {e}") | CODE |
| LOW | tools/tracing/rtla/example/timerlat_load.py | 73 | except Exception as e: | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_rst.py | 76 | except Exception as exception: | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2209 | except Exception: | CODE |
| MEDIUM | tools/net/ynl/pyynl/lib/ynl.py | 1113 | print(f"Error decoding '{attr_spec.name}' from '{space}'") | CODE |
| LOW | tools/unittests/test_kdoc_parser.py | 94 | except Exception: | CODE |
| LOW | tools/sched/root_domains_dump.py | 60 | except Exception as e: | STRING |
| LOW | tools/sched/dl_bw_dump.py | 49 | except Exception as e: | STRING |
| MEDIUM | tools/testing/selftests/rseq/rseq-slice-hist.py | 30 | print(f"Error: Permission denied reading {file_path}. Try running with sudo.") | CODE |
| MEDIUM | tools/testing/selftests/rseq/rseq-slice-hist.py | 32 | print(f"Error: {file_path} not found.") | CODE |
| LOW | tools/testing/selftests/net/lib/py/ksft.py | 236 | except Exception: | CODE |
| LOW | tools/testing/selftests/net/lib/py/ksft.py | 310 | except Exception: | CODE |
| LOW | tools/testing/selftests/drivers/net/netpoll_basic.py | 186 | except Exception as exception: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/so_txtime.py | 119 | except Exception as e: | CODE |
| LOW | tools/testing/selftests/drivers/net/so_txtime.py | 180 | except Exception as e: | CODE |
| LOW | tools/testing/selftests/drivers/net/ring_reconfig.py | 218 | except Exception as exc: | CODE |
| LOW | tools/testing/selftests/drivers/net/ring_reconfig.py | 233 | except Exception as exc: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/ping.py | 112 | except Exception as e: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/ping.py | 123 | except Exception as e: | CODE |
| MEDIUM | tools/testing/selftests/drivers/net/ping.py | 63 | def _set_offload_checksum(cfg, netnl, on) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 798 | except Exception as exc: | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 940 | except Exception as exc: | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/tso.py | 281 | except Exception as e: | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/uso.py | 53 | except Exception as exc: | CODE |
| MEDIUM | …testing/selftests/drivers/net/hw/devlink_port_split.py | 37 | print("Error sending command: %s" % cmd) | CODE |
| LOW | …testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py | 113 | except Exception as exc: | CODE |
| LOW | …testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py | 117 | except Exception as exc: | CODE |
| LOW⚡ | …testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py | 265 | except Exception as exc: | CODE |
| LOW⚡ | …testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py | 270 | except Exception as exc: | CODE |
| LOW | tools/testing/selftests/tc-testing/tdc.py | 143 | except Exception as ee: | CODE |
| LOW | tools/testing/selftests/tc-testing/tdc.py | 490 | except Exception as ee: | CODE |
| MEDIUM | tools/testing/selftests/tc-testing/tdc.py | 271 | def verify_by_json(procout, res, tidx, args, pm): | CODE |
| LOW | …s/testing/selftests/x86/bugs/its_indirect_alignment.py | 137 | except Exception as e: | CODE |
| LOW | tools/testing/selftests/x86/bugs/its_ret_alignment.py | 125 | except Exception as e: | CODE |
| LOW | tools/testing/selftests/hid/tests/conftest.py | 27 | except Exception: | CODE |
| LOW | …ls/testing/selftests/damon/sysfs_no_op_commit_break.py | 26 | except Exception as e: | CODE |
| MEDIUM | …ls/testing/selftests/damon/sysfs_no_op_commit_break.py | 11 | def dump_damon_status_dict(pid): | CODE |
| LOW | tools/testing/selftests/damon/sysfs.py | 24 | except Exception as e: | CODE |
| MEDIUM | tools/testing/selftests/damon/sysfs.py | 10 | def dump_damon_status_dict(pid): | CODE |
| LOW | tools/testing/selftests/damon/_damon_sysfs.py | 28 | except Exception as e: | CODE |
| LOW | tools/testing/selftests/damon/_damon_sysfs.py | 38 | except Exception as e: | CODE |
| LOW | tools/testing/kunit/kunit_kernel.py | 377 | except Exception as e: | CODE |
| MEDIUM | tools/testing/kunit/kunit_kernel.py | 373 | def _wait_proc() -> None: | CODE |
| LOW | tools/mm/show_page_info.py | 49 | except Exception as e: | STRING |
| 53 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/sphinx/automarkup.py | 134 | # Check if this document has a namespace, and if so, try | COMMENT |
| LOW | Documentation/sphinx/automarkup.py | 167 | # Check if this document has a namespace, and if so, try | COMMENT |
| LOW | tools/power/pm-graph/bootgraph.py | 377 | # Check if trace is available and copy to a temp file | COMMENT |
| LOW | …ls/power/pm-graph/config/custom-timeline-functions.cfg | 62 | # Set this to true if you intend to only use the ones defined in this config | COMMENT |
| LOW | …ls/power/pm-graph/config/custom-timeline-functions.cfg | 67 | # Set this to true if you intend to only use the ones defined in this config | COMMENT |
| LOW | tools/power/pm-graph/config/example.cfg | 56 | # Print results to text file | COMMENT |
| LOW | tools/power/pm-graph/config/example.cfg | 111 | # Set this to true if you intend to only use the ones defined in the config | COMMENT |
| LOW | tools/power/pm-graph/config/example.cfg | 116 | # Set this to true if you intend to only use the ones defined in the config | COMMENT |
| LOW | …ols/tracing/rtla/tests/scripts/check-osnoise-option.sh | 3 | # Check if osnoise options are enabled or disabled. | COMMENT |
| LOW | tools/net/ynl/pyynl/lib/ynl.py | 1425 | # Check if this is a reply to our request | COMMENT |
| LOW | tools/net/ynl/tests/test_ynl_ethtool.sh | 201 | # Check if ynl-ethtool command is available | COMMENT |
| LOW | tools/net/ynl/tests/test_ynl_cli.sh | 305 | # Check if ynl command is available | COMMENT |
| LOW | tools/unittests/test_tokenizer.py | 47 | # Check if logger is working | COMMENT |
| LOW | tools/unittests/test_tokenizer.py | 63 | # Check if tokenizer is producing expected results | COMMENT |
| LOW | tools/unittests/test_cmatch.py | 212 | # Check if the diff is logically equivalent. To simplify, the tests here | COMMENT |
| LOW | tools/sched/root_domains_dump.py | 38 | # Check if we've already processed this root domain to avoid duplicates | STRING |
| LOW | tools/testing/selftests/cpufreq/main.sh | 107 | # Check if CPUs are managed by cpufreq or not | COMMENT |
| LOW | tools/testing/selftests/net/ipv6_force_forwarding.sh | 58 | # Check if force_forwarding sysctl exists | COMMENT |
| LOW | tools/testing/selftests/net/fcnal-test.sh | 88 | # Check if FIPS mode is enabled | COMMENT |
| LOW | tools/testing/selftests/net/bareudp.sh | 335 | # Print the result of a test | COMMENT |
| LOW | …testing/selftests/net/ipv6_route_update_soft_lockup.sh | 123 | # Check if any iperf3 instances are still running. This could happen | COMMENT |
| LOW | …testing/selftests/net/ipv6_route_update_soft_lockup.sh | 230 | # Check if we are running on a multi-core machine, skip the test otherwise | COMMENT |
| LOW | tools/testing/selftests/net/bpf_offload.py | 872 | # Check if iproute2 is built with libmnl (needed by extack support) | COMMENT |
| LOW | tools/testing/selftests/net/bpf_offload.py | 880 | # Check if net namespaces seem to work | COMMENT |
| LOW | tools/testing/selftests/net/packetdrill/set_sysctls.py | 22 | # Open file for restoring sysctl values | COMMENT |
| LOW | tools/testing/selftests/net/hsr/hsr_redbox.sh | 70 | # Check if iproute2 supports adding interlink port to hsrX device | COMMENT |
| LOW | tools/testing/selftests/net/openvswitch/openvswitch.sh | 827 | # Check if psample actions can be configured. | COMMENT |
| LOW | tools/testing/selftests/net/openvswitch/openvswitch.sh | 931 | # Check if drop reasons can be sent | COMMENT |
| LOW | tools/testing/selftests/net/openvswitch/openvswitch.sh | 1238 | # Check if the ct and nat actions can be configured. | COMMENT |
| LOW | tools/testing/selftests/drivers/net/hw/rss_api.py | 220 | # Set key to random | COMMENT |
| LOW | tools/testing/selftests/drivers/net/hw/rss_api.py | 227 | # Set key to random and indir tbl to something at once | COMMENT |
| LOW | tools/testing/selftests/drivers/net/team/options.sh | 198 | # Set enabled to true. | COMMENT |
| LOW | tools/testing/selftests/drivers/net/team/options.sh | 208 | # Set enabled to false. | COMMENT |
| LOW⚡ | tools/testing/selftests/drivers/net/team/options.sh | 228 | # Set enabled to true. | COMMENT |
| LOW⚡ | tools/testing/selftests/drivers/net/team/options.sh | 232 | # Set rx_enabled to false. | COMMENT |
| LOW⚡ | tools/testing/selftests/drivers/net/team/options.sh | 240 | # Set rx_enabled to true. | COMMENT |
| LOW⚡ | tools/testing/selftests/drivers/net/team/options.sh | 258 | # Set enabled to true. | COMMENT |
| LOW⚡ | tools/testing/selftests/drivers/net/team/options.sh | 262 | # Set tx_enabled to false. | COMMENT |
| LOW⚡ | tools/testing/selftests/drivers/net/team/options.sh | 270 | # Set tx_enabled to true. | COMMENT |
| LOW | …ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh | 261 | # Check if the file exists | COMMENT |
| LOW | …ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh | 373 | # Check if netconsole was compiled as a module, otherwise exit | COMMENT |
| LOW | …tests/drivers/net/netconsole/netcons_fragmented_msg.sh | 108 | # Check if the message was not corrupted | COMMENT |
| LOW | …ng/selftests/drivers/net/netconsole/netcons_sysdata.sh | 109 | # Check if cpu=XX exists in the file and matches the one used | COMMENT |
| LOW | …g/selftests/drivers/platform/x86/intel/ifs/test_ifs.sh | 303 | # Set IFS_IMAGE_NEED_RESTORE to true before corrupt the origin ifs image file | COMMENT |
| LOW | tools/testing/selftests/livepatch/functions.sh | 47 | # Check if we can compile the modules before loading them | COMMENT |
| LOW | tools/testing/selftests/dt/test_unprobed_devices.sh | 34 | # Check if node is available | COMMENT |
| LOW | tools/testing/selftests/ublk/test_generic_16.sh | 10 | # Check if SAFE_STOP_DEV feature is supported | COMMENT |
| LOW | tools/testing/selftests/rcutorture/bin/kvm.sh | 406 | # Read file of tests and corresponding required numbers of CPUs. | COMMENT |
| LOW | tools/testing/selftests/rcutorture/bin/jitter.sh | 73 | # Set affinity to randomly selected online CPU | COMMENT |
| LOW | …sts/ftrace/boottime/tests/persistent-01-reserve-mem.sh | 13 | # Check if Boot 1 marker was already written | COMMENT |
| LOW | …ftrace/boottime/tests/persistent-02-backup-instance.sh | 19 | # Check if BOOT1_MARKER is in boot_map/trace (indicates second boot) | COMMENT |
| LOW | tools/testing/selftests/amd-pstate/run.sh | 321 | # Check if CPUs are managed by cpufreq or not | COMMENT |
| LOW | tools/testing/kunit/kunit_parser.py | 415 | # Check if line matches test result line format | COMMENT |
| LOW | tools/testing/ktest/ktest.pl | 3192 | # Check if a bisect was running | COMMENT |
| LOW | tools/lib/python/unittest_helper.py | 175 | # Print results | COMMENT |
| LOW | tools/lib/python/kdoc/kdoc_output.py | 368 | # Print the output with the line prefix | COMMENT |
| LOW | tools/lib/python/kdoc/kdoc_parser.py | 859 | # Output the result and we are done. | COMMENT |
| LOW | tools/lib/python/kdoc/kdoc_parser.py | 1506 | # Check if it's a SYSCALL_DEFINE0 | COMMENT |
| LOW | tools/perf/check-headers.sh | 164 | # Check if we have the kernel headers (tools/perf/../../include), else | COMMENT |
| LOW | tools/perf/pmu-events/jevents.py | 1468 | # Check if the model matches one in _args.model. | COMMENT |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/perf/builtin-trace.c | 5943 | * This is important because we need to check if strace-like mode is | COMMENT |
| LOW | tools/perf/util/symbol-elf.c | 598 | * We need to check if we have a .dynsym, so that we can handle the | COMMENT |
| LOW | tools/perf/util/color.h | 28 | * This variable stores the value of color.ui | COMMENT |
| LOW | tools/perf/arch/arm64/util/arm-spe.c | 558 | * head has numerically wrapped around. To find we need to check if we have data at the | COMMENT |
| LOW | net/core/dev.c | 8173 | /* We need to check if ____napi_schedule() | COMMENT |
| LOW | net/bridge/br_multicast.c | 263 | /* when snooping we need to check if the contexts should be used | COMMENT |
| LOW | net/mptcp/ctrl.c | 445 | /* The following code block is to deal with middle box issues with MPTCP, | COMMENT |
| LOW | net/ipv4/tcp_fastopen.c | 566 | * The following code block is to deal with middle box issues with TFO: | COMMENT |
| LOW | net/ipv6/route.c | 673 | * for now, however, we need to check if it | COMMENT |
| LOW | net/ipv6/route.c | 4033 | * we need to check if the last sibling has a next route or not | COMMENT |
| LOW | drivers/infiniband/ulp/ipoib/ipoib_ib.c | 1136 | * not to break userspace applications, We need to check if the | COMMENT |
| LOW | drivers/acpi/acpica/exmisc.c | 159 | * We need to check if the shiftcount is larger than the integer bit | COMMENT |
| LOW | drivers/acpi/acpica/exmisc.c | 170 | * We need to check if the shiftcount is larger than the integer bit | COMMENT |
| LOW | drivers/tty/serial/imx.c | 1877 | * particular order. One consequence is that we need to check if any of | COMMENT |
| LOW | drivers/tty/serial/atmel_serial.c | 1637 | * If the current buffer is full, we need to check if | COMMENT |
| LOW | drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 452 | * So, here we need to check if there is any pending | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c | 791 | /* For MiniLED panel we need to check if CACP or ABM is being used */ | COMMENT |
| LOW | …vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c | 203 | // Step 1: To find out which OPTC is running & OPTC DSC is ON | COMMENT |
| LOW | …vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c | 225 | // Step 2: To power down DSC but skip DSC of running OPTC | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 802 | // Step 1: To find out which OPTC is running & OPTC DSC is ON | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 823 | // Step 2: To power down DSC but skip DSC of running OPTC | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 1781 | // Step 1: To find out which OPTC is running & OPTC DSC is ON | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 1803 | // Step 2: To power down DSC but skip DSC of running OPTC | COMMENT |
| LOW⚡ | …gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c | 965 | // Step 1: Assign global mcache IDs for each plane | COMMENT |
| LOW⚡ | …gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c | 968 | // Step 2: Build the mcache pipe configuration | COMMENT |
| LOW | drivers/net/fddi/skfp/ess.c | 20 | * PURPOSE: The purpose of this function is to control | COMMENT |
| LOW | drivers/net/dsa/microchip/ksz_common.c | 2161 | * We need to check if "other" port [i] and "third" port | COMMENT |
| LOW | drivers/net/ethernet/intel/igc/igc_mac.c | 532 | /* Now we need to check if the user selected RX ONLY | COMMENT |
| LOW | drivers/net/ethernet/intel/igb/e1000_mac.c | 999 | /* Now we need to check if the user selected RX ONLY | COMMENT |
| LOW | drivers/net/ethernet/intel/igb/e1000_mac.c | 1154 | /* Now we need to check if the user selected Rx ONLY | COMMENT |
| LOW | drivers/net/ethernet/intel/e1000/e1000_hw.c | 2144 | /* Now we need to check if the user selected Rx | COMMENT |
| LOW | drivers/net/ethernet/intel/ice/ice_vf_lib.c | 173 | * The purpose of this function is to make sure the VF is not in reset, not | COMMENT |
| LOW | drivers/net/ethernet/intel/ice/ice_vlan_mode.c | 400 | * The purpose of this function is to print that QinQ is not supported due to | COMMENT |
| LOW | drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 2276 | * Now we need to check if the user selected Rx ONLY | COMMENT |
| LOW | drivers/net/ethernet/intel/e1000e/mac.c | 1108 | /* Now we need to check if the user selected Rx ONLY | COMMENT |
| LOW | drivers/net/ethernet/intel/e1000e/mac.c | 1241 | /* Now we need to check if the user selected Rx ONLY | COMMENT |
| LOW | drivers/net/wireless/realtek/rtw89/util.h | 28 | /* Before adding rtwvif to list, we need to check if it already exist, beacase | COMMENT |
| LOW | drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 721 | * we need to check if the numerical value of X is LARGER than of Y. | COMMENT |
| LOW | drivers/scsi/isci/remote_device.c | 822 | /* we need to check if this request is still valid to continue. */ | COMMENT |
| LOW | drivers/accel/habanalabs/common/hwmon.c | 85 | /* If f/w is using it's own enum, we need to check if the properties values are aligned. | COMMENT |
| LOW | drivers/accel/habanalabs/gaudi2/gaudi2_coresight.c | 2081 | /* in pldm we need to check if unit is not stub | COMMENT |
| LOW | drivers/accel/habanalabs/gaudi2/gaudi2_coresight.c | 2321 | /* in pldm we need to check if unit is not stub | COMMENT |
| LOW | drivers/accel/habanalabs/gaudi2/gaudi2_coresight.c | 2359 | /* in pldm we need to check if unit is not stub | COMMENT |
| LOW | drivers/accel/habanalabs/gaudi2/gaudi2_coresight.c | 2461 | /* in pldm we need to check if unit is not stub | COMMENT |
| LOW | drivers/rtc/rtc-ac100.c | 167 | * Thus we need to check if the parent exists before | COMMENT |
| LOW | drivers/mtd/devices/spear_smi.c | 596 | * The purpose of this function is to ensure a memcpy_toio() with byte writes | COMMENT |
| LOW | drivers/iio/gyro/fxas21002c_core.c | 239 | /* We need to check if FS_DOUBLE is enabled to offset the value */ | COMMENT |
| LOW | drivers/iio/adc/ti-ads1018.c | 537 | * We need to check if the "drdy" pin is actually active or if it's a | COMMENT |
| LOW | drivers/media/platform/chips-media/coda/coda-bit.c | 1962 | * After updating the read pointer, we need to check if | COMMENT |
| LOW | drivers/media/platform/microchip/microchip-isc-base.c | 318 | * channels. We need to check if sensor is outputting RAW BAYER | COMMENT |
| LOW⚡ | include/linux/auxiliary_bus.h | 117 | * // Step 1: | COMMENT |
| LOW⚡ | include/linux/auxiliary_bus.h | 123 | * // Step 2: | COMMENT |
| LOW⚡ | include/linux/auxiliary_bus.h | 127 | * // Step 3: | COMMENT |
| LOW | arch/mips/include/asm/octeon/cvmx-helper-util.h | 140 | * not a dynamic short packet. We need to check if it is a | COMMENT |
| LOW | arch/arm/mach-omap2/prm3xxx.c | 221 | * The purpose of this function is to clear any wake-up events latched | COMMENT |
| LOW | arch/arm/mach-omap2/omap-mpuss-lowpower.c | 214 | * The purpose of this function is to manage low power programming | COMMENT |
| LOW | arch/arm/mach-omap1/board-ams-delta.c | 608 | * The purpose of this function is to take care of proper initialization of | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 537 | # Step 3: Compile the file that holds the list of call sites to mcount. | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 544 | # Step 4: Do we have sections that started with local functions? | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 559 | # Step 5: set up each local function as a global | COMMENT |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Documentation/sound/cards/multisound.sh | 82 | # you can use isapnptools. These are described briefly here. | COMMENT |
| MEDIUM | Documentation/sound/cards/multisound.sh | 84 | # pinnaclecfg is not required; you can use the snd-msnd-pinnacle module | COMMENT |
| MEDIUM | Documentation/sound/cards/multisound.sh | 192 | # -- OR you can use the following sequence without pinnaclecfg in non-PnP mode: | COMMENT |
| MEDIUM | Documentation/sound/cards/multisound.sh | 256 | # trouble, you can try the setdigital.c program | COMMENT |
| MEDIUM | Documentation/sound/cards/multisound.sh | 268 | # When the Pinnacle is in non-PnP mode, you can use the following | COMMENT |
| MEDIUM | Documentation/sound/cards/multisound.sh | 349 | # want to set it as the input source, you can use this program if you | COMMENT |
| LOW | Documentation/sound/cards/multisound.sh | 218 | # WARNING--probing isn't supported so try to make sure you have the | COMMENT |
| MEDIUM | …dings/mtd/partitions/brcm,bcm947xx-cfe-partitions.yaml | 30 | As mentioned earlier, role of some partitions may depend on extra | CODE |
| LOW | tools/include/linux/gfp_types.h | 22 | * In case of changes, please don't forget to update | COMMENT |
| MEDIUM | tools/testing/selftests/zram/zram02.sh | 22 | # or you can use mem suffixes. But in some old kernels, mem | COMMENT |
| MEDIUM | tools/testing/selftests/zram/zram01.sh | 23 | # or you can use mem suffixes. But in some old kernels, mem | COMMENT |
| MEDIUM | tools/testing/selftests/x86/test_vsyscall.c | 379 | * It's worth noting that this ABI is a bit nutty. write(2) can't | COMMENT |
| LOW | tools/testing/selftests/bpf/netlink_helpers.c | 210 | /* Don't forget to skip that message. */ | COMMENT |
| MEDIUM | tools/testing/ktest/config-bisect.pl | 318 | # It returns B's config values, but you can use A to see what A was. | COMMENT |
| MEDIUM | tools/perf/perf-archive.sh | 100 | # buildids file, you can use the following command: | COMMENT |
| LOW | tools/perf/trace/beauty/include/uapi/sound/asound.h | 103 | /* Don't forget to change the following: */ | COMMENT |
| LOW | tools/perf/trace/beauty/include/uapi/sound/asound.h | 155 | /* Don't forget to change the following: */ | COMMENT |
| LOW | tools/perf/trace/beauty/include/uapi/sound/asound.h | 162 | /* Don't forget to change the following: */ | COMMENT |
| LOW | net/mac80211/mlme.c | 8256 | * element (which carries the beacon interval). Don't forget to add a | COMMENT |
| LOW | drivers/misc/lattice-ecp3-config.c | 179 | * Don't forget to release the firmware again | COMMENT |
| MEDIUM | drivers/mmc/host/usdhi6rol0.c | 1845 | /* Set .max_segs to some random number. Feel free to adjust. */ | COMMENT |
| LOW | drivers/video/fbdev/macmodes.c | 29 | * Order IS important! If you change these, don't forget to update | COMMENT |
| LOW | drivers/gpu/drm/vc4/vc4_drv.h | 34 | /* Don't forget to update vc4_bo.c: bo_type_names[] when adding to | COMMENT |
| MEDIUM | drivers/gpu/drm/i915/i915_perf.c | 2812 | * feature it's worth noting that clock ratio reports have to be | COMMENT |
| LOW | drivers/net/plip/plip.c | 563 | * so don't forget to remove it. | COMMENT |
| LOW | drivers/net/ethernet/xircom/xirc2ps_cs.c | 1076 | * Note: don't forget to change the ALLOC_SKB to .. +3 | COMMENT |
| LOW | drivers/net/ethernet/toshiba/tc35815.c | 1238 | /* Reset the hardware here. Don't forget to set the station address. */ | COMMENT |
| LOW | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3859 | (don't forget to mark the last one as last, | CODE |
| LOW | drivers/net/wireless/ath/ath10k/mac.c | 9980 | * Allow software encryption for all chips. Don't forget to | COMMENT |
| LOW | drivers/platform/surface/surface_gpe.c | 51 | * Note: When changing this, don't forget to check that the MODULE_ALIAS below | COMMENT |
| LOW | drivers/usb/storage/unusual_uas.h | 28 | * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org> | COMMENT |
| LOW | drivers/usb/dwc2/hcd.c | 4009 | * Return: a pointer to a struct dwc2_tt. Don't forget to call | COMMENT |
| LOW | drivers/dma/sun4i-dma.c | 983 | * may still trigger, so don't forget to disable them. | COMMENT |
| LOW | drivers/edac/amd64_edac.c | 766 | pr_notice_once("Don't forget to decrease MCE polling interval in\n" | CODE |
| MEDIUM | drivers/media/pci/cx23885/cx23885-cards.c | 1939 | /* For documentation purposes, it's worth noting that this | COMMENT |
| LOW | include/uapi/drm/drm_mode.h | 72 | * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAX | COMMENT |
| LOW | include/uapi/sound/asound.h | 104 | /* Don't forget to change the following: */ | COMMENT |
| LOW | include/uapi/sound/asound.h | 156 | /* Don't forget to change the following: */ | COMMENT |
| LOW | include/uapi/sound/asound.h | 163 | /* Don't forget to change the following: */ | COMMENT |
| LOW | include/linux/hmm.h | 45 | * don't forget to update HMM_PFN_INOUT_FLAGS | COMMENT |
| LOW | include/linux/gfp_types.h | 22 | * In case of changes, please don't forget to update | COMMENT |
| LOW | include/linux/init.h | 38 | * Don't forget to initialize data not at file scope, i.e. within a function, | COMMENT |
| LOW | include/linux/ipmi.h | 326 | * Base device for the interface. Don't forget to put this when | COMMENT |
| LOW | include/sound/core.h | 348 | * But, don't forget to clear to NULL at successful return for avoiding | COMMENT |
| LOW | include/sound/pcm.h | 109 | /* If you change this don't forget to change rates[] table in pcm_native.c */ | COMMENT |
| LOW | arch/m68k/include/asm/mac_via.h | 19 | * instead (and don't forget to check rbv_present when using via2!) | COMMENT |
| LOW | arch/um/include/shared/init.h | 33 | * Don't forget to initialize data not at file scope, i.e. within a function, | COMMENT |
| LOW | arch/x86/include/asm/perf_event_p4.h | 107 | * with a special bit. (Don't forget to check | COMMENT |
| MEDIUM | arch/x86/kernel/cpu/amd.c | 259 | * bit. It's worth noting that the A5 stepping (662) of some | COMMENT |
| LOW | arch/arm64/kvm/nested.c | 847 | /* Make sure we don't forget to do the laundry */ | COMMENT |
| LOW | mm/memcontrol.c | 2844 | * Don't forget to raise a MEMCG_MAX event for forced or rejected | COMMENT |
| LOW | mm/memcontrol.c | 5074 | * Note: don't forget to update the 'samples/cgroup/memcg_event_listener' | COMMENT |
| LOW | fs/xfs/libxfs/xfs_format.h | 282 | * NOTE: Don't forget to update secondary_sb_whack in xfs_repair when | COMMENT |
| LOW | fs/proc/task_mmu.c | 1082 | * Don't forget to update Documentation/ on changes. | COMMENT |
| LOW | fs/btrfs/relocation.c | 1993 | /* Don't forget to queue this reloc root for cleanup */ | COMMENT |
| LOW | fs/btrfs/inode.c | 669 | * Don't forget to free the reserved space, as for inlined extent | COMMENT |
| LOW | fs/btrfs/fs.h | 247 | * Note: don't forget to add new options to btrfs_show_options() | COMMENT |
| LOW | fs/ubifs/tnc.c | 3093 | * Don't forget to update clean znode count after | COMMENT |
| LOW | fs/ntfs3/attrib.c | 911 | /* Don't forget to update duplicate information in parent. */ | COMMENT |
| LOW | fs/ext4/super.c | 4467 | /* don't forget to enable journal_csum when metadata_csum is enabled. */ | COMMENT |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Documentation/sphinx/maintainers_include.py | 43 | const cellText = (tds[j].textContent || tds[j].innerText); | CODE |
| HIGH | tools/power/pm-graph/sleepgraph.py | 5189 | if((cpu >= 0 && dname.match("CPU_O[NF]*\\[*"+cpu+"\\]")) || | CODE |
| HIGH | tools/power/pm-graph/sleepgraph.py | 5226 | if(total[1] > 0 && total[2] > 0) | CODE |
| HIGH | tools/power/pm-graph/sleepgraph.py | 5251 | if((cpu >= 0 && dname.match("CPU_O[NF]*\\[*"+cpu+"\\]")) || | CODE |
| HIGH | tools/power/pm-graph/sleepgraph.py | 5406 | } else if(i > idx1 && i <= idx2) { | CODE |
| HIGH | tools/power/pm-graph/sleepgraph.py | 5434 | document.onmousemove = null; | CODE |
| HIGH | tools/power/pm-graph/sleepgraph.py | 5438 | if(c != 42 && c != 43 && c != 45) return; | CODE |
| HIGH⚡ | tools/crypto/tcrypt/tcrypt_speed_compare.py | 31 | lsmod | grep pcrypt && modprobe -r pcrypt | STRING |
| HIGH⚡ | tools/crypto/tcrypt/tcrypt_speed_compare.py | 38 | lsmod | grep pcrypt && modprobe -r pcrypt | STRING |
| HIGH⚡ | tools/crypto/tcrypt/tcrypt_speed_compare.py | 43 | lsmod | grep pcrypt && modprobe -r pcrypt | STRING |
| HIGH | tools/testing/selftests/drivers/net/hw/tso.py | 151 | listen_cmd = f"socat -{ipver} -t 2 -u TCP-LISTEN:{listen_opts} /dev/null,ignoreeof" | CODE |
| HIGH | tools/testing/selftests/drivers/net/hw/tso.py | 214 | listen_cmd = f"socat -{ipver} -t 2 -u TCP-LISTEN:{listen_opts} /dev/null,ignoreeof" | CODE |
| HIGH | tools/testing/selftests/turbostat/smi_aperf_mperf.py | 9 | # Calling it with None (null), we get handle to the our own image (python interpreter). | COMMENT |
| HIGH | tools/perf/pmu-events/jevents.py | 994 | \t\tif (!pe.name && name) { | CODE |
| HIGH | tools/perf/pmu-events/jevents.py | 1119 | \t\tif (!pm.metric_name && metric) { | CODE |
| HIGH | tools/perf/pmu-events/jevents.py | 1196 | \tif (has_last_result && last_result.cpu.cpu == cpu.cpu) | CODE |
| HIGH | tools/perf/tests/shell/lib/perf_metric_validation.py | 375 | if "metric-unit" in result and result["metric-unit"] != "(null)" and result["metric-unit"] != "": | CODE |
| HIGH | scripts/checkkconfigsymbols.py | 179 | undefined, defined = check_symbols(args.ignore) | CODE |
| HIGH | scripts/checkkconfigsymbols.py | 182 | for symbol in sorted(undefined): | CODE |
| HIGH | scripts/checkkconfigsymbols.py | 373 | return undefined, defined_symbols | CODE |
| HIGH | scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py | 64 | cmd = r"""{ printf 'static char tomoyo_builtin_profile[] __initdata =\n'; sed -e 's/\\/\\\\/g' -e 's/\"/\\"/g' | CODE |
| HIGH | scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py | 69 | cmd = """(echo "static char tomoyo_builtin_profile[] __initdata ="; ./scripts/bin2c </dev/null; echo ";"; echo " | CODE |
| HIGH | scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py | 184 | cmd = """ld -o arch/x86/entry/vdso/vdso64.so.dbg -shared --hash-style=both --build-id=sha1 --eh-frame-hdr -Bsym | CODE |
| HIGH | scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py | 251 | cmd = """OBJTREE=/workspace/linux/kernel_build rustc -Zbinary_dep_depinfo=y -Astable_features -Dnon_ascii_idents | CODE |
| HIGH | scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py | 462 | cmd = "mkdir -p drivers/gpu/drm/msm/generated && python3 ../drivers/gpu/drm/msm/registers/gen_header.py --no-val | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Documentation/sphinx/kerneldoc.py | 142 | # FIXME: make this nicer and more robust against errors | COMMENT |
| MEDIUM | tools/tracing/rtla/tests/engine.sh | 4 | # Count tests to allow the test harness to double-check if all were | COMMENT |
| LOW | tools/testing/selftests/net/ipvtap_test.sh | 88 | # If just add/remove IP, nothing interesting will happen. | COMMENT |
| LOW | tools/testing/selftests/net/forwarding/lib.sh | 29 | : "${PING6:=ping6}" # Some distros just use ping. | CODE |
| MEDIUM | tools/testing/selftests/net/hsr/link_faults.sh | 251 | # with access to global variables from the test harness. | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 726 | # utilize context from ntuple filter | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 766 | # utilize context from ntuple filter | COMMENT |
| LOW | tools/testing/selftests/zram/zram02.sh | 26 | # memparse() which supports mem suffixes. So here we just use | COMMENT |
| LOW | tools/testing/selftests/zram/zram01.sh | 27 | # memparse() which supports mem suffixes. So here we just use | COMMENT |
| MEDIUM | tools/testing/selftests/mm/ksft_kmemleak_dedup.sh | 84 | # robust to that, or this test should be excluded from the run. | COMMENT |
| MEDIUM | tools/verification/tests/engine.sh | 4 | # Count tests to allow the test harness to double-check if all were | COMMENT |
| MEDIUM | tools/arch/sparc/include/asm/barrier_64.h | 8 | * #51. Essentially, if a memory barrier occurs soon after a mispredicted | COMMENT |
| LOW | tools/lib/python/kdoc/c_lex.py | 207 | # While we could just use _tokenize directly via interator, | COMMENT |
| MEDIUM | tools/perf/python/task-analyzer.py | 3 | # task-analyzer.py - comprehensive perf tasks analysis | COMMENT |
| MEDIUM | tools/objtool/tests/run-tests.sh | 12 | # The harness checks the environment once up front and fails the run if the | COMMENT |
| MEDIUM | tools/objtool/tests/run-tests.sh | 75 | # Sourcing the harness runs its preflight, which decides which architecture | COMMENT |
| MEDIUM | tools/objtool/tests/lib.sh | 536 | # Only $CC (or an explicit THIN_CC override) is consulted -- the harness does | COMMENT |
| LOW | drivers/gpu/drm/ci/gitlab-ci.yml | 188 | # changed, else we'll just use the already-built containers | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c | 197 | // we want to turn off edp displays if odm is enabled and no seamless boot | COMMENT |
| MEDIUM | …vers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 2140 | // Check seamless boot support | COMMENT |
| MEDIUM | …vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c | 135 | // seamless boot is enabled or not to suppress global sync | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 229 | // we want to turn off edp displays if odm is enabled and no seamless boot | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 733 | // seamless boot is enabled or not to suppress global sync | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 1711 | // seamless boot is enabled or not to suppress global sync | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/core/dc.c | 2092 | // or not necessary for seamless boot validation. | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c | 740 | // The DML spreadsheet assumes that the two cursors utilize the same amount of bandwidth. We'll | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 2074 | // check for seamless boot | COMMENT |
| MEDIUM | drivers/gpu/nova-core/driver.rs | 60 | // Probe the `IORESOURCE_MEM_64` flag of BAR0 as a robust way of exposing | COMMENT |
| MEDIUM | drivers/gpu/nova-core/gsp/cmdq.rs | 931 | /// An OS error or robust-channel record is logged at error level and an unknown function code | COMMENT |
| MEDIUM | drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h | 251 | #define NFP_NET_BPF_CAP_RELO (1 << 0) /* seamless reload */ | COMMENT |
| MEDIUM | drivers/usb/gadget/udc/pxa25x_udc.c | 625 | // TODO experiment: how robust can fifo mode tweaking be? | COMMENT |
| LOW | include/sound/emu10k1.h | 873 | #define A_SPDIF_RATE_MASK 0x000000e0 /* Any other values for rates, just use 48000 */ | COMMENT |
| MEDIUM | rust/pin-init/src/__internal.rs | 68 | /// This trait is only implemented via the `#[pin_data]` proc-macro. It is used to facilitate | COMMENT |
| MEDIUM | rust/zerocopy/src/layout.rs | 1195 | // We use Kani to prove that this method is robust to future increases | COMMENT |
| MEDIUM | rust/kernel/build_assert.rs | 11 | //! the list are more robust and trigger earlier in the compilation pipeline. Therefore, you should | COMMENT |
| MEDIUM | rust/kernel/devres.rs | 149 | // leverage `bindgen` to take care of this depending on whether a symbol is (already) exported. | COMMENT |
| MEDIUM | rust/kernel/dma_buf/dma_fence.rs | 508 | // To be as robust as possible for the future we guarantee that an API | COMMENT |
| LOW | samples/pktgen/functions.sh | 122 | # Trick so, program can be run as normal user, will just use "sudo" | COMMENT |
| MEDIUM | arch/sparc/include/asm/barrier_64.h | 6 | * #51. Essentially, if a memory barrier occurs soon after a mispredicted | COMMENT |
| LOW | scripts/check_extable.sh | 26 | # __ex_table relocation to your new section is expected), simply add your | COMMENT |
| MEDIUM | scripts/dtc/update-dtc-source.sh | 21 | # aren't a big deal. If anyone is interested in making it more robust, the | COMMENT |
| MEDIUM | lib/crypto/mips/poly1305-mips.pl | 45 | # The return value is placed in $a0. Following coding rules facilitate | COMMENT |
| MEDIUM | fs/affs/amigaffs.h | 146 | #define FIBF_OWNER 0x000F /* Bits pertaining to owner */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/testing/selftests/tty/tty_tiocsti_test.c | 254 | char dummy_data = 'F'; | CODE |
| LOW | tools/testing/selftests/tty/tty_tiocsti_test.c | 255 | struct iovec iov = { .iov_base = &dummy_data, .iov_len = 1 }; | CODE |
| LOW | tools/testing/selftests/tty/tty_tiocsti_test.c | 278 | char dummy_data; | CODE |
| LOW | tools/testing/selftests/tty/tty_tiocsti_test.c | 279 | struct iovec iov = { .iov_base = &dummy_data, .iov_len = 1 }; | CODE |
| LOW | tools/testing/selftests/bpf/uptr_test_common.h | 14 | struct user_data *dummy_data; | CODE |
| LOW | tools/testing/selftests/bpf/prog_tests/snprintf_btf.c | 122 | "placeholder"); | CODE |
| LOW | …esting/selftests/bpf/prog_tests/test_task_local_data.c | 170 | snprintf(dummy_key_name, TLD_NAME_LEN, "dummy_value%d", i); | CODE |
| LOW | …esting/selftests/filesystems/epoll/epoll_wakeup_test.c | 3525 | int64_t dummy_data = 99; | CODE |
| LOW | …esting/selftests/filesystems/epoll/epoll_wakeup_test.c | 3539 | write(ctx.efd[1], &dummy_data, sizeof(dummy_data)); | CODE |
| LOW | net/sched/cls_flower.c | 106 | struct fl_flow_key dummy_key; | CODE |
| LOW | net/sched/cls_flower.c | 2818 | cls_flower.rule->match.key = &tmplt->dummy_key; | CODE |
| LOW | net/sched/cls_flower.c | 2868 | err = fl_set_key(net, tca_opts, tb, &tmplt->dummy_key, | CODE |
| LOW | net/sched/cls_flower.c | 2913 | cls_flower.rule->match.key = &tmplt->dummy_key; | CODE |
| LOW | net/sched/cls_flower.c | 3836 | key = &tmplt->dummy_key; | CODE |
| LOW | drivers/pci/slot.c | 262 | * and bb is the bus number. In other words, the devfn of the 'placeholder' | COMMENT |
| LOW | drivers/net/macsec.c | 4359 | char dummy_key[DEFAULT_SAK_LEN] = { 0 }; | CODE |
| LOW | drivers/net/macsec.c | 4362 | dummy_tfm = macsec_alloc_tfm(dummy_key, | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 84 | void *dummy_data; | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 86 | dummy_data = kmalloc(NSIM_DEV_DUMMY_REGION_SIZE, GFP_KERNEL); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 87 | if (!dummy_data) | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 90 | get_random_bytes(dummy_data, NSIM_DEV_DUMMY_REGION_SIZE); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 92 | *data = dummy_data; | COMMENT |
| LOW⚡ | drivers/net/netdevsim/dev.c | 103 | u8 *dummy_data; | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 109 | err = nsim_dev_take_snapshot(devlink, NULL, NULL, &dummy_data); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 116 | kfree(dummy_data); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 120 | dummy_data, id); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 124 | kfree(dummy_data); | CODE |
| LOW | drivers/i2c/i2c-core-base.c | 1111 | static const struct i2c_device_id dummy_id[] = { | CODE |
| LOW | drivers/i2c/i2c-core-base.c | 1125 | .id_table = dummy_id, | CODE |
| LOW⚡ | drivers/spi/spi-stm32-qspi.c | 584 | dev_dbg(qspi->dev, "tx_buf:%p tx_nbits:%d rx_buf:%p rx_nbits:%d len:%d dummy_data:%d\n", | CODE |
| LOW⚡ | drivers/spi/spi-stm32-qspi.c | 587 | transfer->len, transfer->dummy_data); | CODE |
| LOW⚡ | drivers/spi/spi-stm32-qspi.c | 594 | if (transfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-mem.c | 491 | xfers[xferpos].dummy_data = 1; | CODE |
| LOW⚡ | drivers/spi/spi-stm32-ospi.c | 682 | dev_dbg(ospi->dev, "tx_buf:%p tx_nbits:%d rx_buf:%p rx_nbits:%d len:%d dummy_data:%d\n", | CODE |
| LOW⚡ | drivers/spi/spi-stm32-ospi.c | 685 | transfer->len, transfer->dummy_data); | CODE |
| LOW⚡ | drivers/spi/spi-stm32-ospi.c | 692 | if (transfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-tegra210-quad.c | 1435 | if (xfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-tegra210-quad.c | 1564 | if (next_xfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-tegra210-quad.c | 1669 | if (xfer->dummy_data != 1) | CODE |
| LOW | drivers/mtd/chips/map_absent.c | 3 | * Common code to handle absent "placeholder" devices | COMMENT |
| LOW | drivers/mtd/chips/map_absent.c | 6 | * This map driver is used to allocate "placeholder" MTD | COMMENT |
| LOW | drivers/mfd/ocelot-spi.c | 159 | xfers[index].dummy_data = 1; | CODE |
| LOW | include/linux/spi/spi.h | 1021 | * @dummy_data: indicates transfer is dummy bytes transfer. | COMMENT |
| LOW | include/linux/spi/spi.h | 1147 | unsigned dummy_data:1; | CODE |
| LOW | rust/kernel/dma_buf/dma_fence.rs | 689 | /// let fence_data = FenceData { data: c"dummy_data".try_into()? }; | COMMENT |
| LOW⚡ | arch/x86/kernel/umip.c | 261 | unsigned long dummy_value; | CODE |
| LOW⚡ | arch/x86/kernel/umip.c | 264 | dummy_value = CR0_STATE; | CODE |
| LOW⚡ | arch/x86/kernel/umip.c | 266 | dummy_value = GDT_ENTRY_TSS * 8; | CODE |
| LOW⚡ | arch/x86/kernel/umip.c | 271 | dummy_value = GDT_ENTRY_LDT * 8; | CODE |
| LOW⚡ | arch/x86/kernel/umip.c | 273 | dummy_value = 0; | CODE |
| LOW⚡ | arch/x86/kernel/umip.c | 276 | dummy_value = 0; | CODE |
| LOW | arch/x86/kernel/umip.c | 293 | memcpy(data, &dummy_value, *data_size); | CODE |
| LOW | arch/x86/kernel/umip.c | 351 | unsigned char dummy_data[10] = { 0 }; | CODE |
| LOW | arch/x86/kernel/umip.c | 383 | if (emulate_umip_insn(&insn, umip_inst, dummy_data, &dummy_data_size, | CODE |
| LOW | arch/x86/kernel/umip.c | 405 | memcpy(reg_addr, dummy_data, dummy_data_size); | CODE |
| LOW | arch/x86/kernel/umip.c | 411 | nr_copied = copy_to_user(uaddr, dummy_data, dummy_data_size); | CODE |
| LOW | mm/hugetlb.c | 885 | * may be a "placeholder" entry in the map which is of the form | COMMENT |
| LOW | fs/ecryptfs/crypto.c | 1428 | char dummy_key[ECRYPTFS_MAX_KEY_BYTES]; | CODE |
| LOW | fs/ecryptfs/crypto.c | 1453 | get_random_bytes(dummy_key, *key_size); | CODE |
| LOW | fs/ecryptfs/crypto.c | 1454 | rc = crypto_skcipher_setkey(*key_tfm, dummy_key, *key_size); | CODE |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/sphinx/kernel_include.py | 105 | logger = logging.getLogger(__name__) | CODE |
| LOW | Documentation/sphinx/parser_yaml.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | Documentation/sphinx/kerneldoc.py | 57 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/net/sunrpc/xdrgen/xdr_parse.py | 44 | def set_xdr_annotate(set_it: bool) -> None: | CODE |
| LOW | tools/net/sunrpc/xdrgen/xdr_parse.py | 55 | def set_xdr_enum_validation(set_it: bool) -> None: | CODE |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 13 | __all__ = ["SpecAttr", "SpecAttrSet", "SpecEnumEntry", "SpecEnumSet", | CODE |
| LOW | tools/testing/selftests/net/lib/py/ynl.py | 30 | __all__ = [ | CODE |
| LOW | tools/testing/selftests/net/lib/py/__init__.py | 23 | __all__ = ["KSRC", | CODE |
| LOW | tools/testing/selftests/drivers/net/shaper.py | 76 | def set_qshapers(cfg, nl_shaper) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/shaper.py | 139 | def set_nshapers(cfg, nl_shaper) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/shaper.py | 171 | def set_all_supported_attrs(cfg, nl_shaper) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/shaper.py | 611 | def set_node_shaper(cfg, nl_shaper) -> None: | STRING |
| LOW⚡ | tools/testing/selftests/drivers/net/napi_threaded.py | 26 | def _set_threaded_state(cfg, threaded) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/napi_threaded.py | 31 | def _setup_deferred_cleanup(cfg) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/hds.py | 94 | def set_hds_enable(cfg, netnl) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/hds.py | 112 | def set_hds_disable(cfg, netnl) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/hds.py | 130 | def set_hds_thresh_zero(cfg, netnl) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/hds.py | 148 | def set_hds_thresh_random(cfg, netnl) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/hds.py | 179 | def set_hds_thresh_max(cfg, netnl) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/hds.py | 197 | def set_hds_thresh_gt(cfg, netnl) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/hds.py | 213 | def set_xdp(cfg, netnl) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/ping.py | 63 | def _set_offload_checksum(cfg, netnl, on) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/ping.py | 69 | def _set_xdp_generic_sb_on(cfg) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/ping.py | 78 | def _set_xdp_generic_mb_on(cfg) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/ping.py | 88 | def _set_xdp_native_sb_on(cfg) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/ping.py | 105 | def _set_xdp_native_mb_on(cfg) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/ping.py | 118 | def _set_xdp_offload_on(cfg) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/ping.py | 142 | def set_interface_init(cfg) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 244 | def set_comm(self, comm: Optional[str]) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 553 | def update_comms(self) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 1084 | def update_size(self) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 1097 | def set_rows(self, rows: List[Row]) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 1127 | def set_window(self, window: TimeWindow) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 1433 | def update_legends(self) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 1494 | def update_progress(self, data: TimechartData) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 1554 | def update_views(self) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 1587 | def update_summary(self) -> None: | CODE |
| LOW | tools/perf/python/ttimechart.py | 1639 | def update_details(self) -> None: | CODE |
| LOW | tools/perf/python/treport.py | 633 | def update_views(self) -> None: | CODE |
| LOW | tools/perf/python/treport.py | 667 | def update_progress(self, profile: "ProfileBuilder") -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 255 | def set_searched_tree_node(self, previous: bool) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 285 | def set_initial_focus(event: str | None) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 343 | def update_counts(self) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 388 | def set_selected(self, value: TreeValue) -> None: | CODE |
| LOW | tools/perf/python/task-analyzer.py | 97 | def update_max_entries(self) -> None: | CODE |
| LOW | tools/perf/python/task-analyzer.py | 142 | def update_pid(self, pid: int) -> None: | CODE |
| LOW | scripts/sbom/sbom/spdx_graph/__init__.py | 7 | __all__ = ["build_spdx_graphs", "SpdxIdGeneratorCollection"] | CODE |
| LOW | scripts/sbom/sbom/spdx/__init__.py | 7 | __all__ = ["JsonLdSpdxDocument", "SpdxId", "SpdxIdGenerator"] | CODE |
| LOW | scripts/sbom/sbom/cmd_graph/__init__.py | 7 | __all__ = ["CmdGraph", "CmdGraphNode", "CmdGraphNodeConfig"] | CODE |
| LOW | scripts/sbom/sbom/cmd_graph/savedcmd_parser/__init__.py | 6 | __all__ = ["parse_inputs_from_commands"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/net/ynl/lib/ynl-priv.h | 112 | /* YNL specific helpers used by the auto-generated code */ | COMMENT |
| HIGH | tools/net/ynl/lib/ynl.c | 937 | /* YNL specific helpers used by the auto-generated code */ | COMMENT |
| HIGH | tools/include/uapi/linux/netlink.h | 59 | #define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */ | COMMENT |
| HIGH | tools/time/udelay_test.sh | 8 | # at least as long as requested (as compared to ktime). | COMMENT |
| HIGH | drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0_2_pptable.h | 169 | PPTable_t smc_pptable; // PPTable_t in driver_if.h -- as requested by PMFW, this offset sho | CODE |
| HIGH | include/uapi/linux/netlink.h | 67 | #define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */ | COMMENT |
| HIGH | rust/zerocopy/src/lib.rs | 7429 | // preserving the count as requested by the user is the behavior that we | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/testing/selftests/net/ioam6.sh | 111 | # WARNING: Be careful if you modify the block below - it MUST be kept # | COMMENT |
| LOW | …vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c | 203 | // Step 1: To find out which OPTC is running & OPTC DSC is ON | COMMENT |
| LOW | …vers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_hwseq.c | 225 | // Step 2: To power down DSC but skip DSC of running OPTC | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 802 | // Step 1: To find out which OPTC is running & OPTC DSC is ON | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 823 | // Step 2: To power down DSC but skip DSC of running OPTC | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 1781 | // Step 1: To find out which OPTC is running & OPTC DSC is ON | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 1803 | // Step 2: To power down DSC but skip DSC of running OPTC | COMMENT |
| LOW⚡ | …gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c | 965 | // Step 1: Assign global mcache IDs for each plane | COMMENT |
| LOW⚡ | …gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c | 968 | // Step 2: Build the mcache pipe configuration | COMMENT |
| LOW | drivers/firewire/ohci.c | 2674 | // NOTE: This function relies on this value, thus it is not thread-safe. | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 537 | # Step 3: Compile the file that holds the list of call sites to mcount. | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 544 | # Step 4: Do we have sections that started with local functions? | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 559 | # Step 5: set up each local function as a global | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 564 | # Step 6: Link the global version to our list. | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 569 | # Step 7: Convert the local functions back into local symbols | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 581 | # Step 8: Link the object with our list of call sites object. | COMMENT |
| LOW⚡ | scripts/recordmcount.pl | 586 | # Step 9: Move the result back to the original object. | COMMENT |
| LOW | scripts/recordmcount.pl | 395 | # Step 1: find all the local (static functions) and weak symbols. | COMMENT |
| LOW | scripts/recordmcount.pl | 448 | # Step 2: find the sections and mcount call sites | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/net/sunrpc/xdrgen/subcmds/definitions.py | 0 | translate an xdr specification into executable code that can be compiled for the linux kernel. | STRING |
| HIGH | tools/net/sunrpc/xdrgen/subcmds/source.py | 0 | translate an xdr specification into executable code that can be compiled for the linux kernel. | STRING |
| HIGH | tools/net/sunrpc/xdrgen/subcmds/declarations.py | 0 | translate an xdr specification into executable code that can be compiled for the linux kernel. | STRING |
| HIGH | tools/net/sunrpc/xdrgen/subcmds/lint.py | 0 | translate an xdr specification into executable code that can be compiled for the linux kernel. | STRING |
| HIGH | tools/docs/get_abi.py | 0 | parse abi documentation and produce results from it. | STRING |
| HIGH | tools/lib/python/abi/abi_parser.py | 0 | parse abi documentation and produce results from it. | STRING |
| HIGH | tools/lib/python/abi/system_symbols.py | 0 | parse abi documentation and produce results from it. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/arch/s390/config3270.sh | 5 | # Usage: | COMMENT |
| LOW | tools/net/sunrpc/extract.sh | 7 | # Usage: | COMMENT |
| LOW | tools/memory-model/scripts/simpletest.sh | 7 | # Usage: | COMMENT |
| LOW | tools/memory-model/scripts/checklitmus.sh | 7 | # Usage: | COMMENT |
| LOW | tools/memory-model/scripts/checkalllitmus.sh | 16 | # Usage: | COMMENT |
| LOW | tools/memory-model/scripts/hwfnseg.sh | 8 | # Usage: | COMMENT |
| LOW | tools/memory-model/scripts/runlitmus.sh | 15 | # Usage: | COMMENT |
| LOW | tools/memory-model/scripts/judgelitmus.sh | 21 | # Usage: | COMMENT |
| LOW | tools/memory-model/scripts/checktheselitmus.sh | 7 | # Usage: | COMMENT |
| LOW | tools/testing/selftests/rcutorture/bin/torture.sh | 336 | # Usage: | COMMENT |
| LOW | tools/testing/selftests/rcutorture/bin/torture.sh | 373 | # Usage: | COMMENT |
| LOW | tools/testing/selftests/bpf/gen_bpf_skel.sh | 7 | # Usage: | COMMENT |
| LOW | tools/perf/python/task-analyzer.py | 7 | # Usage: | COMMENT |
| LOW | drivers/tty/vt/gen_ucs_fallback_table.py | 9 | # Usage: | COMMENT |
| LOW | drivers/tty/vt/gen_ucs_recompose_table.py | 9 | # Usage: | COMMENT |
| LOW | scripts/checkstack.pl | 20 | # Usage: | COMMENT |
| LOW | scripts/checksyscalls.sh | 9 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/power/pm-graph/sleepgraph.py | 4326 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 659 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 993 | CODE | |
| LOW | tools/cgroup/iocost_monitor.py | 193 | CODE | |
| LOW | tools/cgroup/iocost_monitor.py | 206 | CODE | |
| LOW | tools/docs/checktransupdate.py | 115 | CODE | |
| LOW | tools/docs/test_doc_build.py | 276 | CODE | |
| LOW | tools/testing/selftests/net/bpf_offload.py | 463 | CODE | |
| LOW | tools/testing/selftests/net/bpf_offload.py | 518 | CODE | |
| LOW | tools/testing/selftests/net/bpf_offload.py | 534 | CODE | |
| LOW | tools/testing/selftests/net/lib/py/utils.py | 46 | CODE | |
| LOW | tools/testing/selftests/net/lib/py/utils.py | 180 | CODE | |
| LOW | tools/testing/selftests/drivers/sdsi/sdsi_test.py | 51 | CODE | |
| LOW | tools/testing/selftests/tc-testing/tdc.py | 296 | CODE | |
| LOW | tools/testing/selftests/exec/binfmt_script.py | 45 | CODE | |
| LOW | tools/testing/selftests/hid/tests/test_wacom_generic.py | 310 | CODE | |
| LOW | tools/testing/selftests/damon/_damon_sysfs.py | 142 | CODE | |
| LOW | tools/testing/selftests/damon/_damon_sysfs.py | 268 | CODE | |
| LOW | tools/testing/selftests/damon/_damon_sysfs.py | 433 | CODE | |
| LOW | tools/writeback/wb_monitor.py | 78 | CODE | |
| LOW | tools/lib/python/kdoc/kdoc_files.py | 232 | CODE | |
| LOW | tools/lib/python/kdoc/kdoc_files.py | 329 | CODE | |
| LOW | tools/perf/pmu-events/metric.py | 454 | CODE | |
| LOW | tools/perf/tests/shell/lib/perf_metric_validation.py | 601 | CODE | |
| LOW | tools/perf/tests/shell/lib/perf_metric_validation.py | 38 | CODE | |
| LOW | scripts/gdb/linux/slab.py | 97 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ls/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh | 11 | # In this example, hosts hs-1 and hs-2 are connected through an IPv4/IPv6 VPN | COMMENT |
| HIGH | …/testing/selftests/net/srv6_hl2encap_red_l2vpn_test.sh | 10 | # In this example, hosts hs-1 and hs-2 are connected through an L2 VPN service. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/testing/selftests/drivers/net/xdp.py | 132 | Retrieves and formats statistics from an XDP map. Args: xdp_map_id: The ID of the XDP map from which t | STRING |
| HIGH | scripts/clang-tools/gen_compile_commands.py | 153 | Extracts information from a .cmd line and creates an entry from it. Args: root_directory: The directory tha | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | drivers/gpu/drm/amd/display/dc/mpc/dcn32/dcn32_mpc.c | 892 | // TODO: implement movable CM location | COMMENT |
| LOW | drivers/net/wireless/broadcom/b43/phy_g.c | 3007 | //TODO: implement rev1 workaround | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/unittests/test_cmatch.py | 398 | CODE |