[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171345110558.3373948.13663666523678695041.b4-ty@mit.edu>
Date: Thu, 18 Apr 2024 10:39:18 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: linux-ext4@...r.kernel.org, Sam James <sam@...too.org>
Cc: "Theodore Ts'o" <tytso@....edu>
Subject: Re: [PATCH e2fsprogs] ext2fs: Fix -Walloc-size
On Tue, 07 Nov 2023 23:31:20 +0000, Sam James wrote:
> GCC 14 introduces a new -Walloc-size included in -Wextra which gives:
> ```
> lib/ext2fs/hashmap.c:37:36: warning: allocation of insufficient size ‘1’ for type ‘struct ext2fs_hashmap’ with size ‘20’ [-Walloc-size]
> ```
>
> The calloc prototype is:
> ```
> void *calloc(size_t nmemb, size_t size);
> ```
>
> [...]
Applied, thanks!
[1/1] ext2fs: Fix -Walloc-size
commit: aa11daba2081da28ec70c557eefd5039a99555a3
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists