> Subject: Re: [PATCH] net/mana: avoid the use of variable length array
>
> On Tue, Mar 04, 2025 at 04:37:32PM -0800, lon...@linuxonhyperv.com wrote:
> > From: Long Li
> >
> > The pathname can be defined as name[MAX_PATH]. This makes the driver
> > compilable
On Tue, Mar 04, 2025 at 04:37:32PM -0800, lon...@linuxonhyperv.com wrote:
> From: Long Li
>
> The pathname can be defined as name[MAX_PATH]. This makes the driver
> compilable using MSVC.
>
> Signed-off-by: Long Li
> ---
> drivers/net/mana/mana.c | 7 ++-
> 1 file changed, 2 insertions(+),
> From: lon...@linuxonhyperv.com [mailto:lon...@linuxonhyperv.com]
> Sent: Wednesday, 5 March 2025 01.38
>
> From: Long Li
>
> The pathname can be defined as name[MAX_PATH]. This makes the driver
> compilable using MSVC.
The name is PATH_MAX, not MAX_PATH. It's correct in the code.
>
> Signed
3 matches
Mail list logo