[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YoW0HG+Nbg681yWL@sol.localdomain>
Date: Wed, 18 May 2022 20:06:04 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: Zhang Jianhua <chris.zjh@...wei.com>
Cc: tytso@....edu, linux-fscrypt@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next v2] fs-verity: Use struct_size() helper in
enable_verity()
On Thu, May 19, 2022 at 10:24:50AM +0800, Zhang Jianhua wrote:
> Also, address the following sparse warning:
> fs/verity/enable.c:205:28: warning: using sizeof on a flexible structure
How can I reproduce this warning? I am using the latest version of sparse, and
I don't see any of these warnings you're reporting.
$ sparse --version
v0.6.4
$ make C=2 fs/verity/
CHECK scripts/mod/empty.c
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHECK fs/verity/enable.c
CHECK fs/verity/hash_algs.c
CHECK fs/verity/init.c
CHECK fs/verity/measure.c
CHECK fs/verity/open.c
CHECK fs/verity/read_metadata.c
CHECK fs/verity/verify.c
CHECK fs/verity/signature.c
- Eric
Powered by blists - more mailing lists