x86/paravirt: Fix some warning messages
authorDan Carpenter <[email protected]>
Wed, 19 Sep 2018 10:35:53 +0000 (13:35 +0300)
committerThomas Gleixner <[email protected]>
Wed, 19 Sep 2018 11:22:04 +0000 (13:22 +0200)
commit571d0563c8881595f4ab027aef9ed1c55e3e7b7c
tree1b05f315a65e3cb7acd147cfd3c2e6f08a6cf384
parentffb2315fd22c2568747402eecdc581a245a2f5ba
x86/paravirt: Fix some warning messages

The first argument to WARN_ONCE() is a condition.

Fixes: 5800dc5c19f3 ("x86/paravirt: Fix spectre-v2 mitigations for paravirt guests")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Alok Kataria <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/20180919103553.GD9238@mwanda
arch/x86/kernel/paravirt.c