Scroll to navigation

BUILD_BUG(9) Driver Basics BUILD_BUG(9)

NAME

BUILD_BUG - break compile if used.

SYNOPSIS

BUILD_BUG(void);

ARGUMENTS

None

DESCRIPTION

If you have some code that you expect the compiler to eliminate at build time, you should use BUILD_BUG to detect if it is unexpectedly used.

COPYRIGHT

March 2016 Kernel Hackers Manual 3.2.