[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <xyxjlp6hb7jcwlhbm4tpmt5npx74qpuzybzakdkev6ta2nl6go@txh4ue7faenk>
Date: Fri, 28 Jun 2024 17:29:58 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: jonathanh@...dia.com, kkartik@...dia.com, rdunlap@...radead.org,
frank.li@...o.com, Jason Sikes <sikes@...go.org>
Cc: linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix warning in tegra_fuse_add_lookups
On Fri, Jun 28, 2024 at 05:18:48PM GMT, Thierry Reding wrote:
> From: Thierry Reding <treding@...dia.com>
>
>
> On Sun, 16 Jun 2024 00:36:57 -0700, Jason Sikes wrote:
> > gcc 14.1.1 warns [-Wcalloc-transposed-args] when sizeof() is
> > used in the first, but not the second, of two size_t arguments.
> >
> >
>
> Applied, thanks!
>
> [1/1] Fix warning in tegra_fuse_add_lookups
> commit: f56da7f4048ff41cb029a715935394f5958a825f
>
> Best regards,
Scratch that. Looks like gcc isn't warning correctly here.
kmemdup_array() does have "size_t element_size, size_t count", so the
existing code is correct.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists