On Tue, 06 May 2025 19:22:32 +0530, Athira Rajeev wrote:
> htmdump_init calls is_kvm_guest() to check for guest environment.
> is_kvm_guest() is defined in kvm_guest.h header file. Without including
> the header file, build hits error failing to find the function.
> 
>   arch/powerpc/platforms/pseries/htmdump.c: In function 'htmdump_init':
>   arch/powerpc/platforms/pseries/htmdump.c:469:6: error: implicit declaration 
> of function 'is_kvm_guest';
>   did you mean '__key_get'? [-Werror=implicit-function-declaration]
>   if (is_kvm_guest()) {
>       ^~~~~~~~~~~~
>       __key_get
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/pseries/htmdump: Include header file to get is_kvm_guest() 
definition
      https://git.kernel.org/powerpc/c/2c54e431574f829ec0895d5104575b3f209eae28

Thanks

Reply via email to