<div dir="ltr"><div>Hi <font color="#000000" style="">Cyril,</font></div><div><font color="#000000" style=""><br></font></div>Thank you for the clarification.<div> <br></div><div>Regards,</div><div>Samir M.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 20 May 2022 at 16:26, Cyril Hrubis <<a href="mailto:chrubis@suse.cz">chrubis@suse.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
> make -C /lib/modules/5.14.21-150400.19-default/build<br>
> M=/Workspace/ltp-master/testcases/kernel/device-drivers/acpi<br>
>   CC [M]  /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.o<br>
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:<br>
> In function 'get_sysfs_path':<br>
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:132:11:<br>
> error: implicit declaration of function 'acpi_bus_get_device'; did you<br>
> mean 'acpi_get_gpe_device'? [-Werror=implicit-function-declaration]<br>
>   status = acpi_bus_get_device(handle, &device);<br>
>            ^~~~~~~~~~~~~~~~~~~<br>
>            acpi_get_gpe_device<br>
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:134:40:<br>
> error: dereferencing pointer to incomplete type 'struct acpi_device'<br>
>    sysfs_path = kobject_get_path(&device->dev.kobj, GFP_KERNEL);<br>
>                                         ^~<br>
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:<br>
> In function 'acpi_test_bus':<br>
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.c:407:11:<br>
> error: implicit declaration of function 'acpi_bus_update_power'; did<br>
> you mean 'acpi_os_trace_point'?<br>
> [-Werror=implicit-function-declaration]<br>
>   status = acpi_bus_update_power(device->handle, &state);<br>
>            ^~~~~~~~~~~~~~~~~~~~~<br>
>            acpi_os_trace_point<br>
> cc1: some warnings being treated as errors<br>
> make[7]: *** [/usr/src/linux-5.14.21-150400.19/scripts/Makefile.build:272:<br>
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi/ltp_acpi_cmds.o]<br>
> Error 1<br>
> make[6]: *** [/usr/src/linux-5.14.21-150400.19/Makefile:1882:<br>
> /Workspace/ltp-master/testcases/kernel/device-drivers/acpi] Error 2<br>
> make[5]: *** [../../../linux-5.14.21-150400.19/Makefile:220: __sub-make] Error 2<br>
> make[4]: [../../../../include/mk/<a href="http://module.mk:62" rel="noreferrer" target="_blank">module.mk:62</a>: .dep_modules] Error 2 (ignored)<br>
> rm -rf *.mod.c *.o *.ko.unsigned modules.order .tmp* .*.ko .*.cmd Module.symvers<br>
> CC testcases/kernel/device-drivers/block/block_dev_user/block_dev<br>
<br>
That's just a LTP kernel module build failure, the modules we have in<br>
LTP does not support all kernel versions and may fail to build. This is<br>
not treated as an error by the build system and when the module fails to<br>
build the test is skipped when tests are executed.<br>
<br>
-- <br>
Cyril Hrubis<br>
<a href="mailto:chrubis@suse.cz" target="_blank">chrubis@suse.cz</a><br>
</blockquote></div>