Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 024949ec authored by Patrick Palka's avatar Patrick Palka Committed by Theodore Ts'o
Browse files

ext4: address a benign compiler warning



When !defined(CONFIG_EXT4_DEBUG), mb_debug() should be defined as a
no_printk() statement instead of an empty statement in order to suppress
the following compiler warning:

fs/ext4/mballoc.c: In function ‘ext4_mb_cleanup_pa’:
fs/ext4/mballoc.c:2659:47: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
   mb_debug(1, "mballoc: %u PAs left\n", count);

Signed-off-by: default avatarPatrick Palka <patrick@parcs.ath.cx>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 7747e6d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment