RE: [PATCH] Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels

From: Dexuan Cui
Date: Mon Dec 17 2018 - 13:44:26 EST


> From: devel <driverdev-devel-bounces@xxxxxxxxxxxxxxxxxxxxxx> On Behalf Of
> Dexuan Cui
> Sent: Monday, December 17, 2018 10:31 AM
> > From: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
> >
> > The old code was risky because it would silently return stack garbage.
> > Having an error check in get_debuginfo would eliminate that.
>
> OK, then let me make another patch based on the latest char-misc-linus.
>
> -- Dexuan

Hi Stephen, your patch can apply cleanly. Let me rebase your patch to
char-misc-linus, do a test, and then post it with your Signed-off-by and mine:
I assume you're Ok with this. Please let me know in case it's not. :-)

Thanks,
-- Dexuan