Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
This report presents the forensic synthetic code analysis of raspberrypi/linux, a C project with 13,000 GitHub stars. SynthScan v2.0 examined 33,558,898 lines of code across 71251 source files, recording 129471 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 3.2 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 129471 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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/do_mounts_initrd.c | 1 | // SPDX-License-Identifier: GPL-2.0 | COMMENT |
| LOW | init/initramfs.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 | 201 | #endif | COMMENT |
| LOW | init/main.c | 21 | #include <linux/kernel.h> | COMMENT |
| LOW | init/main.c | 41 | #include <linux/start_kernel.h> | COMMENT |
| LOW | init/main.c | 61 | #include <linux/unistd.h> | COMMENT |
| LOW | init/main.c | 81 | #include <linux/shmem_fs.h> | COMMENT |
| LOW | init/main.c | 101 | #include <linux/init_syscalls.h> | COMMENT |
| LOW | init/do_mounts.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 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/aegis128-neon-inner.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/ansi_cprng.c | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | 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/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 | 261 | # The master toctree document. | COMMENT |
| LOW | Documentation/conf.py | 321 | # for a list of supported languages. | COMMENT |
| LOW | Documentation/conf.py | 341 | # unit titles (such as .. function::). | COMMENT |
| LOW | Documentation/conf.py | 501 | # The name of an image file (relative to this directory) to place at the top of | COMMENT |
| 127620 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Documentation/conf.py | 57 | # ------------------------------------------------- | COMMENT |
| MEDIUM | Documentation/conf.py | 586 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | Documentation/conf.py | 589 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | Documentation/sphinx/kernel_include.py | 82 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 84 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 112 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 388 | # ============================================================================== | COMMENT |
| MEDIUM | Documentation/sphinx/kernel_include.py | 435 | # ============================================================================== | 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/load_config.py | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Documentation/sphinx/load_config.py | 11 | # ------------------------------------------------------------------------------ | 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 | 84 | # ========================== | COMMENT |
| MEDIUM | …on/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml | 172 | # -------------------- | 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 | 85 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71828-regulator.yaml | 87 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71828-regulator.yaml | 89 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 85 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 87 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 89 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 91 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71837-regulator.yaml | 93 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71847-regulator.yaml | 84 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71847-regulator.yaml | 86 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd71847-regulator.yaml | 88 | # ---------------------------------------------------------------- | 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 | 288 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 290 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 317 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 319 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 360 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 363 | # -------------------- | COMMENT |
| MEDIUM | …cumentation/devicetree/bindings/sound/simple-card.yaml | 385 | # -------------------- | COMMENT |
| 203 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/conf.py | 392 | CODE | |
| LOW | Documentation/sphinx/kernel_feat.py | 34 | CODE | |
| LOW | Documentation/sphinx/kernel_feat.py | 38 | CODE | |
| LOW | Documentation/sphinx/kernel_feat.py | 40 | CODE | |
| LOW | Documentation/sphinx/maintainers_include.py | 20 | CODE | |
| LOW | Documentation/sphinx/maintainers_include.py | 25 | 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 | 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 | 36 | CODE | |
| LOW | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 37 | 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/subcmds/declarations.py | 13 | CODE | |
| LOW | tools/net/sunrpc/xdrgen/subcmds/declarations.py | 24 | 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/lib/__init__.py | 3 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 3 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 3 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 3 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 3 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 3 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 3 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 3 | 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 | 7 | CODE | |
| LOW | tools/workqueue/wq_dump.py | 50 | CODE | |
| LOW | tools/workqueue/wq_monitor.py | 40 | 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 | |
| LOW | tools/cgroup/iocost_monitor.py | 16 | CODE | |
| LOW | tools/docs/gen-renames.py | 15 | CODE | |
| LOW | tools/docs/gen-renames.py | 16 | CODE | |
| LOW | tools/docs/gen-renames.py | 18 | CODE | |
| LOW | tools/testing/selftests/net/nl_netdev.py | 4 | CODE | |
| LOW | tools/testing/selftests/net/nl_netdev.py | 6 | CODE | |
| LOW | tools/testing/selftests/net/bpf_offload.py | 19 | CODE | |
| LOW | tools/testing/selftests/net/bpf_offload.py | 24 | CODE | |
| LOW | tools/testing/selftests/net/lib/py/ynl.py | 16 | CODE | |
| 329 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Documentation/conf.py | 277 | # The following code tries to extract the information by reading the Makefile, | 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 | 46 | # 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/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 | 746 | # Create a new dummy_10 to remove all associated routes. | COMMENT |
| MEDIUM | tools/testing/selftests/net/fib_tests.sh | 881 | # Create a pair of veth devices to send a RA message from one | COMMENT |
| MEDIUM | tools/testing/selftests/net/test_vxlan_mdb.sh | 2382 | # Create the MDB entries that will be continuously deleted / replaced. | COMMENT |
| MEDIUM | tools/testing/selftests/net/bareudp.sh | 127 | # Create the four network namespaces used by the script (NS0, NS1, NS2 and NS3) | COMMENT |
| MEDIUM | tools/testing/selftests/net/bareudp.sh | 362 | # Create the bareudp devices in the intermediate namespaces | 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/mptcp/diag.sh | 30 | # This function is used in the cleanup trap | COMMENT |
| MEDIUM | tools/testing/selftests/net/mptcp/simult_flows.sh | 37 | # 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 | 97 | # 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 | 73 | # 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 | 310 | # Create the nested node and validate the hierarchy | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/netcons_cmdline.sh | 35 | # Create the command line for netconsole, with the configuration from | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/netcons_basic.sh | 44 | # Create a dynamic target for netconsole | COMMENT |
| MEDIUM | …esting/selftests/drivers/net/netcons_fragmented_msg.sh | 90 | # Create a dynamic target for netconsole | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/netcons_overflow.sh | 61 | # Create a dynamic target for netconsole | COMMENT |
| MEDIUM⚡ | tools/testing/selftests/drivers/net/netcons_sysdata.sh | 221 | # Create a dynamic target for netconsole | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/netcons_torture.sh | 103 | # Create a dynamic target for netconsole | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 781 | # 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 | …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 |
| MEDIUM | …ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh | 131 | # Create a dynamic target | COMMENT |
| MEDIUM | tools/testing/selftests/sched/cs_prctl_test.c | 279 | printf("\n## Create a thread/process/process group hierarchy\n"); | CODE |
| MEDIUM | tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh | 21 | # Create a test cpuset, put a CPU and a task there and offline that CPU | COMMENT |
| MEDIUM | tools/testing/selftests/cgroup/test_cpuset_v1_base.sh | 34 | # Create a test cpuset, read write test | COMMENT |
| MEDIUM | tools/testing/selftests/rcutorture/bin/mktestid.sh | 4 | # Create a testid.txt file in the specified directory. | COMMENT |
| MEDIUM | …esting/selftests/rcutorture/bin/kvm-get-cpus-script.sh | 4 | # Create an awk script that takes as input numbers of CPUs and outputs | COMMENT |
| MEDIUM | tools/testing/selftests/rcutorture/bin/mkinitrd.sh | 4 | # Create an initrd directory if one does not already exist. | COMMENT |
| MEDIUM | tools/testing/selftests/rcutorture/bin/mkinitrd.sh | 22 | # Create a C-language initrd/init infinite-loop program and statically | COMMENT |
| MEDIUM | tools/testing/selftests/rcutorture/bin/kvm-remote.sh | 120 | # Create the kvm-remote-N.sh scripts in the bin directory. | COMMENT |
| MEDIUM | tools/testing/selftests/rcutorture/bin/kvm.sh | 299 | # Create a file of test-name/#cpus pairs, sorted by decreasing #cpus. | COMMENT |
| 28 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 | 100 | def plot_perf_busy_with_sample(cpu_index): | CODE |
| LOW | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 171 | def plot_pstate_cpu_with_sample(): | CODE |
| LOW | …s/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 288 | 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/generators/program.py | 33 | def emit_version_declarations( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 58 | def emit_version_argument_decoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 72 | def emit_version_result_decoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 86 | def emit_version_argument_encoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 100 | def emit_version_result_encoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/pointer.py | 25 | def emit_pointer_member_definition( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/pointer.py | 93 | def emit_pointer_member_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/pointer.py | 173 | def emit_pointer_member_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/struct.py | 25 | def emit_struct_member_definition( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/struct.py | 93 | def emit_struct_member_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/struct.py | 173 | def emit_struct_member_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 22 | def emit_union_switch_spec_definition( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 37 | def emit_union_case_spec_definition( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 71 | def emit_union_switch_spec_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 80 | def emit_union_case_spec_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 109 | def emit_union_default_spec_decoder(environment: Environment, node: _XdrUnion) -> None: | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 156 | def emit_union_switch_spec_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 165 | def emit_union_case_spec_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 192 | def emit_union_default_spec_encoder(environment: Environment, node: _XdrUnion) -> None: | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2309 | def parse_rsp_nested_prototype(ri, struct, suffix=';'): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2704 | def free_rsp_nested_prototype(ri): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2783 | def kernel_can_gen_family_struct(family): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2791 | def print_kernel_policy_ranges(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2820 | def print_kernel_policy_sparse_enum_validates(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2858 | def print_kernel_op_table_fwd(family, cw, terminate): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2925 | def print_kernel_op_table_hdr(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 3034 | def print_kernel_family_struct_hdr(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 3046 | def print_kernel_family_struct_src(family, cw): | CODE |
| LOW | tools/cgroup/iocost_coef_gen.py | 106 | def restore_elevator_nomerges(): | STRING |
| LOW | tools/docs/lib/enrich_formatter.py | 65 | def _format_action_invocation(self, action): | CODE |
| LOW | tools/testing/selftests/drivers/sdsi/sdsi_test.py | 65 | def test_sysfs_file_permissions(self, socket): | CODE |
| LOW | tools/testing/selftests/drivers/sdsi/sdsi_test.py | 78 | def test_sysfs_file_ownership(self, socket): | CODE |
| LOW | tools/testing/selftests/drivers/sdsi/sdsi_test.py | 167 | def test_enodev_when_pci_device_removed(self, socket): | CODE |
| LOW | tools/testing/selftests/drivers/net/psp.py | 262 | def assoc_sk_only_mismatch_tx(cfg): | CODE |
| LOW | tools/testing/selftests/drivers/net/netpoll_basic.py | 139 | def netcons_generate_random_target_name() -> str: | CODE |
| LOW | tools/testing/selftests/drivers/net/netpoll_basic.py | 282 | def do_netpoll_flush_monitored(cfg: NetDrvEpEnv, ifname: str, target_name: str) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/napi_threaded.py | 14 | def _assert_napi_threaded_enabled(nl, napi_id) -> None: | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/napi_threaded.py | 20 | def _assert_napi_threaded_disabled(nl, napi_id) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/napi_threaded.py | 70 | def enable_dev_threaded_disable_napi_threaded(cfg, nl) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/xdp.py | 432 | def _test_xdp_native_tail_adjst(cfg, pkt_sz_lst, offset_lst): | CODE |
| LOW | tools/testing/selftests/drivers/net/xdp.py | 498 | def test_xdp_native_adjst_tail_grow_data(cfg): | CODE |
| LOW | tools/testing/selftests/drivers/net/xdp.py | 516 | def test_xdp_native_adjst_tail_shrnk_data(cfg): | CODE |
| LOW | tools/testing/selftests/drivers/net/xdp.py | 560 | def _test_xdp_native_head_adjst(cfg, prog, pkt_sz_lst, offset_lst): | CODE |
| LOW | tools/testing/selftests/drivers/net/xdp.py | 633 | def test_xdp_native_adjst_head_grow_data(cfg): | CODE |
| LOW | tools/testing/selftests/drivers/net/xdp.py | 654 | def test_xdp_native_adjst_head_shrnk_data(cfg): | CODE |
| LOW | tools/testing/selftests/drivers/net/xdp.py | 675 | def _test_xdp_native_ifc_stats(cfg, act): | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/xdp.py | 733 | def test_xdp_native_qstats_pass(cfg): | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/xdp.py | 741 | def test_xdp_native_qstats_drop(cfg): | CODE |
| LOW⚡ | tools/testing/selftests/drivers/net/xdp.py | 749 | def test_xdp_native_qstats_tx(cfg): | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/nic_timestamp.py | 13 | def __get_hwtimestamp_support(cfg): | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 190 | def test_rss_queue_reconfigure(cfg, main_ctx=True): | CODE |
| 191 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/sphinx/maintainers_include.py | 45 | 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/load_config.py | 10 | CODE | |
| LOW | Documentation/sphinx/automarkup.py | 124 | CODE | |
| LOW | Documentation/sphinx/automarkup.py | 146 | CODE | |
| LOW | Documentation/sphinx/kerneldoc.py | 95 | 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 | |
| LOW | tools/power/pm-graph/sleepgraph.py | 2803 | CODE | |
| LOW | tools/power/pm-graph/sleepgraph.py | 2844 | CODE | |
| 223 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/testing/selftests/bpf/test_loader.c | 358 | * And the purpose of this function is to extract 'foo' from the above. | COMMENT |
| LOW | tools/perf/builtin-trace.c | 5509 | * 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 | 554 | * head has numerically wrapped around. To find we need to check if we have data at the | COMMENT |
| LOW | net/core/dev.c | 7813 | /* We need to check if ____napi_schedule() | COMMENT |
| LOW | net/bridge/br_multicast.c | 259 | /* when snooping we need to check if the contexts should be used | COMMENT |
| LOW | net/mptcp/ctrl.c | 429 | /* The following code block is to deal with middle box issues with MPTCP, | COMMENT |
| LOW | net/ipv4/tcp_fastopen.c | 478 | * The following code block is to deal with middle box issues with TFO: | COMMENT |
| LOW | net/ipv6/route.c | 664 | * for now, however, we need to check if it | COMMENT |
| LOW | net/ipv6/route.c | 4029 | * 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 | 1875 | * 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/rtl8723bs/hal/sdio_halinit.c | 667 | /* 2010/08/09 MH We need to check if we need to turnon or off RF after detecting */ | COMMENT |
| LOW | drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 451 | * So, here we need to check if there is any pending | COMMENT |
| LOW | drivers/staging/media/deprecated/atmel/atmel-isc-base.c | 325 | * channels. We need to check if sensor is outputting RAW BAYER | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 775 | // 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 | 796 | // 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 | 1722 | // 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 | 1744 | // Step 2: To power down DSC but skip DSC of running OPTC | 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 | 2453 | * We need to check if "other" port [i] and "third" port | COMMENT |
| LOW | drivers/net/ethernet/intel/igc/igc_mac.c | 535 | /* 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 | 17 | /* 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/atm/lanai.c | 1250 | * We need to check if the "butt busy" bit is set before | COMMENT |
| LOW | drivers/scsi/isci/remote_device.c | 822 | /* we need to check if this request is still valid to continue. */ | COMMENT |
| LOW | drivers/usb/host/dwc_otg/dwc_otg_cil.h | 164 | /** This variable stores the length of the last enqueued request */ | 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 | 193 | * 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/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 | 315 | * channels. We need to check if sensor is outputting RAW BAYER | COMMENT |
| LOW⚡ | include/linux/auxiliary_bus.h | 114 | * // Step 1: | COMMENT |
| LOW⚡ | include/linux/auxiliary_bus.h | 120 | * // Step 2: | COMMENT |
| LOW⚡ | include/linux/auxiliary_bus.h | 124 | * // 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 | 588 | * 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 |
| LOW⚡ | scripts/recordmcount.pl | 564 | # Step 6: Link the global version to our list. | 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 | 376 | * 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 | 7509 | * 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 | 3858 | (don't forget to mark the last one as last, | CODE |
| LOW | drivers/net/wireless/ath/ath10k/mac.c | 9982 | * Allow software encryption for all chips. Don't forget to | COMMENT |
| LOW | drivers/platform/surface/surface_gpe.c | 50 | * 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 | 4046 | * Return: a pointer to a struct dwc2_tt. Don't forget to call | COMMENT |
| LOW | drivers/dma/sun4i-dma.c | 988 | * 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 | 89 | * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAX | COMMENT |
| LOW | include/uapi/sound/asound.h | 103 | /* Don't forget to change the following: */ | COMMENT |
| LOW | include/uapi/sound/asound.h | 155 | /* Don't forget to change the following: */ | COMMENT |
| LOW | include/uapi/sound/asound.h | 162 | /* 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/pcm.h | 108 | /* 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 | 256 | * bit. It's worth noting that the A5 stepping (662) of some | COMMENT |
| LOW | arch/arm64/kvm/nested.c | 698 | /* Make sure we don't forget to do the laundry */ | COMMENT |
| LOW | arch/arm64/kvm/hyp/nvhe/mem_protect.c | 554 | /* Don't forget to update the vmemmap tracking for the host */ | COMMENT |
| LOW | mm/memcontrol.c | 2418 | * If the allocation has to be enforced, don't forget to raise | COMMENT |
| LOW | mm/memcontrol.c | 4462 | * 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 | 1137 | * Don't forget to update Documentation/ on changes. | COMMENT |
| LOW | fs/btrfs/relocation.c | 1882 | /* Don't forget to queue this reloc root for cleanup */ | COMMENT |
| LOW | fs/btrfs/inode.c | 673 | * Don't forget to free the reserved space, as for inlined extent | COMMENT |
| LOW | fs/btrfs/fs.h | 218 | * Note: don't forget to add new options to btrfs_show_options() | COMMENT |
| LOW | fs/ubifs/tnc.c | 3094 | * Don't forget to update clean znode count after | COMMENT |
| LOW | fs/ntfs3/attrib.c | 826 | /* Don't forget to update duplicate information in parent. */ | COMMENT |
| LOW | fs/ext4/super.c | 4364 | /* don't forget to enable journal_csum when metadata_csum is enabled. */ | COMMENT |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/sphinx/automarkup.py | 128 | # Check if this document has a namespace, and if so, try | COMMENT |
| LOW | Documentation/sphinx/automarkup.py | 161 | # 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 | tools/net/ynl/pyynl/lib/ynl.py | 1119 | # Check if this is a reply to our request | 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 | …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 | 735 | # Check if iproute2 is built with libmnl (needed by extack support) | COMMENT |
| LOW | tools/testing/selftests/net/bpf_offload.py | 743 | # 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 | 260 | # Check if psample actions can be configured. | COMMENT |
| LOW | tools/testing/selftests/net/openvswitch/openvswitch.sh | 358 | # Check if drop reasons can be sent | COMMENT |
| LOW | …esting/selftests/drivers/net/netcons_fragmented_msg.sh | 108 | # Check if the message was not corrupted | COMMENT |
| LOW | tools/testing/selftests/drivers/net/netcons_sysdata.sh | 109 | # Check if cpu=XX exists in the file and matches the one used | 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 | …ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh | 259 | # Check if the file exists | COMMENT |
| LOW | …ls/testing/selftests/drivers/net/lib/sh/lib_netcons.sh | 371 | # Check if netconsole was compiled as a module, otherwise exit | 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 | 41 | # 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/rcutorture/bin/kvm.sh | 366 | # 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 | tools/testing/selftests/amd-pstate/run.sh | 321 | # Check if CPUs are managed by cpufreq or not | COMMENT |
| LOW | tools/testing/selftests/bpf/test_bpftool.py | 85 | # Check if the result has all expected keys. | COMMENT |
| LOW | tools/testing/selftests/bpf/test_bpftool.py | 87 | # Check if unexpected helpers are not included in helpers probes | COMMENT |
| LOW | tools/testing/selftests/bpf/test_bpftool.py | 110 | # Check if the result has all expected keys. | COMMENT |
| LOW | tools/testing/selftests/bpf/test_bpftool.py | 112 | # Check if unexpected helpers are not included in helpers probes | COMMENT |
| LOW | tools/testing/selftests/bpf/test_bpftool.py | 126 | # Check if expected helpers are included at least once in any | COMMENT |
| LOW | tools/testing/kunit/kunit_parser.py | 414 | # Check if line matches test result line format | COMMENT |
| LOW | tools/testing/ktest/ktest.pl | 3152 | # Check if a bisect was running | COMMENT |
| LOW | tools/perf/check-headers.sh | 165 | # Check if we have the kernel headers (tools/perf/../../include), else | COMMENT |
| LOW | tools/perf/pmu-events/jevents.py | 1343 | # Check if the model matches one in _args.model. | COMMENT |
| LOW | tools/perf/util/setup.py | 9 | # Check if CC has options, as is the case in yocto, where it uses CC="cc --sysroot..." | COMMENT |
| LOW | tools/perf/tests/shell/record.sh | 184 | # Check if the branch counter feature is supported | COMMENT |
| LOW | tools/perf/tests/shell/record.sh | 271 | # Check if the two instruction counts are equal in each record. | COMMENT |
| LOW | tools/perf/tests/shell/script.sh | 38 | # Check if python script is supported | COMMENT |
| LOW | tools/perf/tests/shell/test_arm_spe_fork.sh | 31 | # Check if perf hangs by checking the perf-record logs. | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 481 | # Check if CYC is supported | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 510 | # Check if recording with sample mode is working | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 529 | # Check if recording with kernel trace is working | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 542 | # Check if python script is supported | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 567 | # Check if virtual lbr is working | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 585 | # Check if power events are supported | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 602 | # Check if TNT disable is supported | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 622 | # Check if event_trace is supported | COMMENT |
| LOW | tools/perf/tests/shell/test_intel_pt.sh | 639 | # Check if it works with pipe | COMMENT |
| LOW | tools/perf/tests/shell/lib/waiting.sh | 64 | # Check if PID $1 is still running after $2 tenths of a second | COMMENT |
| LOW | tools/perf/tests/shell/lib/coresight.sh | 115 | # Iterate over the list of TIDs that the test says it has and find | COMMENT |
| LOW | tools/gpio/gpio-sloppy-logic-analyzer.sh | 132 | # Check if we could parse something and the channel number fits | COMMENT |
| LOW | drivers/gpu/drm/ci/igt_runner.sh | 89 | # Check if /proc/lockdep_stats exists | COMMENT |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/conf.py | 291 | except Exception: | CODE |
| LOW | Documentation/sphinx/parser_yaml.py | 94 | except Exception as e: | CODE |
| LOW | Documentation/sphinx/kerneldoc.py | 278 | 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/sample/timerlat_load.py | 35 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/tracing/rtla/sample/timerlat_load.py | 36 | print(f"Error setting affinity: {e}") | CODE |
| LOW⚡ | tools/tracing/rtla/sample/timerlat_load.py | 43 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/tracing/rtla/sample/timerlat_load.py | 44 | print(f"Error setting priority: {e}") | CODE |
| MEDIUM⚡ | tools/tracing/rtla/sample/timerlat_load.py | 54 | print("Error opening timerlat fd, did you run timerlat -U?") | CODE |
| LOW⚡ | tools/tracing/rtla/sample/timerlat_load.py | 59 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/tracing/rtla/sample/timerlat_load.py | 60 | print(f"Error opening data fd: {e}") | CODE |
| LOW | tools/tracing/rtla/sample/timerlat_load.py | 73 | except Exception as e: | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_rst.py | 74 | except Exception as exception: | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2150 | except Exception: | CODE |
| MEDIUM | tools/net/ynl/pyynl/lib/ynl.py | 827 | print(f"Error decoding '{attr_spec.name}' from '{space}'") | 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 |
| LOW | tools/testing/selftests/drivers/net/netpoll_basic.py | 186 | except Exception as exception: | 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 | 774 | except Exception as exc: | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/tso.py | 130 | except Exception as e: | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/tso.py | 195 | except Exception as e: | 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 | 116 | except Exception as exc: | CODE |
| LOW | …testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py | 121 | 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 | 487 | 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 | …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 | 368 | except Exception as e: | CODE |
| MEDIUM | tools/testing/kunit/kunit_kernel.py | 365 | def _wait_proc() -> None: | CODE |
| LOW | tools/verification/rvgen/__main__.py | 56 | except Exception as e: | CODE |
| MEDIUM | tools/verification/rvgen/__main__.py | 57 | print('Error: '+ str(e)) | CODE |
| LOW | tools/verification/rvgen/rvgen/generator.py | 68 | except Exception: | CODE |
| MEDIUM | tools/verification/rvgen/rvgen/generator.py | 53 | def _read_file(self, path): | CODE |
| LOW | tools/mm/show_page_info.py | 49 | except Exception as e: | STRING |
| LOW | tools/mm/show_page_info.py | 74 | except Exception as e: | CODE |
| MEDIUM | tools/mm/show_page_info.py | 84 | print(f"Error reading page data: {e}") | CODE |
| MEDIUM | tools/mm/show_page_info.py | 113 | print(f"Error retrieving VMA information: {e}") | CODE |
| MEDIUM | tools/mm/show_page_info.py | 138 | print(f"Error accessing page state: {e}") | CODE |
| LOW | tools/mm/show_page_info.py | 139 | except Exception as e: | CODE |
| LOW | tools/mm/show_page_info.py | 165 | except Exception as e: | CODE |
| LOW | tools/perf/pmu-events/jevents.py | 486 | except Exception as e: | CODE |
| LOW | tools/perf/pmu-events/jevents.py | 1351 | except Exception as e: | CODE |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 40 | listen_cmd = f"socat -{ipver} -t 2 -u TCP-LISTEN:{port},reuseport /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 | 925 | if (!pe.name && name) { | CODE |
| HIGH | tools/perf/pmu-events/jevents.py | 1045 | if (!pm.metric_name && metric) { | CODE |
| HIGH | tools/perf/pmu-events/jevents.py | 1119 | if (has_last_result && last_result.cpu.cpu == cpu.cpu) | CODE |
| HIGH | tools/perf/tests/shell/lib/perf_metric_validation.py | 372 | 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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Documentation/sphinx/kerneldoc.py | 137 | # 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/forwarding/lib.sh | 28 | : "${PING6:=ping6}" # Some distros just use ping. | CODE |
| MEDIUM | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 702 | # utilize context from ntuple filter | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 742 | # 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/arch/sparc/include/asm/barrier_64.h | 8 | * #51. Essentially, if a memory barrier occurs soon after a mispredicted | COMMENT |
| MEDIUM | tools/perf/scripts/python/task-analyzer.py | 1 | # task-analyzer.py - comprehensive perf tasks analysis | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c | 192 | // 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 | 1986 | // Check seamless boot support | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 224 | // 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 | 706 | // seamless boot is enabled or not to suppress global sync | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 1654 | // seamless boot is enabled or not to suppress global sync | 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 | 2059 | // check for seamless boot | 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 | 637 | // 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 | 49 | /// This trait is only implemented via the `#[pin_data]` proc-macro. It is used to facilitate | 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/kernel-doc.pl | 172 | # Essentially these are globals. | 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/bpf/uptr_test_common.h | 14 | struct user_data *dummy_data; | CODE |
| LOW | …esting/selftests/bpf/prog_tests/test_task_local_data.c | 162 | snprintf(dummy_key_name, TLD_NAME_LEN, "dummy_value%d", i); | CODE |
| LOW | net/sched/cls_flower.c | 110 | struct fl_flow_key dummy_key; | CODE |
| LOW | net/sched/cls_flower.c | 2782 | cls_flower.rule->match.key = &tmplt->dummy_key; | CODE |
| LOW | net/sched/cls_flower.c | 2832 | err = fl_set_key(net, tca_opts, tb, &tmplt->dummy_key, | CODE |
| LOW | net/sched/cls_flower.c | 2877 | cls_flower.rule->match.key = &tmplt->dummy_key; | CODE |
| LOW | net/sched/cls_flower.c | 3798 | key = &tmplt->dummy_key; | CODE |
| LOW | drivers/pci/slot.c | 224 | * the 'placeholder' slot will not be displayed. | COMMENT |
| LOW | drivers/net/macsec.c | 4314 | char dummy_key[DEFAULT_SAK_LEN] = { 0 }; | CODE |
| LOW | drivers/net/macsec.c | 4317 | dummy_tfm = macsec_alloc_tfm(dummy_key, | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 83 | void *dummy_data; | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 85 | dummy_data = kmalloc(NSIM_DEV_DUMMY_REGION_SIZE, GFP_KERNEL); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 86 | if (!dummy_data) | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 89 | get_random_bytes(dummy_data, NSIM_DEV_DUMMY_REGION_SIZE); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 91 | *data = dummy_data; | COMMENT |
| LOW⚡ | drivers/net/netdevsim/dev.c | 102 | u8 *dummy_data; | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 108 | err = nsim_dev_take_snapshot(devlink, NULL, NULL, &dummy_data); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 115 | kfree(dummy_data); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 119 | dummy_data, id); | CODE |
| LOW⚡ | drivers/net/netdevsim/dev.c | 123 | kfree(dummy_data); | CODE |
| LOW | drivers/i2c/i2c-core-base.c | 1109 | static const struct i2c_device_id dummy_id[] = { | CODE |
| LOW | drivers/i2c/i2c-core-base.c | 1123 | .id_table = dummy_id, | CODE |
| LOW⚡ | drivers/spi/spi-stm32-qspi.c | 574 | 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 | 577 | transfer->len, transfer->dummy_data); | CODE |
| LOW⚡ | drivers/spi/spi-stm32-qspi.c | 584 | if (transfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-mem.c | 484 | xfers[xferpos].dummy_data = 1; | CODE |
| LOW⚡ | drivers/spi/spi-stm32-ospi.c | 660 | 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 | 663 | transfer->len, transfer->dummy_data); | CODE |
| LOW⚡ | drivers/spi/spi-stm32-ospi.c | 670 | if (transfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-tegra210-quad.c | 1120 | if (xfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-tegra210-quad.c | 1263 | if (next_xfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-tegra210-quad.c | 1360 | 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 | 160 | xfers[index].dummy_data = 1; | CODE |
| LOW | include/linux/spi/spi.h | 962 | * @dummy_data: indicates transfer is dummy bytes transfer. | COMMENT |
| LOW | include/linux/spi/spi.h | 1088 | unsigned dummy_data:1; | CODE |
| 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 | 380 | if (emulate_umip_insn(&insn, umip_inst, dummy_data, &dummy_data_size, | CODE |
| LOW | arch/x86/kernel/umip.c | 402 | memcpy(reg_addr, dummy_data, dummy_data_size); | CODE |
| LOW | arch/x86/kernel/umip.c | 408 | nr_copied = copy_to_user(uaddr, dummy_data, dummy_data_size); | CODE |
| LOW | mm/hugetlb.c | 878 | * may be a "placeholder" entry in the map which is of the form | COMMENT |
| LOW | fs/ecryptfs/crypto.c | 1526 | char dummy_key[ECRYPTFS_MAX_KEY_BYTES]; | CODE |
| LOW | fs/ecryptfs/crypto.c | 1551 | get_random_bytes(dummy_key, *key_size); | CODE |
| LOW | fs/ecryptfs/crypto.c | 1552 | rc = crypto_skcipher_setkey(*key_tfm, dummy_key, *key_size); | CODE |
| LOW | fs/jffs2/nodelist.c | 44 | /* It may have been a 'placeholder' deletion dirent, | 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/net/sunrpc/xdrgen/subcmds/definitions.py | 0 | simple parse error reporting, no recovery attempted | STRING |
| HIGH | tools/net/sunrpc/xdrgen/subcmds/source.py | 0 | simple parse error reporting, no recovery attempted | STRING |
| HIGH | tools/net/sunrpc/xdrgen/subcmds/declarations.py | 0 | simple parse error reporting, no recovery attempted | STRING |
| HIGH | tools/net/sunrpc/xdrgen/subcmds/lint.py | 0 | simple parse error reporting, no recovery attempted | STRING |
| HIGH | scripts/get_abi.py | 0 | parse abi documentation and produce results from it. | STRING |
| HIGH | scripts/lib/abi/abi_parser.py | 0 | parse abi documentation and produce results from it. | STRING |
| HIGH | scripts/lib/abi/system_symbols.py | 0 | parse abi documentation and produce results from it. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | Documentation/sphinx/kernel_feat.py | 76 | self.state.document.settings.env.app.warn(message, prefix="") | CODE |
| CRITICAL | Documentation/sphinx/kernel_include.py | 154 | self.state.document.settings.record_dependencies.add(path) | CODE |
| CRITICAL | Documentation/sphinx/maintainers_include.py | 191 | 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 | 231 | 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 |
| 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 | 934 | /* 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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/sphinx/kernel_include.py | 103 | logger = logging.getLogger(__name__) | CODE |
| LOW | Documentation/sphinx/parser_yaml.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | Documentation/sphinx/kerneldoc.py | 52 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/net/sunrpc/xdrgen/xdr_parse.py | 13 | def set_xdr_annotate(set_it: bool) -> None: | CODE |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 9 | __all__ = ["SpecAttr", "SpecAttrSet", "SpecEnumEntry", "SpecEnumSet", | CODE |
| LOW | tools/testing/selftests/net/lib/py/__init__.py | 19 | __all__ = ["KSRC", | CODE |
| LOW | tools/testing/selftests/drivers/net/shaper.py | 33 | def set_qshapers(cfg, nl_shaper) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/shaper.py | 105 | def set_nshapers(cfg, nl_shaper) -> None: | CODE |
| 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/hds.py | 243 | 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/ilist.py | 246 | def set_searched_tree_node(self, previous: bool) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 276 | def set_initial_focus(event: str | None) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 334 | def update_counts(self) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 376 | def set_selected(self, value: TreeValue) -> None: | CODE |
| 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 | 329 | # Usage: | COMMENT |
| LOW | tools/testing/selftests/rcutorture/bin/torture.sh | 366 | # Usage: | COMMENT |
| LOW | tools/testing/selftests/bpf/test_kmod.sh | 4 | # Usage: | COMMENT |
| LOW | tools/perf/scripts/python/gecko.py | 7 | # Usage: | COMMENT |
| LOW | tools/perf/scripts/python/flamegraph.py | 4 | # Usage: | COMMENT |
| LOW | tools/perf/scripts/python/task-analyzer.py | 6 | # 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/testing/selftests/net/ioam6.sh | 111 | # WARNING: Be careful if you modify the block below - it MUST be kept # | COMMENT |
| LOW | drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 775 | // 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 | 796 | // 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 | 1722 | // 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 | 1744 | // Step 2: To power down DSC but skip DSC of running OPTC | 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 |
|---|---|---|---|---|
| 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 | 190 | CODE | |
| LOW | tools/cgroup/iocost_monitor.py | 203 | CODE | |
| LOW | tools/testing/selftests/net/bpf_offload.py | 486 | CODE | |
| LOW | tools/testing/selftests/net/bpf_offload.py | 502 | 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 | 245 | CODE | |
| LOW | tools/testing/selftests/damon/_damon_sysfs.py | 406 | CODE | |
| LOW | tools/writeback/wb_monitor.py | 78 | CODE | |
| LOW | tools/perf/pmu-events/metric.py | 320 | CODE | |
| LOW | tools/perf/tests/shell/lib/perf_metric_validation.py | 598 | CODE | |
| LOW | tools/perf/tests/shell/lib/perf_metric_validation.py | 38 | CODE | |
| LOW | scripts/checktransupdate.py | 113 | CODE | |
| LOW | scripts/test_doc_build.py | 249 | CODE | |
| LOW | scripts/gdb/linux/slab.py | 97 | CODE | |
| LOW | scripts/lib/kdoc/kdoc_files.py | 240 | 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 | 166 | 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 | 891 | // TODO: implement movable CM location | COMMENT |
| LOW | drivers/net/wireless/broadcom/b43/phy_g.c | 3007 | //TODO: implement rev1 workaround | COMMENT |