[PATCH] KVM: selftests: Remove redundant setbuf()

Oliver Upton oliver.upton at linux.dev
Fri Feb 3 13:30:14 PST 2023


On Fri, Feb 03, 2023 at 06:49:45PM +0000, Oliver Upton wrote:
> On Fri, Feb 03, 2023 at 06:41:27PM +0000, Sean Christopherson wrote:
> > On Fri, Feb 03, 2023, shahuang at redhat.com wrote:
> > > From: Shaoqin Huang <shahuang at redhat.com>
> > > 
> > > Since setbuf(stdout, NULL) has been called in kvm_util.c with
> > > __attribute((constructor)). Selftests no need to setup it in their own
> > > code.
> > > 
> > > Signed-off-by: Shaoqin Huang <shahuang at redhat.com>
> > > ---
> > 
> > Reviewed-by: Sean Christopherson <seanjc at google.com>
> 
> Thanks!
> 
> > Oliver/Marc, want to grab this one?  I doubt there will be conflicts, but IIRC
> > there are a handful of in-flight changes for aarch64/page_fault_test.c.
> 
> That is indeed the plan.

Now fully caffeinated I see that this was poking at an x86 selftest too.
Thanks for reviewing it, I'll grab the patch today.

-- 
Thanks,
Oliver



More information about the linux-arm-kernel mailing list