aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorBill Wendling <morbo@google.com>2026-09-22 11:06:01 +0000
committerBrian Masney <bmasney@redhat.com>2026-09-24 15:24:57 -0400
commita1f2029b89ccd7bef54e187384417db4d72d0a11 (patch)
treee2c1fbc5dea1b468e2b51b5d7ac2ce8d6b7448a3 /scripts/Makefile.thinlto
parentrust: clk: document overflow panics in `Hertz` constructors (diff)
clk: tegra: annotate struct tegra210_clk_emc_provider with __counted_by_ptr
Annotate the "configs" pointer field of "struct tegra210_clk_emc_provider" with the "__counted_by_ptr" attribute, allowing the compiler to perform runtime bounds checking on accesses to "configs" based on the value of "num_configs". The "emc->provider.configs = devm_kcalloc(...)" call uses "emc->num_timings" for the number of elements, which is then assigned to "emc->provider.num_configs" before any accesses to "configs". The "num_configs" field isn't modified after assignment. Cc: codemender-patching+linux@google.com Assisted-by: LLM Signed-off-by: Bill Wendling <morbo@google.com> Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Reviewed-by: Kees Cook <kees@kernel.org> Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions