Files
mirror_zfs/include/os/freebsd/spl/sys
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
..
2022-09-20 15:32:44 -07:00
2022-01-26 11:38:52 -08:00
2022-01-26 11:38:52 -08:00
2020-04-14 11:36:28 -07:00
2022-11-07 15:55:33 -08:00
2020-07-29 16:35:33 -07:00
2020-04-14 11:36:28 -07:00
2022-11-07 15:55:37 -08:00
2022-10-29 13:05:11 -07:00
2020-04-14 11:36:28 -07:00
2022-05-13 10:15:31 -07:00
2020-04-14 11:36:28 -07:00
2022-01-26 11:38:52 -08:00
2022-03-18 06:47:57 -06:00
2023-03-02 13:51:56 -08:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2022-05-13 10:15:31 -07:00
2022-11-07 15:55:37 -08:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2022-10-19 11:17:09 -07:00
2021-02-20 20:16:50 -08:00
2022-09-02 13:20:10 -07:00
2020-04-14 11:36:28 -07:00
2022-09-20 14:50:16 -07:00
2022-11-07 15:55:20 -08:00
2021-05-27 14:27:29 -06:00
2020-08-31 19:43:08 -07:00