On Thu, 17 Oct 2019 08:48:53 -0700, Stephen Boyd wrote:
> Quoting Stephen Kitt (2019-09-27 11:05:59)
> > The buffer allocated in ti_adpll_clk_get_name doesn't account for the
> > terminating null. This patch switches to ka_sprintf to avoid
> > overflowing.
> >
> > Signed-off-by: Stephen Kitt
> >
Quoting Stephen Kitt (2019-09-27 11:05:59)
> The buffer allocated in ti_adpll_clk_get_name doesn't account for the
> terminating null. This patch switches to ka_sprintf to avoid
> overflowing.
>
> Signed-off-by: Stephen Kitt
> ---
> drivers/clk/ti/adpll.c | 10 ++
> 1 file changed, 2 ins
Le 27/09/2019 20:05, Stephen Kitt a écrit :
The buffer allocated in ti_adpll_clk_get_name doesn't account for the
terminating null. This patch switches to ka_sprintf to avoid
Aargh, devm_kasprintf of course...
overflowing.
Signed-off-by: Stephen Kitt
---
drivers/clk/ti/adpll.c | 10 ++-
The buffer allocated in ti_adpll_clk_get_name doesn't account for the
terminating null. This patch switches to ka_sprintf to avoid
overflowing.
Signed-off-by: Stephen Kitt
---
drivers/clk/ti/adpll.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/clk/ti/adp
4 matches
Mail list logo