On 4/25/22 13:23, He Zhe wrote:
> Hi Bruce,
>
> The base context of 2388f826cdc9af2651991adc0feb79de9bdf2232 is removed and 
> it causes build failure for all branches.

if we use linux-yocto 5.15.35 or later.

Zhe

> https://git.yoctoproject.org/linux-yocto/commit/?h=v5.15/standard/base&id=4e7122625996261d870160dfd2096108742f1009
>
> TOPDIR/tmp-glibc/work-shared/qemux86-64/kernel-source/drivers/video/fbdev/core/fbmem.c:
>  In function 'do_remove_conflicting_framebuffers':
> TOPDIR/tmp-glibc/work-shared/qemux86-64/kernel-source/drivers/video/fbdev/core/fbmem.c:1581:30:
>  error: 'device' undeclared (first use in this function)
>  1581 |                         if (!device) {
>       |                              ^~~~~~
> TOPDIR/tmp-glibc/work-shared/qemux86-64/kernel-source/drivers/video/fbdev/core/fbmem.c:1581:30:
>  note: each undeclared identifier is reported only once for each function it 
> appears in
> TOPDIR/tmp-glibc/work-shared/qemux86-64/kernel-source/drivers/video/fbdev/core/fbmem.c:1588:36:
>  error: implicit declaration of function 'dev_is_platform' 
> [-Werror=implicit-function-declaration]
>  1588 |                         } else if (dev_is_platform(device)) {
>       |                                    ^~~~~~~~~~~~~~~
> TOPDIR/tmp-glibc/work-shared/qemux86-64/kernel-source/drivers/video/fbdev/core/fbmem.c:1589:49:
>  error: 'struct fb_info' has no member named 'forced_out'
>  1589 |                                 registered_fb[i]->forced_out = true;
>       |                                                 ^~
>   CC      crypto/ccm.o
>   CC      block/ioprio.o
>   CC      kernel/utsname.o
> TOPDIR/tmp-glibc/work-shared/qemux86-64/kernel-source/drivers/video/fbdev/core/fbmem.c:1590:33:
>  error: implicit declaration of function 'platform_device_unregister'; did 
> you mean 'root_device_unregister'? [-Werror=implicit-function-declaration]
>  1590 |                                 
> platform_device_unregister(to_platform_device(device));
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                 root_device_unregister
> TOPDIR/tmp-glibc/work-shared/qemux86-64/kernel-source/drivers/video/fbdev/core/fbmem.c:1590:60:
>  error: implicit declaration of function 'to_platform_device' 
> [-Werror=implicit-function-declaration]
>  1590 |                                 
> platform_device_unregister(to_platform_device(device));
>       |                                                            
> ^~~~~~~~~~~~~~~~~~
>
>
> Regards,
> Zhe
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11241): 
https://lists.yoctoproject.org/g/linux-yocto/message/11241
Mute This Topic: https://lists.yoctoproject.org/mt/90679109/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to