mirror_zfs/include/os/linux
Attila Fülöp 5f3611121d
spl: cmn_err_once() should be usable in brace-less if else statements
Commit 11913870 (#14567) added cmn_err_once() by #define'ing a
compound statement but failed to consider usage in a single
statement brace-less if else.

Fix the problem by using the common "do {} while (0)" construct.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #14629
2023-03-15 11:13:25 -07:00
..
kernel/linux Refactor CONFIG_SPE check on Linux/powerpc 2023-03-15 10:30:42 -07:00
spl spl: cmn_err_once() should be usable in brace-less if else statements 2023-03-15 11:13:25 -07:00
zfs/sys Implementation of block cloning for ZFS 2023-03-10 11:59:53 -08:00
Makefile.am Add SHA2 SIMD feature tests for Linux 2023-03-02 13:52:04 -08:00