Subject: Re: randconfig build error with next-20150620, in drivers/media/v4l2-core/videobuf2-core.c

From: Randy Dunlap <[email-masked]>
Date: Wed, 01 Jul 2015 11:07:08 -0700

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