Linux kernel source tree
This report presents the forensic synthetic code analysis of torvalds/linux, a C project with 239,394 GitHub stars. SynthScan v2.0 examined 34,602,828 lines of code across 73499 source files, recording 135521 pattern matches distributed across 24 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 135521 distinct pattern matches across 24 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/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 | #ifdef CONFIG_TRACE_IRQFLAGS | 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/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/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 |
| LOW | Documentation/admin-guide/kdump/gdbmacros.txt | 1 | # | COMMENT |
| LOW | Documentation/admin-guide/cifs/winucase_convert.pl | 1 | #!/usr/bin/perl -w | COMMENT |
| 133445 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 | 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⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 69 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 71 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 73 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 133 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 135 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …icetree/bindings/regulator/rohm,bd72720-regulator.yaml | 137 | # -------------------------------------------------------------- | 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 |
| 134 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 | 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/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 | 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 | 8 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 8 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 8 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 8 | CODE | |
| LOW | tools/net/ynl/pyynl/lib/__init__.py | 10 | CODE | |
| LOW | tools/workqueue/wq_dump.py | 50 | CODE | |
| LOW | tools/workqueue/wq_monitor.py | 40 | 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 | |
| LOW | tools/cgroup/iocost_monitor.py | 16 | CODE | |
| LOW | tools/docs/gen-renames.py | 15 | CODE | |
| 380 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/xdr_ast.py | 758 | def _merge_consecutive_passthru(definitions: List[Definition]) -> List[Definition]: | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 34 | def emit_version_declarations( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 59 | def emit_version_argument_decoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 73 | def emit_version_result_decoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 87 | def emit_version_argument_encoders( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/program.py | 101 | 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 | 78 | def emit_union_switch_spec_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 112 | def emit_union_case_spec_decoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 147 | def emit_union_default_spec_decoder(environment: Environment, node: _XdrUnion) -> None: | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 208 | def emit_union_switch_spec_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 239 | def emit_union_case_spec_encoder( | CODE |
| LOW | tools/net/sunrpc/xdrgen/generators/union.py | 269 | def emit_union_default_spec_encoder(environment: Environment, node: _XdrUnion) -> None: | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2333 | def parse_rsp_nested_prototype(ri, struct, suffix=';'): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2729 | def free_rsp_nested_prototype(ri): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2808 | def kernel_can_gen_family_struct(family): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2816 | def print_kernel_policy_ranges(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2845 | def print_kernel_policy_sparse_enum_validates(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2883 | def print_kernel_op_table_fwd(family, cw, terminate): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 2950 | def print_kernel_op_table_hdr(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 3059 | def print_kernel_family_struct_hdr(family, cw): | CODE |
| LOW | tools/net/ynl/pyynl/ynl_gen_c.py | 3071 | 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_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 |
| LOW | tools/unittests/test_cmatch.py | 759 | def test_functions_with_acquires_and_releases(self): | STRING |
| LOW | tools/cgroup/iocost_coef_gen.py | 106 | def restore_elevator_nomerges(): | STRING |
| LOW | tools/docs/checktransupdate.py | 75 | def get_origin_from_trans_smartly(origin_path, t_from_head): | CODE |
| LOW | tools/docs/checktransupdate.py | 107 | def get_commits_count_between(opath, commit1, commit2): | CODE |
| 297 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 | 351 | # 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 | 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/tracing/rtla/tests/engine.sh | 58 | # 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 | 749 | # Create a new dummy_10 to remove all associated routes. | COMMENT |
| MEDIUM | tools/testing/selftests/net/fib_tests.sh | 939 | # Create a pair of veth devices to send a RA message from one | COMMENT |
| MEDIUM | tools/testing/selftests/net/fib_tests.sh | 1553 | # Create a pair of veth devices to send a RA message from one | COMMENT |
| MEDIUM | tools/testing/selftests/net/fib_tests.sh | 1631 | # 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 | 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/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 | 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 | 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 | 313 | # Create the nested node and validate the hierarchy | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/psp.py | 809 | # Create a temporary netkit pair | 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 | 800 | # 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 |
| 49 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/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 | 99 | 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 | |
| 273 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 | tools/net/ynl/pyynl/lib/ynl.py | 1406 | # 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 | …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 | 460 | # Check if psample actions can be configured. | COMMENT |
| LOW | tools/testing/selftests/net/openvswitch/openvswitch.sh | 564 | # Check if drop reasons can be sent | 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 | 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 | 3181 | # Check if a bisect was running | COMMENT |
| LOW | tools/verification/rvgen/rvgen/dot2k.py | 432 | # Check if we should stop | STRING |
| 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 | 808 | # Output the result and we are done. | COMMENT |
| LOW | tools/lib/python/kdoc/kdoc_parser.py | 1455 | # 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 | 1447 | # 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 | 285 | # Check if the two instruction counts are equal in each record. | COMMENT |
| LOW | tools/perf/tests/shell/stat.sh | 289 | # Check if online | COMMENT |
| 44 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/perf/builtin-trace.c | 5596 | * This is important because we need to check if strace-like mode is | COMMENT |
| LOW | tools/perf/util/symbol-elf.c | 597 | * 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 | 7936 | /* 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 | 445 | /* The following code block is to deal with middle box issues with MPTCP, | COMMENT |
| LOW | net/ipv4/tcp_fastopen.c | 564 | * 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 | 4040 | * 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 | 1876 | * 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 | 638 | /* 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 | 452 | * So, here we need to check if there is any pending | 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 | 794 | // 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 | 815 | // 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 | 1768 | // 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 | 1790 | // 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 | 2238 | * 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 | 24 | /* 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 | 315 | * 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 |
| 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 |
| 20 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 | 43 | 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/verification/rvgen/rvgen/automata.py | 237 | Get a list of strings of the type constr1 && constr2 and returns a list of | CODE |
| HIGH | tools/perf/pmu-events/jevents.py | 990 | \t\tif (!pe.name && name) { | CODE |
| HIGH | tools/perf/pmu-events/jevents.py | 1115 | \t\tif (!pm.metric_name && metric) { | CODE |
| HIGH | tools/perf/pmu-events/jevents.py | 1192 | \tif (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 |
| HIGH | scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py | 39 | 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 | 44 | 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 | 159 | 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 | 226 | 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 | 437 | 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/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 | 8182 | * 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 | 9980 | * 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 | 4009 | * 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 | 72 | * 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 | 258 | * bit. It's worth noting that the A5 stepping (662) of some | COMMENT |
| LOW | arch/arm64/kvm/nested.c | 818 | /* Make sure we don't forget to do the laundry */ | COMMENT |
| LOW | mm/memcontrol.c | 2714 | * If the allocation has to be enforced, don't forget to raise | COMMENT |
| LOW | mm/memcontrol.c | 4872 | * 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 | 1169 | * Don't forget to update Documentation/ on changes. | COMMENT |
| LOW | fs/btrfs/relocation.c | 1937 | /* 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 | 891 | /* Don't forget to update duplicate information in parent. */ | COMMENT |
| LOW | fs/ext4/super.c | 4409 | /* don't forget to enable journal_csum when metadata_csum is enabled. */ | COMMENT |
| LOW | fs/overlayfs/params.c | 324 | * early. Don't forget to recheck when the superblock is created | COMMENT |
| 6 more matches not shown… | ||||
| 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 | 248 | 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 | 2174 | except Exception: | CODE |
| MEDIUM | tools/net/ynl/pyynl/lib/ynl.py | 1094 | 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 | 101 | except Exception as e: | 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 | 793 | except Exception as exc: | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 935 | except Exception as exc: | CODE |
| LOW | tools/testing/selftests/drivers/net/hw/tso.py | 133 | 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 | 118 | except Exception as exc: | CODE |
| LOW⚡ | …testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py | 266 | except Exception as exc: | CODE |
| LOW⚡ | …testing/selftests/drivers/net/hw/devlink_rate_tc_bw.py | 271 | 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 |
| 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 |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Documentation/sphinx/kerneldoc.py | 141 | # 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 | 721 | # utilize context from ntuple filter | COMMENT |
| MEDIUM | tools/testing/selftests/drivers/net/hw/rss_ctx.py | 761 | # 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/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/scripts/python/task-analyzer.py | 1 | # task-analyzer.py - comprehensive perf tasks analysis | 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 | 196 | // 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 | 2114 | // 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 | 228 | // 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 | 725 | // seamless boot is enabled or not to suppress global sync | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 1700 | // seamless boot is enabled or not to suppress global sync | COMMENT |
| MEDIUM | drivers/gpu/drm/amd/display/dc/core/dc.c | 1999 | // 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 | 2053 | // 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 | 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 | 79 | /// This trait is only implemented via the `#[pin_data]` proc-macro. It is used to facilitate | COMMENT |
| MEDIUM | rust/zerocopy/src/layout.rs | 351 | // 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 | 136 | // leverage `bindgen` to take care of this depending on whether a symbol is (already) exported. | COMMENT |
| MEDIUM | rust/kernel/driver.rs | 300 | // leverage `bindgen` to take care of this depending on whether a symbol is (already) exported. | 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 |
|---|---|---|---|---|
| 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 | 367 | 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 |
| CRITICAL | rust/zerocopy-derive/util.rs | 657 | 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 | 42 | aes = cryptography.hazmat.primitives.ciphers.algorithms.AES(fips_test_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 | 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 | …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 | 3513 | int64_t dummy_data = 99; | CODE |
| LOW | …esting/selftests/filesystems/epoll/epoll_wakeup_test.c | 3527 | 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 | 2778 | cls_flower.rule->match.key = &tmplt->dummy_key; | CODE |
| LOW | net/sched/cls_flower.c | 2828 | err = fl_set_key(net, tca_opts, tb, &tmplt->dummy_key, | CODE |
| LOW | net/sched/cls_flower.c | 2873 | cls_flower.rule->match.key = &tmplt->dummy_key; | CODE |
| LOW | net/sched/cls_flower.c | 3794 | key = &tmplt->dummy_key; | CODE |
| LOW | drivers/pci/slot.c | 247 | * the 'placeholder' slot will not be displayed. | COMMENT |
| LOW | drivers/net/macsec.c | 4320 | char dummy_key[DEFAULT_SAK_LEN] = { 0 }; | CODE |
| LOW | drivers/net/macsec.c | 4323 | 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 | 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 | 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 | 489 | 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 | 1199 | if (xfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-tegra210-quad.c | 1328 | if (next_xfer->dummy_data) { | CODE |
| LOW | drivers/spi/spi-tegra210-quad.c | 1433 | 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 | 994 | * @dummy_data: indicates transfer is dummy bytes transfer. | COMMENT |
| LOW | include/linux/spi/spi.h | 1120 | 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 | 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 | 866 | * 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 |
| LOW | fs/jffs2/nodelist.c | 44 | /* It may have been a 'placeholder' deletion dirent, | COMMENT |
| 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 |
| HIGH | rust/zerocopy/src/lib.rs | 6981 | // preserving the count as requested by the user is the behavior that we | COMMENT |
| 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 | 56 | 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 | 12 | __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 | 36 | def set_qshapers(cfg, nl_shaper) -> None: | CODE |
| LOW | tools/testing/selftests/drivers/net/shaper.py | 108 | 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 | 253 | def set_searched_tree_node(self, previous: bool) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 283 | def set_initial_focus(event: str | None) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 341 | def update_counts(self) -> None: | CODE |
| LOW | tools/perf/python/ilist.py | 383 | def set_selected(self, value: TreeValue) -> 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/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 | 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 | 794 | // 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 | 815 | // 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 | 1768 | // 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 | 1790 | // 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 | 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/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/docs/checktransupdate.py | 115 | CODE | |
| LOW | tools/docs/test_doc_build.py | 249 | 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/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 | 429 | 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 | 457 | 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/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 |