mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
KVM: MIPS: use true,false for bool variable
Fix the following coccicheck warning: arch/mips/kvm/mips.c:82:1-28: WARNING: Assignment of 0/1 to bool variable arch/mips/kvm/mips.c:88:1-28: WARNING: Assignment of 0/1 to bool variable Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
d203c2d3ee
commit
04146f22cb
@ -80,13 +80,13 @@ bool kvm_trace_guest_mode_change;
|
||||
|
||||
int kvm_guest_mode_change_trace_reg(void)
|
||||
{
|
||||
kvm_trace_guest_mode_change = 1;
|
||||
kvm_trace_guest_mode_change = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void kvm_guest_mode_change_trace_unreg(void)
|
||||
{
|
||||
kvm_trace_guest_mode_change = 0;
|
||||
kvm_trace_guest_mode_change = false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user