Re: [PATCH v2 1/2] OPP: add index check to assert to avoid buffer overflow in _read_freq()
From: Viresh Kumar
Date: Mon Dec 02 2024 - 01:33:24 EST
On 29-11-24, 16:06, Neil Armstrong wrote:
> diff --git a/drivers/opp/core.c b/drivers/opp/core.c
> +static bool assert_single_clk(struct opp_table *opp_table, int __always_unused index)
Shouldn't the index be unsigned int here ?
--
viresh