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

Stephen Hemminger
2018-12-17T20:35:36Z

On Mon, 17 Dec 2018 18:44:12 +0000
Dexuan Cui <decui@microsoft.com> wrote:

> > From: devel <driverdev-devel-bounces@linuxdriverproject.org> On Behalf Of
> > Dexuan Cui
> > Sent: Monday, December 17, 2018 10:31 AM
> > > From: Stephen Hemminger <stephen@networkplumber.org>
> > >
> > > 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

Sure.