[PATCH 07/14] KVM: selftests: Use proper function prototypes in probing code

Philippe Mathieu-Daudé philmd at linaro.org
Tue Dec 13 01:48:00 PST 2022


On 13/12/22 01:16, Sean Christopherson wrote:
> Make the main() functions in the probing code proper prototypes so that
> compiling the probing code with more strict flags won't generate false
> negatives.
> 
>    <stdin>:1:5: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
> 
> Signed-off-by: Sean Christopherson <seanjc at google.com>
> ---
>   tools/testing/selftests/kvm/Makefile | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd at linaro.org>





More information about the linux-arm-kernel mailing list