Skip to content

Commit 59f82bf

Browse files
schlacfrankjaa
authored andcommitted
KVM: s390: selftests: Fix whitespace confusion in ucontrol test
Checkpatch thinks that we're doing a multiplication but we're obviously not. Fix 4 instances where we adhered to wrong checkpatch advice. Signed-off-by: Christoph Schlameuss <schlameuss@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Link: https://lore.kernel.org/r/20241107141024.238916-5-schlameuss@linux.ibm.com [frankja@linux.ibm.com: Fixed patch prefix] Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Message-ID: <20241107141024.238916-5-schlameuss@linux.ibm.com>
1 parent 89be254 commit 59f82bf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tools/testing/selftests/kvm/s390x/ucontrol_test.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ static bool uc_handle_insn_ic(FIXTURE_DATA(uc_kvm) *self)
370370
* * fail on codes not expected in the test cases
371371
* Returns if interception is handled / execution can be continued
372372
*/
373-
static bool uc_handle_sieic(FIXTURE_DATA(uc_kvm) * self)
373+
static bool uc_handle_sieic(FIXTURE_DATA(uc_kvm) *self)
374374
{
375375
struct kvm_s390_sie_block *sie_block = self->sie_block;
376376
struct kvm_run *run = self->run;
@@ -398,7 +398,7 @@ static bool uc_handle_sieic(FIXTURE_DATA(uc_kvm) * self)
398398
}
399399

400400
/* verify VM state on exit */
401-
static bool uc_handle_exit(FIXTURE_DATA(uc_kvm) * self)
401+
static bool uc_handle_exit(FIXTURE_DATA(uc_kvm) *self)
402402
{
403403
struct kvm_run *run = self->run;
404404

@@ -418,7 +418,7 @@ static bool uc_handle_exit(FIXTURE_DATA(uc_kvm) * self)
418418
}
419419

420420
/* run the VM until interrupted */
421-
static int uc_run_once(FIXTURE_DATA(uc_kvm) * self)
421+
static int uc_run_once(FIXTURE_DATA(uc_kvm) *self)
422422
{
423423
int rc;
424424

@@ -429,7 +429,7 @@ static int uc_run_once(FIXTURE_DATA(uc_kvm) * self)
429429
return rc;
430430
}
431431

432-
static void uc_assert_diag44(FIXTURE_DATA(uc_kvm) * self)
432+
static void uc_assert_diag44(FIXTURE_DATA(uc_kvm) *self)
433433
{
434434
struct kvm_s390_sie_block *sie_block = self->sie_block;
435435

0 commit comments

Comments
 (0)