2019-06-13 15:50:10

by Maxime Jourdan

[permalink] [raw]
Subject: Re: linux-next: Tree for Jun 12 (staging/media/meson/)

Hi Randy,
On Wed, Jun 12, 2019 at 11:50 PM Randy Dunlap <[email protected]> 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
>