linuxkpi: Allow BUILD_BUG_ON in if statements without braces
authorAlex Richardson <arichardson@FreeBSD.org>
Fri, 8 Oct 2021 08:35:31 +0000 (09:35 +0100)
committerAlex Richardson <arichardson@FreeBSD.org>
Mon, 11 Oct 2021 10:51:44 +0000 (11:51 +0100)
commit6d15ccde4d9579ad2a77f93630695804a7efcbc4
tree92e76414ed086b6f25ded121f71d6bb00077efc1
parentff479cc6c9eeab2fd6f0f98310c65c0906299d82
linuxkpi: Allow BUILD_BUG_ON in if statements without braces

I got a compilation failure in virtio-gpu without this change.

Reviewed By: #linuxkpi, manu, bz, hselasky
Differential Revision: https://reviews.freebsd.org/D32366
sys/compat/linuxkpi/common/include/linux/kernel.h