Re: linux-next: Tree for Jun 12 (staging/media/meson/)

From: Maxime Jourdan
Date: Thu Jun 13 2019 - 11:53:33 EST


Hi Randy,
On Wed, Jun 12, 2019 at 11:50 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> On 6/12/19 12:00 AM, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20190611:
> >
>
>
> on i386:
>
> ../drivers/staging/media/meson/vdec/vdec.c: In function âvdec_recycle_threadâ:
> ../drivers/staging/media/meson/vdec/vdec.c:59:2: error: implicit declaration of function âkthread_should_stopâ [-Werror=implicit-function-declaration]
> while (!kthread_should_stop()) {
> ^
> ../drivers/staging/media/meson/vdec/vdec.c: In function âvdec_start_streamingâ:
> ../drivers/staging/media/meson/vdec/vdec.c:324:3: error: implicit declaration of function âkthread_runâ [-Werror=implicit-function-declaration]
> sess->recycle_thread = kthread_run(vdec_recycle_thread, sess,
> ^
> ../drivers/staging/media/meson/vdec/vdec.c:324:24: warning: assignment makes pointer from integer without a cast [enabled by default]
> sess->recycle_thread = kthread_run(vdec_recycle_thread, sess,
> ^
> ../drivers/staging/media/meson/vdec/vdec.c: In function âvdec_stop_streamingâ:
> ../drivers/staging/media/meson/vdec/vdec.c:389:4: error: implicit declaration of function âkthread_stopâ [-Werror=implicit-function-declaration]
> kthread_stop(sess->recycle_thread);
> ^
>
> Full randconfig file is attached.
>

This is fixed with "media: meson: vdec: Add missing kthread.h" from
Yue Haibing [0]. The patch is sitting in media_tree/master.

[0] https://patchwork.kernel.org/patch/10989333/

Regards,
Maxime

>
> --
> ~Randy
>