Building with the attached random configuration file,
drivers/media/v4l2-core/videobuf2-core.c: In function ‘vb2_warn_zero_bytesused’:
drivers/media/v4l2-core/videobuf2-core.c:1253:2: error: implicit declaration of
function ‘__WARN’ [-Werror=implicit-function-declaration]
__WARN();
^
On 06/20/15 09:44, Jim Davis wrote:
> Building with the attached random configuration file,
>
> drivers/media/v4l2-core/videobuf2-core.c: In function ?vb2_warn_zero_bytesused?:
> drivers/media/v4l2-core/videobuf2-core.c:1253:2: error: implicit declaration of
> function ?__WARN? [-Werror=implicit-function-declaration]
> __WARN();
> ^
>
When CONFIG_BUG is not enabled, there is no definition of __WARN().
Should be add an empty stub for __WARN() or just change the only
user (caller) of it to do something different?
--
~Randy