Coleman Kane c0cf6ed679
Fix compiler warnings about zero-length arrays in inline bitops
The compiler appears to be expanding the unused NULL pointer into a
zero-length array via the inline bitops code. When -Werror=array-bounds
is used, this causes a build failure. Recommended solution is allocate
temporary structures, fill with zeros (to avoid uninitialized data use
warnings), and pass the pointer to those to the inline calls.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #13463 
Closes #13465
2022-05-17 13:07:39 -07:00
..
2021-01-26 16:12:26 -08:00
2021-10-29 15:36:01 -07:00
2021-09-09 09:38:35 -07:00
2021-05-27 22:39:53 -07:00
2021-04-02 18:52:15 -07:00
2022-02-18 09:34:25 -08:00
2022-04-01 17:58:07 -07:00
2021-05-27 14:27:29 -06:00
2020-06-09 21:24:09 -07:00
2021-04-01 08:37:41 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2022-03-14 12:37:39 -07:00
2021-01-02 16:55:55 -08:00
2019-08-30 09:40:30 -07:00
2022-03-28 10:24:22 -07:00
2021-01-02 16:55:55 -08:00
2022-03-28 10:24:22 -07:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00