lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20230430225456.19790-1-palmer@rivosinc.com> Date: Sun, 30 Apr 2023 15:54:55 -0700 From: Palmer Dabbelt <palmer@...osinc.com> To: tytso@....edu, adilger.kernel@...ger.ca, linux-ext4@...r.kernel.org Cc: Palmer Dabbelt <palmer@...osinc.com> Subject: [PATCH 1/2] ext4: Elide an unused variable warning in ext4_put_super() i is only used under CONFIG_QUOTA, so mark it as __maybe_unused to avoid a warning. Signed-off-by: Palmer Dabbelt <palmer@...osinc.com> --- fs/ext4/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index d03bf0ecf505..09f3e1d714d6 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -1259,7 +1259,7 @@ static void ext4_put_super(struct super_block *sb) struct ext4_sb_info *sbi = EXT4_SB(sb); struct ext4_super_block *es = sbi->s_es; int aborted = 0; - int i, err; + int __maybe_unused i, err; /* * Unregister sysfs before destroying jbd2 journal. -- 2.40.0
Powered by blists - more mailing lists