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

From: Randy Dunlap
Date: Wed Jul 01 2015 - 14:07:23 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/