RE: [PATCH v6 10/10] Drivers: hv: Introduce mshv_root module to expose /dev/mshv to VMMs
From: Michael Kelley
Date: Tue Mar 18 2025 - 16:24:39 EST
From: Wei Liu <wei.liu@xxxxxxxxxx> Sent: Tuesday, March 18, 2025 1:00 PM
>
> On Tue, Mar 18, 2025 at 07:54:49PM +0000, Michael Kelley wrote:
> > From: Nuno Das Neves <nunodasneves@xxxxxxxxxxxxxxxxxxx> Sent: Friday, March 14,
> 2025 12:29 PM
> > >
> > > Provide a set of IOCTLs for creating and managing child partitions when
> > > running as root partition on Hyper-V. The new driver is enabled via
> > > CONFIG_MSHV_ROOT.
> > >
> >
> > [snip]
> >
> > > +
> > > +int
> > > +hv_call_clear_virtual_interrupt(u64 partition_id)
> > > +{
> > > + unsigned long flags;
> >
> > This local variable is now unused and will generate a compile warning.
>
> FWIW I noticed the same thing too and fixed them all while I committed
> the patch.
>
Ah, good. That just leaves the uninitialized "ret" in hv_call_map_stat_page().
Michael